Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System6") translateModel(Buildings.Examples.Tutorial.Boiler.System6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.309/1.309, allocations: 251.5 MB / 267.4 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008726/0.0008726, allocations: 170.9 kB / 326.5 MB, free: 2.648 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205 MB / 0.5766 GB, free: 20.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008111/0.000811, allocations: 85.38 kB / 0.6804 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003161, allocations: 10.78 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1971, allocations: 105.4 MB / 0.8967 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System6): time 1.513/1.71, allocations: 0.5083 GB / 1.405 GB, free: 18.67 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.114/1.824, allocations: 74.11 MB / 1.477 GB, free: 17.5 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02145/1.846, allocations: 385.6 kB / 1.478 GB, free: 17.5 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01705/1.863, allocations: 4.288 MB / 1.482 GB, free: 17.41 MB / 0.9011 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.0483/1.911, allocations: 12.42 MB / 1.494 GB, free: 16.85 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.03494/1.946, allocations: 10.63 MB / 1.504 GB, free: 16.41 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.05052/1.997, allocations: 41.71 MB / 1.545 GB, free: 8.082 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01873/2.016, allocations: 9.862 MB / 1.555 GB, free: 2.77 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02707/2.043, allocations: 9.841 MB / 1.564 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02005/2.063, allocations: 8.705 MB / 1.573 GB, free: 7.285 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.005549/2.069, allocations: 432 kB / 1.573 GB, free: 6.863 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02323/2.092, allocations: 5.585 MB / 1.579 GB, free: 1.641 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.006488/2.098, allocations: 2.501 MB / 1.581 GB, free: 15.21 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.01645/2.115, allocations: 5.911 MB / 1.587 GB, free: 9.332 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.03716/2.152, allocations: 18.81 MB / 1.605 GB, free: 7.18 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/2.152, allocations: 3.938 kB / 1.605 GB, free: 7.176 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.715e-06/2.152, allocations: 0 / 1.605 GB, free: 7.176 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0007418/2.153, allocations: 0 / 1.605 GB, free: 7.176 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.02605/2.179, allocations: 11.23 MB / 1.616 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/2.179, allocations: 8.031 kB / 1.616 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01167/2.191, allocations: 2.107 MB / 1.618 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02428/2.215, allocations: 10.38 MB / 1.629 GB, free: 15.63 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006332/2.216, allocations: 0.588 MB / 1.629 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002413/2.218, allocations: 0.7964 MB / 1.63 GB, free: 14.25 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02178/2.24, allocations: 8.865 MB / 1.639 GB, free: 5.062 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001948/2.24, allocations: 15.88 kB / 1.639 GB, free: 5.047 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001068/2.241, allocations: 318.7 kB / 1.639 GB, free: 4.738 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002597/2.241, allocations: 302.2 kB / 1.639 GB, free: 4.441 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0177/2.259, allocations: 7.268 MB / 1.646 GB, free: 13.16 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07734/2.337, allocations: 42.08 MB / 1.687 GB, free: 0.6172 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009847/2.346, allocations: 4.934 MB / 1.692 GB, free: 11.62 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005193/2.352, allocations: 2.529 MB / 1.695 GB, free: 9.102 MB / 1.042 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.02933/2.381, allocations: 10.5 MB / 1.705 GB, free: 14.23 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006361/2.387, allocations: 2.594 MB / 1.707 GB, free: 11.6 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005341/2.393, allocations: 475.9 kB / 1.708 GB, free: 11.13 MB / 1.057 GB Notification: Performance of pre-optimization done (n=428): time 2.986e-05/2.393, allocations: 0 / 1.708 GB, free: 11.13 MB / 1.057 GB Notification: Performance of matching and sorting (n=437): time 0.04439/2.437, allocations: 15.37 MB / 1.723 GB, free: 11.51 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002954/2.438, allocations: 0.6353 MB / 1.724 GB, free: 10.73 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0185/2.456, allocations: 8.368 MB / 1.732 GB, free: 2.398 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001373/2.458, allocations: 137.7 kB / 1.732 GB, free: 2.258 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.006301/2.464, allocations: 5.191 MB / 1.737 GB, free: 13.1 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.002717/2.467, allocations: 1.504 MB / 1.738 GB, free: 11.61 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001695/2.468, allocations: 0.5054 MB / 1.739 GB, free: 11.1 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0001174/2.468, allocations: 305.1 kB / 1.739 GB, free: 10.8 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006942/2.475, allocations: 2.342 MB / 1.741 GB, free: 8.449 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007713/2.483, allocations: 4.219 MB / 1.746 GB, free: 3.449 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01247/2.496, allocations: 6.119 MB / 1.752 GB, free: 12.72 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.994e-05/2.496, allocations: 12 kB / 1.752 GB, free: 12.71 MB / 1.104 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02486/2.521, allocations: 8.344 MB / 1.76 GB, free: 4.262 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.001031/2.522, allocations: 1.308 MB / 1.761 GB, free: 2.391 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/2.522, allocations: 47.98 kB / 1.761 GB, free: 2.344 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009367/2.531, allocations: 1.876 MB / 1.763 GB, free: 472 kB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005796/2.537, allocations: 1.279 MB / 1.764 GB, free: 15.18 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01203/2.549, allocations: 7.999 MB / 1.772 GB, free: 6.711 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0107/2.56, allocations: 0.8029 MB / 1.773 GB, free: 5.91 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001402/2.561, allocations: 279.9 kB / 1.773 GB, free: 5.637 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/2.561, allocations: 11.94 kB / 1.773 GB, free: 5.625 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01965/2.581, allocations: 6.969 MB / 1.78 GB, free: 14.57 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001509/2.581, allocations: 47.98 kB / 1.78 GB, free: 14.52 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00857/2.59, allocations: 1.715 MB / 1.781 GB, free: 12.79 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005276/2.595, allocations: 1.213 MB / 1.783 GB, free: 11.58 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01576/2.611, allocations: 9.96 MB / 1.792 GB, free: 1.066 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01011/2.621, allocations: 0.7583 MB / 1.793 GB, free: 316 kB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001427/2.622, allocations: 259.9 kB / 1.793 GB, free: 56 kB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 179 * Number of states: 0 () * Number of discrete variables: 23 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,hysPum.y,$PRE.hysPum.y,and2.y,and1.y,hysTBoi.y,$PRE.hysTBoi.y,hysTOut.y,$PRE.hysTOut.y,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent,$whenCondition2,$whenCondition3,conPIDRad.I.trigger_internal,conPIDBoi.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (693): * Single equations (assignments): 677 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(5,6), (13,22), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.7409/3.363, allocations: 2.319 MB / 1.796 GB, free: 0.537 GB / 1.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004406/3.368, allocations: 0.9256 MB / 1.797 GB, free: 0.537 GB / 1.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01373/3.381, allocations: 6.369 MB / 1.803 GB, free: 0.5367 GB / 1.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0103/3.392, allocations: 4.735 MB / 1.807 GB, free: 0.5363 GB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/3.392, allocations: 0 / 1.807 GB, free: 0.5363 GB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005383/3.397, allocations: 1.552 MB / 1.809 GB, free: 0.5359 GB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00265/3.4, allocations: 100.8 kB / 1.809 GB, free: 0.5358 GB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007262/3.407, allocations: 0.6507 MB / 1.81 GB, free: 0.5357 GB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007821/3.408, allocations: 353 kB / 1.81 GB, free: 0.5357 GB / 1.136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01271/3.421, allocations: 6.002 MB / 1.816 GB, free: 0.5338 GB / 1.136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01408/3.435, allocations: 8.159 MB / 1.824 GB, free: 0.531 GB / 1.136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003117/3.438, allocations: 2.241 MB / 1.826 GB, free: 0.5301 GB / 1.136 GB Notification: Performance of sorting global known variables: time 0.008973/3.447, allocations: 5.536 MB / 1.831 GB, free: 0.5283 GB / 1.136 GB Notification: Performance of Backend: time 4.61e-07/3.447, allocations: 0 / 1.831 GB, free: 0.5283 GB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.02895/3.476, allocations: 11.76 MB / 1.843 GB, free: 0.5244 GB / 1.136 GB Notification: Performance of SimCode: time 0.04577/3.522, allocations: 26.52 MB / 1.869 GB, free: 0.5081 GB / 1.136 GB Notification: Performance of Templates: time 0.2777/3.799, allocations: 204.9 MB / 2.069 GB, free: 316.2 MB / 1.136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System6.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System6.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System6.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System6.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System6.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System6.pipe 2>&1)