Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.007517/0.007517, allocations: 100.4 kB / 15.73 MB, free: 6.051 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.001242/0.001242, allocations: 186.8 kB / 16.67 MB, free: 5.977 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.564/1.564, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.7099/0.7099, allocations: 95.47 MB / 365.4 MB, free: 9.773 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 71.91 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.18, allocations: 69.09 MB / 0.5711 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6551/0.8352, allocations: 177.6 MB / 0.7445 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00268/0.8379, allocations: 1.334 MB / 0.7458 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003201/0.8383, allocations: 19.81 kB / 0.7458 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006336/0.8389, allocations: 190.9 kB / 0.746 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002211/0.8412, allocations: 0.8863 MB / 0.7469 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.8423, allocations: 476.9 kB / 0.7473 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001031/0.8433, allocations: 0.8565 MB / 0.7482 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/0.8437, allocations: 244.6 kB / 0.7484 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005702/0.8443, allocations: 354.6 kB / 0.7487 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008155/0.8451, allocations: 281.8 kB / 0.749 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.779e-05/0.8452, allocations: 32 kB / 0.749 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001898/0.8471, allocations: 0.9005 MB / 0.7499 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.8472, allocations: 135.5 kB / 0.75 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000261/0.8475, allocations: 215 kB / 0.7502 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.8491, allocations: 0.9658 MB / 0.7512 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.8491, allocations: 0 / 0.7512 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8491, allocations: 0 / 0.7512 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.8491, allocations: 0 / 0.7512 GB, free: 5.953 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001387/0.8505, allocations: 0.7673 MB / 0.7519 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.8506, allocations: 15.98 kB / 0.752 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.8508, allocations: 43.53 kB / 0.752 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009252/0.8517, allocations: 466.2 kB / 0.7524 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.8518, allocations: 16.56 kB / 0.7525 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.937e-05/0.8518, allocations: 20 kB / 0.7525 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/0.8523, allocations: 260.8 kB / 0.7527 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.8523, allocations: 0 / 0.7527 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.8524, allocations: 12 kB / 0.7527 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.8524, allocations: 4.5 kB / 0.7527 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/0.8528, allocations: 246.1 kB / 0.753 GB, free: 4.027 MB / 0.5606 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.001674/0.8545, allocations: 1.276 MB / 0.7542 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004335/0.8549, allocations: 226.4 kB / 0.7544 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.8551, allocations: 128.4 kB / 0.7546 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005012/0.8556, allocations: 449.5 kB / 0.755 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.8557, allocations: 35 kB / 0.755 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.8557, allocations: 4 kB / 0.755 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.005536/0.8612, allocations: 1.583 MB / 0.7566 GB, free: 24 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.8613, allocations: 55.41 kB / 0.7566 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.8617, allocations: 320.5 kB / 0.7569 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.8617, allocations: 33.7 kB / 0.757 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.8619, allocations: 180.6 kB / 0.7571 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.456e-05/0.862, allocations: 110.3 kB / 0.7572 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.8621, allocations: 65.69 kB / 0.7573 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.8623, allocations: 342.8 kB / 0.7576 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.8625, allocations: 124.1 kB / 0.7577 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.8627, allocations: 169.4 kB / 0.7579 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007103/0.8698, allocations: 1.351 MB / 0.7592 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.8698, allocations: 0 / 0.7592 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001002/0.8709, allocations: 481.3 kB / 0.7597 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.8709, allocations: 7.438 kB / 0.7597 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.8709, allocations: 4 kB / 0.7597 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003732/0.8713, allocations: 84.89 kB / 0.7598 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.8717, allocations: 71.91 kB / 0.7598 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/0.8737, allocations: 1.897 MB / 0.7617 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.874, allocations: 11.98 kB / 0.7617 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.874, allocations: 16 kB / 0.7617 GB, free: 10.52 MB / 0.5762 GB Warning: Assuming fixed start value for the following 3 variables: vol.dynBal.medium.p:VARIABLE(flow=false min = 0.0 max = 1e8 start = vol.dynBal.p_start unit = "Pa" fixed = true nominal = 101325.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real vol.dynBal.medium.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 start = 0.01 unit = "1" fixed = true nominal = 0.01 stateSelect=StateSelect.prefer protected = true ) "Structurally independent mass fractions" type: Real [1] vol.dynBal.medium.T:VARIABLE(min = 1.0 max = 1e4 start = vol.dynBal.T_start unit = "K" fixed = true nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (34): * Single equations (assignments): 33 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003616/0.8744, allocations: 183.8 kB / 0.7619 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.555e-05/0.8745, allocations: 39.53 kB / 0.7619 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.8756, allocations: 474.4 kB / 0.7624 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.8756, allocations: 8 kB / 0.7624 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8756, allocations: 4 kB / 0.7624 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.8756, allocations: 3.984 kB / 0.7624 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.8774, allocations: 1.076 MB / 0.7635 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.8774, allocations: 0 / 0.7635 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/0.8779, allocations: 75.95 kB / 0.7635 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003606/0.8782, allocations: 84.88 kB / 0.7636 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.8783, allocations: 19.94 kB / 0.7636 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/0.8799, allocations: 1.641 MB / 0.7652 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.8799, allocations: 7.969 kB / 0.7652 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.881, allocations: 0.6678 MB / 0.7659 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.8812, allocations: 148.6 kB / 0.766 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.084e-05/0.8813, allocations: 19.92 kB / 0.766 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.8816, allocations: 8 kB / 0.7661 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.8817, allocations: 28.14 kB / 0.7661 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.8817, allocations: 15.98 kB / 0.7661 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002536/0.882, allocations: 231.1 kB / 0.7663 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.882, allocations: 0 / 0.7663 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000805/0.8828, allocations: 207.8 kB / 0.7665 GB, free: 5.344 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (vol.dynBal.medium.p,vol.dynBal.medium.Xi[1],vol.dynBal.medium.T) * 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 (33): * Single equations (assignments): 32 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005953/0.8834, allocations: 294.8 kB / 0.7668 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007903/0.8842, allocations: 443 kB / 0.7672 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.8842, allocations: 0 / 0.7672 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003521/0.8846, allocations: 294.5 kB / 0.7675 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.8856, allocations: 238.6 kB / 0.7677 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.8876, allocations: 0.934 MB / 0.7686 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.888, allocations: 0.8083 MB / 0.7694 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003195/0.8883, allocations: 83.23 kB / 0.7695 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.63e-05/0.8884, allocations: 35.44 kB / 0.7695 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.8884, allocations: 0 / 0.7695 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of Templates: time 0.02063/0.9091, allocations: 10.73 MB / 0.78 GB, free: 7.496 MB / 0.5919 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)