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.001148/0.001148, allocations: 109.4 kB / 15.69 MB, free: 128 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.001104/0.001104, allocations: 186.6 kB / 16.62 MB, free: 6.613 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.326/1.326, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.718/1.718, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001393/0.001393, allocations: 69.53 kB / 0.6722 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1942, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.5539/0.7482, allocations: 162.4 MB / 0.9427 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004007/0.7522, allocations: 2.888 MB / 0.9455 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005863/0.7529, allocations: 18.66 kB / 0.9455 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007222/0.7536, allocations: 205.2 kB / 0.9457 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.7554, allocations: 0.7684 MB / 0.9465 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007779/0.7562, allocations: 342.8 kB / 0.9468 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001071/0.7573, allocations: 0.9238 MB / 0.9477 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003227/0.7576, allocations: 249.4 kB / 0.9479 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004934/0.7581, allocations: 335.8 kB / 0.9483 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007156/0.7588, allocations: 290.8 kB / 0.9485 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.192e-05/0.7589, allocations: 32.72 kB / 0.9486 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.7601, allocations: 0.6446 MB / 0.9492 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.7603, allocations: 132.8 kB / 0.9493 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002783/0.7606, allocations: 213.1 kB / 0.9495 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.7618, allocations: 0.7506 MB / 0.9503 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7618, allocations: 0.5625 kB / 0.9503 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7618, allocations: 0 / 0.9503 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.7618, allocations: 0.5312 kB / 0.9503 GB, free: 1.488 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.001162/0.763, allocations: 0.7121 MB / 0.951 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.763, allocations: 8.875 kB / 0.951 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009748/0.764, allocations: 138.3 kB / 0.9511 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005435/0.7645, allocations: 406 kB / 0.9515 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.7646, allocations: 21.5 kB / 0.9515 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.319e-05/0.7646, allocations: 29.56 kB / 0.9515 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004278/0.7651, allocations: 278.9 kB / 0.9518 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.7651, allocations: 0 / 0.9518 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.7651, allocations: 9.688 kB / 0.9518 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.7651, allocations: 10.61 kB / 0.9518 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003144/0.7655, allocations: 193.9 kB / 0.952 GB, free: 16.64 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.001552/0.767, allocations: 1.308 MB / 0.9533 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.7674, allocations: 200.7 kB / 0.9535 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.7675, allocations: 92.19 kB / 0.9536 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.7676, allocations: 1.344 kB / 0.9536 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.7676, allocations: 36.44 kB / 0.9536 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.252e-06/0.7676, allocations: 4 kB / 0.9536 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.0008851/0.7685, allocations: 402.5 kB / 0.954 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.7685, allocations: 53.47 kB / 0.954 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.7688, allocations: 300.5 kB / 0.9543 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.7689, allocations: 32.05 kB / 0.9544 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.769, allocations: 188.2 kB / 0.9545 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.542e-05/0.769, allocations: 67.97 kB / 0.9546 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.001e-05/0.7691, allocations: 51.41 kB / 0.9547 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.7692, allocations: 334.7 kB / 0.955 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.7693, allocations: 68.16 kB / 0.955 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.7695, allocations: 125.9 kB / 0.9552 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.7697, allocations: 197.2 kB / 0.9553 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7697, allocations: 1.562 kB / 0.9553 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003297/0.77, allocations: 249.5 kB / 0.9556 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.7701, allocations: 13.31 kB / 0.9556 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.7701, allocations: 2.781 kB / 0.9556 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.7701, allocations: 2.75 kB / 0.9556 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.7703, allocations: 48.31 kB / 0.9556 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.7703, allocations: 5.312 kB / 0.9557 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.7706, allocations: 17.86 kB / 0.9557 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.7706, allocations: 10.12 kB / 0.9557 GB, free: 14.62 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.0001408/0.7707, allocations: 159.6 kB / 0.9558 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.99e-05/0.7708, allocations: 35.53 kB / 0.9559 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.819e-05/0.7709, allocations: 35.41 kB / 0.9559 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.7709, allocations: 3.516 kB / 0.9559 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.7709, allocations: 1.25 kB / 0.9559 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.7709, allocations: 4 kB / 0.9559 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.7713, allocations: 406.7 kB / 0.9563 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.7714, allocations: 0 / 0.9563 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.7715, allocations: 36.98 kB / 0.9563 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001954/0.7717, allocations: 45.39 kB / 0.9564 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.7718, allocations: 1.438 kB / 0.9564 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/0.7728, allocations: 1.513 MB / 0.9579 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7728, allocations: 1.094 kB / 0.9579 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005239/0.7734, allocations: 420.8 kB / 0.9583 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.7735, allocations: 127.5 kB / 0.9584 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/0.7736, allocations: 15.2 kB / 0.9584 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.7738, allocations: 6.5 kB / 0.9584 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.7738, allocations: 9.781 kB / 0.9584 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.7739, allocations: 8.438 kB / 0.9584 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001924/0.7741, allocations: 217.1 kB / 0.9586 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7741, allocations: 2.328 kB / 0.9586 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004043/0.7745, allocations: 102.4 kB / 0.9587 GB, free: 12.54 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.0001651/0.7747, allocations: 121.8 kB / 0.9588 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002884/0.7749, allocations: 163.4 kB / 0.959 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.775, allocations: 1.281 kB / 0.959 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002861/0.7753, allocations: 198.8 kB / 0.9592 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009372/0.7762, allocations: 193 kB / 0.9594 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.7773, allocations: 0.7239 MB / 0.9601 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.7777, allocations: 0.7977 MB / 0.9609 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002219/0.7779, allocations: 63.25 kB / 0.9609 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.778, allocations: 27.12 kB / 0.9609 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of SimCode: time 5.91e-07/0.778, allocations: 1.203 kB / 0.9609 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of Templates: time 0.01126/0.7893, allocations: 6.141 MB / 0.9669 GB, free: 10.51 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)