Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|cooCoi.sta_a2.T|cooCoi.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System3") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|cooCoi.sta_a2.T|cooCoi.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 110.7 kB / 16.38 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 190.6 kB / 17.32 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.622/2.622, allocations: 442.6 MB / 0.7166 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.75 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3387, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System3): time 0.948/1.287, allocations: 359.2 MB / 1.378 GB, free: 5.809 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.06177/1.349, allocations: 41.19 MB / 1.418 GB, free: 12.51 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01026/1.359, allocations: 167.1 kB / 1.418 GB, free: 12.34 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.01177/1.371, allocations: 3.66 MB / 1.421 GB, free: 8.668 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.02727/1.398, allocations: 8.988 MB / 1.43 GB, free: 15.65 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.01375/1.412, allocations: 5.418 MB / 1.436 GB, free: 10.26 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.02802/1.44, allocations: 15.91 MB / 1.451 GB, free: 10.31 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01035/1.45, allocations: 5.369 MB / 1.456 GB, free: 4.848 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01697/1.467, allocations: 6.206 MB / 1.462 GB, free: 14.65 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008837/1.476, allocations: 4.228 MB / 1.467 GB, free: 10.42 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.002808/1.479, allocations: 0.6718 MB / 1.467 GB, free: 9.75 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01914/1.498, allocations: 8.674 MB / 1.476 GB, free: 1.059 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.003962/1.502, allocations: 2.06 MB / 1.478 GB, free: 14.99 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.008083/1.51, allocations: 3.62 MB / 1.481 GB, free: 11.35 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.02874/1.539, allocations: 12.62 MB / 1.494 GB, free: 14.7 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/1.539, allocations: 0 / 1.494 GB, free: 14.7 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.794e-06/1.539, allocations: 0 / 1.494 GB, free: 14.7 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0003201/1.539, allocations: 0 / 1.494 GB, free: 14.7 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1052 * Number of variables: 1052 Notification: Performance of Generate backend data structure: time 0.02153/1.561, allocations: 7.523 MB / 1.501 GB, free: 7.051 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/1.561, allocations: 8.031 kB / 1.501 GB, free: 7.043 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02319/1.584, allocations: 3.355 MB / 1.504 GB, free: 3.676 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01325/1.598, allocations: 5.394 MB / 1.509 GB, free: 14.2 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004571/1.598, allocations: 362.4 kB / 1.51 GB, free: 13.84 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001644/1.6, allocations: 427.9 kB / 1.51 GB, free: 13.42 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01639/1.616, allocations: 5.747 MB / 1.516 GB, free: 7.535 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.382e-05/1.616, allocations: 7.938 kB / 1.516 GB, free: 7.527 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006505/1.617, allocations: 171.9 kB / 1.516 GB, free: 7.359 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001612/1.617, allocations: 167.9 kB / 1.516 GB, free: 7.195 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01987/1.637, allocations: 6.394 MB / 1.522 GB, free: 0.7969 MB / 1.217 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.6963/2.333, allocations: 22.71 MB / 1.545 GB, free: 424.3 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01271/2.346, allocations: 4.666 MB / 1.549 GB, free: 422.3 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00803/2.354, allocations: 2.539 MB / 1.552 GB, free: 421.5 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01945/2.374, allocations: 8.369 MB / 1.56 GB, free: 416.6 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00885/2.383, allocations: 2.839 MB / 1.563 GB, free: 415.7 MB / 1.232 GB Notification: Performance of pre-optimization done (n=325): time 7.915e-06/2.383, allocations: 3.844 kB / 1.563 GB, free: 415.7 MB / 1.232 GB Notification: Performance of matching and sorting (n=331): time 0.04546/2.428, allocations: 13.8 MB / 1.576 GB, free: 410.6 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/2.428, allocations: 215.1 kB / 1.576 GB, free: 410.4 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008113/2.436, allocations: 4.086 MB / 1.58 GB, free: 408.8 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.001203/2.438, allocations: 98.55 kB / 1.58 GB, free: 408.8 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.002195/2.44, allocations: 2.22 MB / 1.582 GB, free: 407.1 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001737/2.441, allocations: 1.117 MB / 1.584 GB, free: 406.2 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001698/2.443, allocations: 0.849 MB / 1.584 GB, free: 405.8 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 6.302e-05/2.443, allocations: 310.2 kB / 1.585 GB, free: 405.5 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006734/2.45, allocations: 2.459 MB / 1.587 GB, free: 404.7 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007684/2.458, allocations: 3.193 MB / 1.59 GB, free: 403.1 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01518/2.473, allocations: 5.329 MB / 1.595 GB, free: 400.8 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-05/2.473, allocations: 3.484 kB / 1.595 GB, free: 400.8 MB / 1.232 GB Notification: Performance of matching and sorting (n=525) (initialization): time 0.02283/2.496, allocations: 6.761 MB / 1.602 GB, free: 398.2 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 7.405e-05/2.496, allocations: 11.91 kB / 1.602 GB, free: 398.2 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.595e-05/2.496, allocations: 15.89 kB / 1.602 GB, free: 398.2 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002742/2.499, allocations: 0.661 MB / 1.603 GB, free: 398 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007312/2.506, allocations: 1.185 MB / 1.604 GB, free: 397.9 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009277/2.515, allocations: 9.866 MB / 1.613 GB, free: 389.3 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008099/2.524, allocations: 471.8 kB / 1.614 GB, free: 389.2 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001157/2.525, allocations: 186.6 kB / 1.614 GB, free: 389.2 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009368/2.534, allocations: 3.415 MB / 1.617 GB, free: 387.4 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007235/2.541, allocations: 3.174 MB / 1.621 GB, free: 385.4 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01402/2.555, allocations: 5.291 MB / 1.626 GB, free: 382.4 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.986e-05/2.556, allocations: 7.812 kB / 1.626 GB, free: 382.4 MB / 1.232 GB Notification: Performance of matching and sorting (n=525) (initialization_lambda0): time 0.019/2.575, allocations: 6.706 MB / 1.632 GB, free: 379 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/2.575, allocations: 11.84 kB / 1.632 GB, free: 379 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-05/2.575, allocations: 14.38 kB / 1.632 GB, free: 379 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00216/2.577, allocations: 0.6387 MB / 1.633 GB, free: 378.7 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006293/2.583, allocations: 1.183 MB / 1.634 GB, free: 378.4 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009061/2.592, allocations: 10.97 MB / 1.645 GB, free: 367.5 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007857/2.6, allocations: 492.4 kB / 1.645 GB, free: 367 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001066/2.601, allocations: 187.9 kB / 1.645 GB, free: 366.8 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 26 (cooCoi.flowRegime_nominal,cooCoi.dryWetCalcs.fullyDry.cfg,cooCoi.dryWetCalcs.fullyWet.cfg,cooCoi.dryWetCalcs.cfg,cooCoi.flowRegime,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,cooCoi.UAFroRated.isFulWet,cooCoi.UAFroRated.isFulDry,con.y,$PRE.con.y,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (457): * Single equations (assignments): 446 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,2), (1,18), (1,2), (5,2), (1,3), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001346/2.603, allocations: 402.8 kB / 1.646 GB, free: 366.4 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001974/2.605, allocations: 490 kB / 1.646 GB, free: 365.9 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01593/2.621, allocations: 5.985 MB / 1.652 GB, free: 359.9 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01313/2.634, allocations: 4.911 MB / 1.657 GB, free: 354.9 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/2.634, allocations: 0 / 1.657 GB, free: 354.9 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003686/2.637, allocations: 1.119 MB / 1.658 GB, free: 353.8 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001594/2.639, allocations: 75.98 kB / 1.658 GB, free: 353.7 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006089/2.645, allocations: 455.9 kB / 1.659 GB, free: 353.3 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005223/2.646, allocations: 234.3 kB / 1.659 GB, free: 353.1 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01709/2.663, allocations: 5.773 MB / 1.664 GB, free: 347.3 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01982/2.683, allocations: 8.201 MB / 1.672 GB, free: 339 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006058/2.689, allocations: 2.454 MB / 1.675 GB, free: 336.6 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.004784/2.694, allocations: 2.724 MB / 1.677 GB, free: 333.8 MB / 1.232 GB Notification: Performance of Backend: time 1.923e-06/2.694, allocations: 0 / 1.677 GB, free: 333.8 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.03299/2.727, allocations: 10.39 MB / 1.688 GB, free: 324 MB / 1.232 GB Notification: Performance of SimCode: time 0.02415/2.751, allocations: 10.83 MB / 1.698 GB, free: 313.2 MB / 1.232 GB Notification: Performance of Templates: time 0.2071/2.958, allocations: 148.2 MB / 1.843 GB, free: 166 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System3.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System3.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe 2>&1)