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.001548/0.001548, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.282/1.282, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.68/1.68, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001411/0.001411, allocations: 76.03 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1893, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.5452/0.7346, allocations: 162.4 MB / 0.9419 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003765/0.7384, allocations: 2.895 MB / 0.9448 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003618/0.7387, allocations: 13.66 kB / 0.9448 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005743/0.7394, allocations: 206.2 kB / 0.945 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.7409, allocations: 0.7635 MB / 0.9457 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007087/0.7416, allocations: 342.8 kB / 0.946 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001008/0.7426, allocations: 0.9267 MB / 0.9469 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003108/0.7429, allocations: 251.7 kB / 0.9472 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005006/0.7434, allocations: 340.1 kB / 0.9475 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006841/0.7441, allocations: 282.7 kB / 0.9478 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.93e-05/0.7442, allocations: 36.67 kB / 0.9478 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.7455, allocations: 0.6403 MB / 0.9484 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.7457, allocations: 136.6 kB / 0.9486 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.746, allocations: 208.7 kB / 0.9488 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.7471, allocations: 0.7385 MB / 0.9495 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7471, allocations: 1.734 kB / 0.9495 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7471, allocations: 0 / 0.9495 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.7471, allocations: 0.5 kB / 0.9495 GB, free: 1.215 MB / 0.7169 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.00106/0.7482, allocations: 0.7147 MB / 0.9502 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.7483, allocations: 8.406 kB / 0.9502 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009823/0.7492, allocations: 137.1 kB / 0.9503 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.7498, allocations: 405 kB / 0.9507 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.7498, allocations: 16.84 kB / 0.9507 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.7498, allocations: 24.28 kB / 0.9508 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004167/0.7503, allocations: 277.7 kB / 0.951 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.7503, allocations: 5.094 kB / 0.951 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.7503, allocations: 9.531 kB / 0.951 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.7504, allocations: 12.22 kB / 0.951 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003141/0.7507, allocations: 197 kB / 0.9512 GB, free: 16.36 MB / 0.7325 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.001556/0.7522, allocations: 1.321 MB / 0.9525 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003585/0.7526, allocations: 186.5 kB / 0.9527 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.7527, allocations: 95.8 kB / 0.9528 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.7528, allocations: 5.188 kB / 0.9528 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.7528, allocations: 35.47 kB / 0.9528 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.333e-06/0.7528, allocations: 1.094 kB / 0.9528 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.0009092/0.7537, allocations: 406.3 kB / 0.9532 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.7538, allocations: 53.97 kB / 0.9533 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.7541, allocations: 299 kB / 0.9536 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.7541, allocations: 30.89 kB / 0.9536 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.7542, allocations: 187.8 kB / 0.9538 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.732e-05/0.7543, allocations: 70.69 kB / 0.9538 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.718e-05/0.7544, allocations: 46.48 kB / 0.9539 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.7545, allocations: 344.3 kB / 0.9542 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.7546, allocations: 64.59 kB / 0.9543 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.7547, allocations: 118.5 kB / 0.9544 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.755, allocations: 206.3 kB / 0.9546 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.755, allocations: 0 / 0.9546 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003595/0.7554, allocations: 242.5 kB / 0.9548 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.7554, allocations: 13.75 kB / 0.9548 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.7554, allocations: 1.75 kB / 0.9548 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.7554, allocations: 3.156 kB / 0.9548 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.7556, allocations: 47.66 kB / 0.9549 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.7557, allocations: 4 kB / 0.9549 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.7559, allocations: 19.72 kB / 0.9549 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.756, allocations: 7.531 kB / 0.9549 GB, free: 14.35 MB / 0.7325 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.0001807/0.7562, allocations: 160.4 kB / 0.9551 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.306e-05/0.7562, allocations: 34.91 kB / 0.9551 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.836e-05/0.7563, allocations: 40.36 kB / 0.9551 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.7563, allocations: 2.25 kB / 0.9551 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.7563, allocations: 0 / 0.9551 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.7564, allocations: 7.625 kB / 0.9551 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005784/0.7569, allocations: 400.6 kB / 0.9555 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.757, allocations: 1.062 kB / 0.9555 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.7572, allocations: 38.86 kB / 0.9556 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002131/0.7574, allocations: 43.81 kB / 0.9556 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.7574, allocations: 11.38 kB / 0.9556 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.7585, allocations: 1.513 MB / 0.9571 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.7585, allocations: 0 / 0.9571 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005329/0.7591, allocations: 415.1 kB / 0.9575 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.7592, allocations: 132.5 kB / 0.9576 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.7593, allocations: 9.656 kB / 0.9576 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.7595, allocations: 6.094 kB / 0.9576 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.7596, allocations: 19.05 kB / 0.9576 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.7596, allocations: 12.36 kB / 0.9577 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002053/0.7598, allocations: 210.5 kB / 0.9579 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7598, allocations: 1.188 kB / 0.9579 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000424/0.7602, allocations: 105 kB / 0.958 GB, free: 12.26 MB / 0.7325 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.0001773/0.7604, allocations: 110.6 kB / 0.9581 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000332/0.7608, allocations: 177.5 kB / 0.9582 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7608, allocations: 0 / 0.9582 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.7611, allocations: 206.1 kB / 0.9584 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009533/0.762, allocations: 195.6 kB / 0.9586 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.7631, allocations: 0.7301 MB / 0.9593 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.7635, allocations: 0.7956 MB / 0.9601 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002414/0.7638, allocations: 59.23 kB / 0.9602 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.389e-05/0.7638, allocations: 26.47 kB / 0.9602 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.7638, allocations: 0 / 0.9602 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of Templates: time 0.01045/0.7743, allocations: 6.155 MB / 0.9662 GB, free: 10.21 MB / 0.7325 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)