Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001501/0.001501, allocations: 192.1 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.631/1.631, allocations: 292.3 MB / 0.5484 GB, free: 13.69 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 70.64 kB / 0.6708 GB, free: 26.53 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1907, allocations: 114.6 MB / 0.7827 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.555/0.7457, allocations: 160.1 MB / 0.939 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003832/0.7496, allocations: 2.941 MB / 0.9419 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006066/0.7502, allocations: 12.47 kB / 0.9419 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008386/0.7511, allocations: 182.9 kB / 0.9421 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.7532, allocations: 0.7168 MB / 0.9428 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008445/0.7541, allocations: 302.1 kB / 0.9431 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001347/0.7554, allocations: 1.219 MB / 0.9443 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003166/0.7557, allocations: 216.9 kB / 0.9445 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004902/0.7562, allocations: 289.8 kB / 0.9448 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008764/0.7571, allocations: 296.1 kB / 0.9451 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.314e-05/0.7572, allocations: 20.16 kB / 0.9451 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.7585, allocations: 0.7454 MB / 0.9458 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.7587, allocations: 109.6 kB / 0.9459 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.7589, allocations: 190.7 kB / 0.9461 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.76, allocations: 0.7691 MB / 0.9468 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.76, allocations: 0 / 0.9468 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.134e-06/0.76, allocations: 0 / 0.9468 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.76, allocations: 1.094 kB / 0.9468 GB, free: 5.641 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.00131/0.7613, allocations: 0.7147 MB / 0.9475 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.7614, allocations: 7.312 kB / 0.9475 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.7624, allocations: 138.9 kB / 0.9477 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005389/0.763, allocations: 392.5 kB / 0.948 GB, free: 20.87 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.763, allocations: 22.89 kB / 0.9481 GB, free: 20.87 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.573e-05/0.7631, allocations: 24.84 kB / 0.9481 GB, free: 20.87 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004545/0.7635, allocations: 274 kB / 0.9484 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.7636, allocations: 5.375 kB / 0.9484 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.7636, allocations: 8.938 kB / 0.9484 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.7636, allocations: 13.33 kB / 0.9484 GB, free: 20.81 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003499/0.764, allocations: 195.2 kB / 0.9486 GB, free: 20.81 MB / 0.7481 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.001793/0.7658, allocations: 1.315 MB / 0.9499 GB, free: 19.97 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004582/0.7663, allocations: 195.3 kB / 0.95 GB, free: 19.94 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.7664, allocations: 91.02 kB / 0.9501 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.7665, allocations: 5.094 kB / 0.9501 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.7665, allocations: 39.02 kB / 0.9502 GB, free: 19.89 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 2.375e-06/0.7665, allocations: 4 kB / 0.9502 GB, free: 19.89 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.001065/0.7676, allocations: 401.5 kB / 0.9506 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.7676, allocations: 54.5 kB / 0.9506 GB, free: 19.67 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/0.768, allocations: 303.3 kB / 0.9509 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.7681, allocations: 31.42 kB / 0.9509 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.7682, allocations: 191.1 kB / 0.9511 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.191e-05/0.7683, allocations: 62.19 kB / 0.9512 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.809e-05/0.7684, allocations: 49.02 kB / 0.9512 GB, free: 19.34 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.7685, allocations: 338.6 kB / 0.9515 GB, free: 19.03 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.7686, allocations: 63.03 kB / 0.9516 GB, free: 19.03 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.7688, allocations: 130.7 kB / 0.9517 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.769, allocations: 194.8 kB / 0.9519 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.769, allocations: 2.641 kB / 0.9519 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004112/0.7695, allocations: 248.2 kB / 0.9521 GB, free: 18.85 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.7695, allocations: 9.281 kB / 0.9522 GB, free: 18.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.7695, allocations: 1.438 kB / 0.9522 GB, free: 18.85 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.7695, allocations: 2.875 kB / 0.9522 GB, free: 18.85 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.7697, allocations: 46.86 kB / 0.9522 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.7698, allocations: 3.156 kB / 0.9522 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.7701, allocations: 21.41 kB / 0.9522 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.7701, allocations: 6.594 kB / 0.9522 GB, free: 18.84 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001558/0.7703, allocations: 159.9 kB / 0.9524 GB, free: 18.72 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.7703, allocations: 37.61 kB / 0.9524 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.086e-05/0.7704, allocations: 34.89 kB / 0.9525 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.7704, allocations: 9.156 kB / 0.9525 GB, free: 18.69 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.7704, allocations: 1.344 kB / 0.9525 GB, free: 18.69 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.7704, allocations: 2.156 kB / 0.9525 GB, free: 18.69 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004791/0.7709, allocations: 403.7 kB / 0.9529 GB, free: 18.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.7709, allocations: 0 / 0.9529 GB, free: 18.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.7711, allocations: 34 kB / 0.9529 GB, free: 18.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002243/0.7714, allocations: 50.88 kB / 0.9529 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.7714, allocations: 2.422 kB / 0.9529 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.7726, allocations: 1.405 MB / 0.9543 GB, free: 17.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.7726, allocations: 0.5 kB / 0.9543 GB, free: 17.23 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006735/0.7733, allocations: 422.4 kB / 0.9547 GB, free: 17.07 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.7734, allocations: 132.3 kB / 0.9548 GB, free: 16.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.7735, allocations: 1.656 kB / 0.9548 GB, free: 16.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.7738, allocations: 16.09 kB / 0.9549 GB, free: 16.95 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.7738, allocations: 17.95 kB / 0.9549 GB, free: 16.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.7738, allocations: 12.12 kB / 0.9549 GB, free: 16.94 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002344/0.7741, allocations: 213.1 kB / 0.9551 GB, free: 16.86 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7741, allocations: 1.219 kB / 0.9551 GB, free: 16.86 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004512/0.7745, allocations: 103.1 kB / 0.9552 GB, free: 16.86 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000183/0.7747, allocations: 112.9 kB / 0.9553 GB, free: 16.77 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003635/0.7751, allocations: 165.8 kB / 0.9555 GB, free: 16.76 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.7751, allocations: 0 / 0.9555 GB, free: 16.76 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003545/0.7755, allocations: 203.4 kB / 0.9556 GB, free: 16.65 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.7765, allocations: 189.7 kB / 0.9558 GB, free: 16.64 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.7778, allocations: 0.8454 MB / 0.9567 GB, free: 16.11 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.7783, allocations: 0.7943 MB / 0.9574 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002841/0.7786, allocations: 56.11 kB / 0.9575 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.435e-05/0.7786, allocations: 27.11 kB / 0.9575 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of SimCode: time 3.5e-07/0.7786, allocations: 0.5 kB / 0.9575 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of Templates: time 0.01039/0.789, allocations: 5.878 MB / 0.9632 GB, free: 15.03 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)