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.0007473/0.0007473, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004559/0.00456, allocations: 169.9 kB / 16.26 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.292/1.292, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.705/1.705, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005098/0.0005098, allocations: 13.25 kB / 0.6743 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2304, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.5959/0.8263, allocations: 158.1 MB / 0.9422 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003358/0.8297, allocations: 2.902 MB / 0.9451 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003159/0.83, allocations: 13.28 kB / 0.9451 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005579/0.8306, allocations: 177.3 kB / 0.9452 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001643/0.8323, allocations: 0.7261 MB / 0.9459 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006322/0.8329, allocations: 302.4 kB / 0.9462 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001306/0.8342, allocations: 1.219 MB / 0.9474 GB, free: 424 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002821/0.8345, allocations: 209.9 kB / 0.9476 GB, free: 396 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005044/0.835, allocations: 285.1 kB / 0.9479 GB, free: 352 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007909/0.8358, allocations: 279.9 kB / 0.9482 GB, free: 340 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.297e-05/0.8359, allocations: 12.47 kB / 0.9482 GB, free: 340 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.837, allocations: 0.7459 MB / 0.9489 GB, free: 264 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.8371, allocations: 103.1 kB / 0.949 GB, free: 264 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.8373, allocations: 212.9 kB / 0.9492 GB, free: 228 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.8384, allocations: 0.7554 MB / 0.9499 GB, free: 172 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.8384, allocations: 0.5938 kB / 0.9499 GB, free: 172 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8384, allocations: 0 / 0.9499 GB, free: 172 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.8384, allocations: 4.562 kB / 0.9499 GB, free: 168 kB / 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.001064/0.8395, allocations: 0.6396 MB / 0.9506 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.8395, allocations: 9.281 kB / 0.9506 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.8406, allocations: 137.9 kB / 0.9507 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005657/0.8412, allocations: 400.5 kB / 0.9511 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.8412, allocations: 18.12 kB / 0.9511 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.607e-05/0.8413, allocations: 28.12 kB / 0.9511 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000478/0.8418, allocations: 284.1 kB / 0.9514 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.8418, allocations: 3.281 kB / 0.9514 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.8418, allocations: 9.375 kB / 0.9514 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.8419, allocations: 11.75 kB / 0.9514 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.8422, allocations: 194.8 kB / 0.9516 GB, free: 15.33 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.001569/0.8438, allocations: 1.316 MB / 0.9529 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/0.8441, allocations: 190.2 kB / 0.9531 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.8443, allocations: 87.95 kB / 0.9532 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.8443, allocations: 6.938 kB / 0.9532 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.8443, allocations: 38.06 kB / 0.9532 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.793e-06/0.8443, allocations: 0 / 0.9532 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.0008878/0.8452, allocations: 411.5 kB / 0.9536 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.8452, allocations: 53.72 kB / 0.9537 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.8455, allocations: 298.8 kB / 0.9539 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.8456, allocations: 30.27 kB / 0.954 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.8457, allocations: 187.5 kB / 0.9541 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.134e-05/0.8458, allocations: 72.14 kB / 0.9542 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.8458, allocations: 28.22 kB / 0.9542 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.8459, allocations: 339.6 kB / 0.9546 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.846, allocations: 70.56 kB / 0.9546 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.8462, allocations: 119.7 kB / 0.9547 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.8464, allocations: 190.9 kB / 0.9549 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.8464, allocations: 1.094 kB / 0.9549 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003523/0.8468, allocations: 251.6 kB / 0.9552 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.8468, allocations: 13.38 kB / 0.9552 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.8468, allocations: 1.75 kB / 0.9552 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.8469, allocations: 3.219 kB / 0.9552 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.8471, allocations: 43.27 kB / 0.9552 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.8471, allocations: 5.016 kB / 0.9552 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.8474, allocations: 21.44 kB / 0.9553 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.8474, allocations: 10.56 kB / 0.9553 GB, free: 13.32 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.0001476/0.8476, allocations: 163.7 kB / 0.9554 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-05/0.8476, allocations: 35.44 kB / 0.9555 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.504e-05/0.8477, allocations: 35.75 kB / 0.9555 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.8477, allocations: 1.125 kB / 0.9555 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.8477, allocations: 4.344 kB / 0.9555 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.8477, allocations: 0 / 0.9555 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004694/0.8482, allocations: 399.5 kB / 0.9559 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.8482, allocations: 6.516 kB / 0.9559 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.8484, allocations: 34 kB / 0.9559 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001897/0.8486, allocations: 48.52 kB / 0.956 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.8486, allocations: 4.75 kB / 0.956 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/0.8497, allocations: 1.409 MB / 0.9573 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.8497, allocations: 5.922 kB / 0.9573 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005338/0.8502, allocations: 417.5 kB / 0.9577 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.8504, allocations: 131.9 kB / 0.9579 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.8504, allocations: 6 kB / 0.9579 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.8507, allocations: 11.8 kB / 0.9579 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.8508, allocations: 17.97 kB / 0.9579 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.8508, allocations: 5.281 kB / 0.9579 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001949/0.851, allocations: 214.2 kB / 0.9581 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.851, allocations: 0 / 0.9581 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004081/0.8514, allocations: 105.7 kB / 0.9582 GB, free: 11.32 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.0001562/0.8516, allocations: 114.4 kB / 0.9583 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002732/0.8518, allocations: 162.1 kB / 0.9585 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.8519, allocations: 384 / 0.9585 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.8521, allocations: 209.8 kB / 0.9587 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.8532, allocations: 185.1 kB / 0.9589 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.8543, allocations: 0.9067 MB / 0.9597 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.8546, allocations: 0.7938 MB / 0.9605 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002414/0.8548, allocations: 57.17 kB / 0.9606 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.961e-05/0.8549, allocations: 34.25 kB / 0.9606 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.8549, allocations: 1.859 kB / 0.9606 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of Templates: time 0.009709/0.8646, allocations: 5.852 MB / 0.9663 GB, free: 8.281 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: