Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.828/2.828, allocations: 287.3 MB / 302.3 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0016/0.0016, allocations: 175.1 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.181/2.181, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 93.09 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004707, allocations: 11.75 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2256, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 1.069/1.295, allocations: 175.5 MB / 1.15 GB, free: 9.121 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.04142/1.336, allocations: 17.68 MB / 1.167 GB, free: 13 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003937/1.34, allocations: 68.84 kB / 1.167 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005861/1.346, allocations: 1.133 MB / 1.168 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01475/1.361, allocations: 3.015 MB / 1.171 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01936/1.38, allocations: 3.254 MB / 1.174 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01918/1.4, allocations: 5.776 MB / 1.18 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006516/1.406, allocations: 2.867 MB / 1.183 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008069/1.414, allocations: 2.448 MB / 1.185 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005632/1.42, allocations: 1.933 MB / 1.187 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001442/1.421, allocations: 147.8 kB / 1.187 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007939/1.429, allocations: 1.568 MB / 1.189 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.00244/1.432, allocations: 0.8354 MB / 1.189 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.002524/1.434, allocations: 0.7748 MB / 1.19 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.01101/1.446, allocations: 5.16 MB / 1.195 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/1.446, allocations: 0 / 1.195 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.745e-06/1.446, allocations: 0 / 1.195 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002328/1.446, allocations: 4 kB / 1.195 GB, free: 10.54 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.01545/1.461, allocations: 3.834 MB / 1.199 GB, free: 7.574 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/1.461, allocations: 8.031 kB / 1.199 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01031/1.472, allocations: 0.9633 MB / 1.2 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01614/1.488, allocations: 3.492 MB / 1.203 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005774/1.489, allocations: 189 kB / 1.203 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002141/1.491, allocations: 248 kB / 1.204 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01635/1.507, allocations: 3.17 MB / 1.207 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001262/1.507, allocations: 7.906 kB / 1.207 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006851/1.508, allocations: 105.9 kB / 1.207 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001928/1.508, allocations: 100.3 kB / 1.207 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01051/1.519, allocations: 2.628 MB / 1.21 GB, free: 12.43 MB / 0.7448 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.04203/1.561, allocations: 13.49 MB / 1.223 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006393/1.567, allocations: 2.185 MB / 1.225 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0216/1.589, allocations: 4.725 MB / 1.229 GB, free: 7.043 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003555/1.593, allocations: 0.9227 MB / 1.23 GB, free: 6.105 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002206/1.595, allocations: 186.2 kB / 1.231 GB, free: 5.922 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=130): time 8.877e-06/1.595, allocations: 0 / 1.231 GB, free: 5.922 MB / 0.7605 GB Notification: Performance of matching and sorting (n=134): time 0.02473/1.62, allocations: 5.522 MB / 1.236 GB, free: 232 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003514/1.62, allocations: 153.8 kB / 1.236 GB, free: 48 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01624/1.636, allocations: 3.167 MB / 1.239 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0009531/1.637, allocations: 61.7 kB / 1.239 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.005649/1.643, allocations: 1.525 MB / 1.241 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.002065/1.645, allocations: 485.2 kB / 1.241 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008741/1.646, allocations: 40 kB / 1.241 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0005659/1.647, allocations: 389.9 kB / 1.242 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007648/1.654, allocations: 0.9799 MB / 1.243 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009947/1.664, allocations: 1.573 MB / 1.244 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/1.675, allocations: 1.224 MB / 1.245 GB, free: 6.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-05/1.675, allocations: 4 kB / 1.245 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02368/1.699, allocations: 3.385 MB / 1.249 GB, free: 2.914 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.004134/1.703, allocations: 6.587 MB / 1.255 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000113/1.703, allocations: 16 kB / 1.255 GB, free: 11.87 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01968/1.723, allocations: 1.18 MB / 1.256 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005342/1.728, allocations: 0.4914 MB / 1.257 GB, free: 10.19 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/1.742, allocations: 3.167 MB / 1.26 GB, free: 6.863 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009075/1.751, allocations: 268.1 kB / 1.26 GB, free: 6.598 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009533/1.752, allocations: 108 kB / 1.26 GB, free: 6.492 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/1.752, allocations: 4 kB / 1.26 GB, free: 6.488 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02183/1.774, allocations: 3.039 MB / 1.263 GB, free: 3.441 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.612e-05/1.774, allocations: 16 kB / 1.263 GB, free: 3.426 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01706/1.791, allocations: 1.211 MB / 1.264 GB, free: 2.207 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005015/1.796, allocations: 479.2 kB / 1.265 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01532/1.811, allocations: 3.186 MB / 1.268 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008123/1.819, allocations: 250.4 kB / 1.268 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009277/1.82, allocations: 95.97 kB / 1.268 GB, free: 14.05 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (241): * Single equations (assignments): 236 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {4 7} Notification: Performance of prepare postOptimizeDAE: time 0.005194/1.826, allocations: 1.08 MB / 1.269 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001837/1.828, allocations: 304.3 kB / 1.27 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/1.84, allocations: 2.329 MB / 1.272 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-05/1.84, allocations: 23.98 kB / 1.272 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.163e-05/1.84, allocations: 4 kB / 1.272 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009884/1.85, allocations: 2.01 MB / 1.274 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02333/1.873, allocations: 5.214 MB / 1.279 GB, free: 2.859 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/1.873, allocations: 4 kB / 1.279 GB, free: 2.855 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002985/1.876, allocations: 295.7 kB / 1.279 GB, free: 2.566 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001987/1.878, allocations: 340.7 kB / 1.28 GB, free: 2.215 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003502/1.879, allocations: 43.97 kB / 1.28 GB, free: 2.172 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/1.89, allocations: 9.157 MB / 1.289 GB, free: 8.223 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.89, allocations: 0 / 1.289 GB, free: 8.223 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01073/1.901, allocations: 3.329 MB / 1.292 GB, free: 4.805 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002735/1.904, allocations: 0.6649 MB / 1.292 GB, free: 4.117 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001187/1.905, allocations: 39.98 kB / 1.292 GB, free: 4.078 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004356/1.909, allocations: 172 kB / 1.293 GB, free: 3.91 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005429/1.91, allocations: 117 kB / 1.293 GB, free: 3.797 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003127/1.91, allocations: 71.94 kB / 1.293 GB, free: 3.727 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.006049/1.916, allocations: 2.166 MB / 1.295 GB, free: 1.566 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.81e-07/1.916, allocations: 0 / 1.295 GB, free: 1.566 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.009579/1.926, allocations: 1.656 MB / 1.297 GB, free: 15.91 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.x[1],pumRad.filter.x[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003262/1.929, allocations: 0.8874 MB / 1.297 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.02176/1.951, allocations: 4.321 MB / 1.302 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/1.951, allocations: 8.625 kB / 1.302 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.004239/1.955, allocations: 1.628 MB / 1.303 GB, free: 9.117 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0137/1.969, allocations: 1.667 MB / 1.305 GB, free: 7.461 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02045/1.99, allocations: 7.754 MB / 1.312 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003757/1.994, allocations: 2.435 MB / 1.315 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.007198/2.001, allocations: 1.118 MB / 1.316 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001714/2.003, allocations: 255.3 kB / 1.316 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of SimCode: time 1.453e-06/2.003, allocations: 7.938 kB / 1.316 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of Templates: time 0.2184/2.221, allocations: 72.51 MB / 1.387 GB, free: 3.746 MB / 0.9167 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)