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.001188/0.001188, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001353/0.001353, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.4 MB / 222.1 MB, free: 5.551 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.5794/0.5794, allocations: 95.58 MB / 366 MB, free: 10.35 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.0006202/0.0006205, allocations: 19.91 kB / 446.8 MB, free: 9.367 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3148, allocations: 70.34 MB / 0.505 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.5086/0.8234, allocations: 142.4 MB / 0.6441 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004713/0.8282, allocations: 2.483 MB / 0.6465 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008786/0.8291, allocations: 16.12 kB / 0.6465 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009507/0.8301, allocations: 210.2 kB / 0.6467 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00365/0.8337, allocations: 0.7749 MB / 0.6475 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.8354, allocations: 411.9 kB / 0.6479 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001185/0.8366, allocations: 0.5048 MB / 0.6483 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003757/0.837, allocations: 189.8 kB / 0.6485 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006167/0.8376, allocations: 281 kB / 0.6488 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.8379, allocations: 183.5 kB / 0.649 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.838, allocations: 14.38 kB / 0.649 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.8397, allocations: 0.5269 MB / 0.6495 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.8399, allocations: 100.4 kB / 0.6496 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.8401, allocations: 104.1 kB / 0.6497 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.8411, allocations: 0.5907 MB / 0.6503 GB, free: 1.336 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8411, allocations: 0 / 0.6503 GB, free: 1.336 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.8412, allocations: 1.859 kB / 0.6503 GB, free: 1.336 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.8412, allocations: 2.688 kB / 0.6503 GB, free: 1.336 MB / 494.1 MB 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.001396/0.8426, allocations: 0.6777 MB / 0.6509 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.8426, allocations: 16.33 kB / 0.6509 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.8428, allocations: 48.45 kB / 0.651 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006893/0.8435, allocations: 413.5 kB / 0.6514 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.8436, allocations: 20.98 kB / 0.6514 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.613e-05/0.8436, allocations: 24.47 kB / 0.6514 GB, free: 16.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004096/0.844, allocations: 245.3 kB / 0.6517 GB, free: 16.53 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.8441, allocations: 6.906 kB / 0.6517 GB, free: 16.53 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.8441, allocations: 7.969 kB / 0.6517 GB, free: 16.53 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.8441, allocations: 6.125 kB / 0.6517 GB, free: 16.53 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003589/0.8445, allocations: 248.6 kB / 0.6519 GB, free: 16.52 MB / 0.4981 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.001899/0.8464, allocations: 1.286 MB / 0.6532 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004742/0.8469, allocations: 216.2 kB / 0.6534 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005182/0.8474, allocations: 456 kB / 0.6538 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.8474, allocations: 36.72 kB / 0.6539 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=26): time 2.114e-06/0.8474, allocations: 0 / 0.6539 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.005206/0.8527, allocations: 1.585 MB / 0.6554 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.8527, allocations: 56.53 kB / 0.6555 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.8531, allocations: 334.2 kB / 0.6558 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.494e-05/0.8532, allocations: 37.75 kB / 0.6558 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.8533, allocations: 175.5 kB / 0.656 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.864e-05/0.8534, allocations: 119.8 kB / 0.6561 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/0.8535, allocations: 5.719 kB / 0.6561 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.8536, allocations: 353.6 kB / 0.6564 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.8538, allocations: 119.9 kB / 0.6566 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.854, allocations: 172.6 kB / 0.6567 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.8542, allocations: 154.6 kB / 0.6569 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.8543, allocations: 4.031 kB / 0.6569 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007903/0.8551, allocations: 459.6 kB / 0.6573 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.8551, allocations: 10.05 kB / 0.6573 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.8551, allocations: 3.141 kB / 0.6573 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003253/0.8554, allocations: 81.16 kB / 0.6574 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.8558, allocations: 73.84 kB / 0.6575 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/0.8575, allocations: 1.763 MB / 0.6592 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.8578, allocations: 29.98 kB / 0.6592 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.8579, allocations: 12.94 kB / 0.6592 GB, free: 12.6 MB / 0.4981 GB Warning: Assuming fixed start value for the following 3 variables: vol.dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = vol.dynBal.T_start unit = "K" fixed = true nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real vol.dynBal.medium.Xi[1]:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) max = min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, 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.p:VARIABLE(flow=false min = max(0.0, 0.0) max = 100000000.0 start = vol.dynBal.p_start unit = "Pa" fixed = true nominal = 101325.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003435/0.8582, allocations: 213.9 kB / 0.6594 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-05/0.8583, allocations: 34.41 kB / 0.6595 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009278/0.8592, allocations: 488.4 kB / 0.6599 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.8592, allocations: 10.39 kB / 0.6599 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.8593, allocations: 2.469 kB / 0.6599 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.8593, allocations: 3.094 kB / 0.6599 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.8609, allocations: 1.082 MB / 0.661 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.8609, allocations: 0 / 0.661 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/0.8613, allocations: 71.12 kB / 0.6611 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002643/0.8616, allocations: 77.7 kB / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.8616, allocations: 15.92 kB / 0.6612 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.8629, allocations: 1.573 MB / 0.6627 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.863, allocations: 1.75 kB / 0.6627 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.864, allocations: 0.684 MB / 0.6634 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.8642, allocations: 163.3 kB / 0.6635 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.597e-05/0.8643, allocations: 11.16 kB / 0.6635 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/0.8646, allocations: 18.44 kB / 0.6635 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.8646, allocations: 32.28 kB / 0.6636 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.8647, allocations: 17.97 kB / 0.6636 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002293/0.8649, allocations: 241.4 kB / 0.6638 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8649, allocations: 3.312 kB / 0.6638 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008372/0.8658, allocations: 205.2 kB / 0.664 GB, free: 10.28 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005319/0.8663, allocations: 289.6 kB / 0.6643 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000867/0.8672, allocations: 468.6 kB / 0.6647 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.8672, allocations: 0 / 0.6647 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.8675, allocations: 289.5 kB / 0.665 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000972/0.8685, allocations: 214.2 kB / 0.6652 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.8704, allocations: 1.185 MB / 0.6664 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.8708, allocations: 0.8147 MB / 0.6672 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003284/0.8711, allocations: 88.19 kB / 0.6673 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.26e-05/0.8712, allocations: 37.75 kB / 0.6673 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.8712, allocations: 0 / 0.6673 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of Templates: time 0.01612/0.8873, allocations: 10.01 MB / 0.6771 GB, free: 5.305 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: