Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System7.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.System7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System7") translateModel(Buildings.Examples.Tutorial.Boiler.System7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.348/1.348, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001075/0.001075, allocations: 170.6 kB / 326.5 MB, free: 2.676 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.696/1.696, allocations: 205 MB / 0.5766 GB, free: 21 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.0008574/0.0008572, allocations: 90.77 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003355, allocations: 9.594 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.1999, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System7): time 1.558/1.758, allocations: 0.5089 GB / 1.406 GB, free: 18.9 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.09825/1.856, allocations: 74.47 MB / 1.478 GB, free: 17.72 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01936/1.876, allocations: 394.3 kB / 1.479 GB, free: 17.72 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01639/1.892, allocations: 4.329 MB / 1.483 GB, free: 17.63 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.04026/1.933, allocations: 12.43 MB / 1.495 GB, free: 17.08 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.03114/1.964, allocations: 10.79 MB / 1.506 GB, free: 16.63 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.04714/2.011, allocations: 42.12 MB / 1.547 GB, free: 7.523 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01951/2.03, allocations: 10.11 MB / 1.557 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02604/2.057, allocations: 9.949 MB / 1.566 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02082/2.077, allocations: 8.826 MB / 1.575 GB, free: 5.484 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.004706/2.082, allocations: 444 kB / 1.575 GB, free: 5.051 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02146/2.104, allocations: 5.606 MB / 1.581 GB, free: 15.81 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.006691/2.11, allocations: 2.564 MB / 1.583 GB, free: 13.31 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.01813/2.129, allocations: 6.045 MB / 1.589 GB, free: 7.305 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0395/2.168, allocations: 19.14 MB / 1.608 GB, free: 4.832 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/2.168, allocations: 3.938 kB / 1.608 GB, free: 4.828 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.795e-06/2.168, allocations: 0 / 1.608 GB, free: 4.828 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008794/2.169, allocations: 0 / 1.608 GB, free: 4.828 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: 2018 * Number of variables: 2018 Notification: Performance of Generate backend data structure: time 0.03139/2.2, allocations: 11.51 MB / 1.619 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 9.906e-05/2.201, allocations: 8.031 kB / 1.619 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01419/2.215, allocations: 2.141 MB / 1.621 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02624/2.241, allocations: 10.49 MB / 1.632 GB, free: 12.86 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008011/2.242, allocations: 0.6257 MB / 1.632 GB, free: 12.24 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00276/2.245, allocations: 0.8276 MB / 1.633 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02635/2.271, allocations: 9.288 MB / 1.642 GB, free: 1.793 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004367/2.272, allocations: 23.72 kB / 1.642 GB, free: 1.77 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002209/2.274, allocations: 338.8 kB / 1.642 GB, free: 1.441 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003275/2.274, allocations: 307 kB / 1.643 GB, free: 1.141 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02054/2.295, allocations: 7.561 MB / 1.65 GB, free: 9.566 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.07791/2.373, allocations: 43.46 MB / 1.692 GB, free: 11.64 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01008/2.383, allocations: 5.317 MB / 1.698 GB, free: 6.277 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005048/2.388, allocations: 2.643 MB / 1.7 GB, free: 3.629 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.0293/2.417, allocations: 10.79 MB / 1.711 GB, free: 8.477 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006051/2.423, allocations: 2.725 MB / 1.713 GB, free: 5.719 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005137/2.428, allocations: 497.9 kB / 1.714 GB, free: 5.23 MB / 1.057 GB Notification: Performance of pre-optimization done (n=465): time 2.149e-05/2.428, allocations: 0 / 1.714 GB, free: 5.23 MB / 1.057 GB Notification: Performance of matching and sorting (n=474): time 0.04807/2.477, allocations: 15.94 MB / 1.73 GB, free: 5.059 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002932/2.477, allocations: 0.6395 MB / 1.73 GB, free: 4.277 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01848/2.495, allocations: 8.457 MB / 1.738 GB, free: 11.86 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.001404/2.497, allocations: 153.7 kB / 1.739 GB, free: 11.7 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.00603/2.503, allocations: 5.254 MB / 1.744 GB, free: 6.441 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.002457/2.505, allocations: 1.594 MB / 1.745 GB, free: 4.863 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001566/2.507, allocations: 0.574 MB / 1.746 GB, free: 4.281 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 9.849e-05/2.507, allocations: 305.1 kB / 1.746 GB, free: 3.98 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005818/2.513, allocations: 2.441 MB / 1.748 GB, free: 1.535 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007485/2.52, allocations: 4.39 MB / 1.753 GB, free: 12.33 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/2.532, allocations: 6.387 MB / 1.759 GB, free: 5.301 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.446e-05/2.532, allocations: 12 kB / 1.759 GB, free: 5.289 MB / 1.104 GB Notification: Performance of matching and sorting (n=816) (initialization): time 0.02643/2.559, allocations: 8.845 MB / 1.768 GB, free: 12.35 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.001041/2.56, allocations: 1.388 MB / 1.769 GB, free: 10.36 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.767e-05/2.56, allocations: 51.98 kB / 1.769 GB, free: 10.31 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009103/2.569, allocations: 1.871 MB / 1.771 GB, free: 8.43 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005647/2.575, allocations: 1.324 MB / 1.772 GB, free: 7.105 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009951/2.585, allocations: 7.869 MB / 1.78 GB, free: 14.77 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009767/2.595, allocations: 0.8146 MB / 1.781 GB, free: 13.96 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/2.596, allocations: 303.9 kB / 1.781 GB, free: 13.66 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/2.596, allocations: 4.625 kB / 1.781 GB, free: 13.66 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01701/2.613, allocations: 7.443 MB / 1.788 GB, free: 6.133 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000134/2.613, allocations: 51.98 kB / 1.788 GB, free: 6.082 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008204/2.621, allocations: 1.728 MB / 1.79 GB, free: 4.344 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005249/2.626, allocations: 1.26 MB / 1.791 GB, free: 3.082 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7139/3.34, allocations: 9.769 MB / 1.801 GB, free: 0.533 GB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009025/3.349, allocations: 0.7699 MB / 1.801 GB, free: 0.533 GB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009543/3.35, allocations: 289.6 kB / 1.802 GB, free: 0.533 GB / 1.136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 192 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.T3.enableFire,$PRE.T4.enableFire,$PRE.timTab.tab.nextTimeEvent,$whenCondition1,stateGraphRoot.resume,stateGraphRoot.suspend,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,greThrTROut.y,greThrTRoo.y,lessThreshold1.y,lessThreshold.y,pumpsOn.oldActive,$PRE.pumpsOn.oldActive,pumpsOn.newActive,$PRE.pumpsOn.newActive,pumpsOn.outPort[1].reset,pumpsOn.inPort[1].set,pumpsOn.localActive,$PRE.pumpsOn.localActive,pumpsOn.active,T4.t_start,$PRE.T4.t_start,T4.fire,T4.enableFire,T4.condition,T3.t_start,$PRE.T3.t_start,T3.fire,T3.enableFire,T3.condition,T2.enableFire,T2.condition,boilerOn.active,boilerOn.oldActive,$PRE.boilerOn.oldActive,boilerOn.newActive,$PRE.boilerOn.newActive,boilerOn.localActive,$PRE.boilerOn.localActive,T1.enableFire,T1.condition,allOff.active,allOff.oldActive,$PRE.allOff.oldActive,allOff.newActive,$PRE.allOff.newActive,allOff.localActive,$PRE.allOff.localActive,alternative.split[2].available,stateGraphRoot.activeSteps,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,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 (751): * Single equations (assignments): 735 * 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 {(3,8), (13,22), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.006491/3.357, allocations: 2.388 MB / 1.804 GB, free: 0.5328 GB / 1.136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00307/3.36, allocations: 0.9451 MB / 1.805 GB, free: 0.5328 GB / 1.136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01458/3.375, allocations: 6.64 MB / 1.811 GB, free: 0.5322 GB / 1.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009237/3.384, allocations: 4.964 MB / 1.816 GB, free: 0.5302 GB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/3.384, allocations: 0 / 1.816 GB, free: 0.5302 GB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004935/3.389, allocations: 1.585 MB / 1.818 GB, free: 0.5298 GB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002284/3.391, allocations: 108.8 kB / 1.818 GB, free: 0.5297 GB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007183/3.398, allocations: 0.6714 MB / 1.819 GB, free: 0.5296 GB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009174/3.399, allocations: 383.1 kB / 1.819 GB, free: 0.5296 GB / 1.136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01204/3.411, allocations: 6.272 MB / 1.825 GB, free: 0.5275 GB / 1.136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01468/3.426, allocations: 8.557 MB / 1.833 GB, free: 0.5245 GB / 1.136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003483/3.43, allocations: 2.376 MB / 1.836 GB, free: 0.5236 GB / 1.136 GB Notification: Performance of sorting global known variables: time 0.00994/3.44, allocations: 5.569 MB / 1.841 GB, free: 0.5217 GB / 1.136 GB Notification: Performance of Backend: time 1.513e-06/3.44, allocations: 0 / 1.841 GB, free: 0.5217 GB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.03075/3.47, allocations: 12.02 MB / 1.853 GB, free: 0.5177 GB / 1.136 GB Notification: Performance of SimCode: time 0.04435/3.515, allocations: 27.03 MB / 1.879 GB, free: 0.4971 GB / 1.136 GB Notification: Performance of Templates: time 0.2656/3.78, allocations: 209.2 MB / 2.084 GB, free: 300.6 MB / 1.136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System7.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System7.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System7.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System7.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System7.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System7.pipe 2>&1)