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.001346/0.001346, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001573/0.001573, allocations: 186.6 kB / 16.25 MB, free: 6.621 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.299/1.299, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.632/1.632, allocations: 292.2 MB / 0.5485 GB, free: 13.68 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.001384/0.001384, allocations: 61.48 kB / 0.671 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1981, allocations: 114.6 MB / 0.7828 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.5356/0.7337, allocations: 160.2 MB / 0.9393 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003834/0.7376, allocations: 2.876 MB / 0.9421 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004568/0.7381, allocations: 17.31 kB / 0.9421 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006154/0.7388, allocations: 179.6 kB / 0.9423 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.7404, allocations: 0.714 MB / 0.943 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006808/0.7411, allocations: 310.6 kB / 0.9432 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008909/0.742, allocations: 0.919 MB / 0.9441 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003083/0.7423, allocations: 251.8 kB / 0.9444 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004242/0.7427, allocations: 337 kB / 0.9447 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007332/0.7435, allocations: 306.9 kB / 0.945 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.849e-05/0.7435, allocations: 32.56 kB / 0.945 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.7445, allocations: 0.6848 MB / 0.9457 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.7447, allocations: 125 kB / 0.9458 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.7449, allocations: 214.5 kB / 0.946 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009181/0.7458, allocations: 0.7822 MB / 0.9468 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7458, allocations: 0.5625 kB / 0.9468 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7458, allocations: 0 / 0.9468 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.7459, allocations: 0 / 0.9468 GB, free: 5.898 MB / 0.7325 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.001278/0.7471, allocations: 0.715 MB / 0.9475 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.7472, allocations: 8.125 kB / 0.9475 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000999/0.7482, allocations: 137.9 kB / 0.9476 GB, free: 21.37 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005255/0.7487, allocations: 394.4 kB / 0.948 GB, free: 21.13 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.7488, allocations: 25.38 kB / 0.948 GB, free: 21.13 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.005e-05/0.7488, allocations: 24.22 kB / 0.948 GB, free: 21.13 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.7493, allocations: 271.4 kB / 0.9483 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.7493, allocations: 3.062 kB / 0.9483 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.7493, allocations: 10.72 kB / 0.9483 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.7493, allocations: 11.17 kB / 0.9483 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.7497, allocations: 198.1 kB / 0.9485 GB, free: 21.07 MB / 0.7481 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.001618/0.7513, allocations: 1.319 MB / 0.9498 GB, free: 20.23 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003927/0.7517, allocations: 193.1 kB / 0.95 GB, free: 20.2 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.7518, allocations: 95.59 kB / 0.9501 GB, free: 20.19 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.7519, allocations: 1.312 kB / 0.9501 GB, free: 20.19 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.7519, allocations: 37.66 kB / 0.9501 GB, free: 20.15 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.242e-06/0.7519, allocations: 4 kB / 0.9501 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.0009699/0.7529, allocations: 397.9 kB / 0.9505 GB, free: 19.99 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.7529, allocations: 54.25 kB / 0.9506 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003566/0.7533, allocations: 307 kB / 0.9508 GB, free: 19.81 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.7533, allocations: 29.77 kB / 0.9509 GB, free: 19.78 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.7535, allocations: 189.4 kB / 0.9511 GB, free: 19.66 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.944e-05/0.7535, allocations: 64.45 kB / 0.9511 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.808e-05/0.7536, allocations: 47.8 kB / 0.9512 GB, free: 19.6 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.7538, allocations: 342.2 kB / 0.9515 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.7539, allocations: 62.59 kB / 0.9516 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.7541, allocations: 127.3 kB / 0.9517 GB, free: 19.22 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.7543, allocations: 196.1 kB / 0.9519 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7543, allocations: 2 kB / 0.9519 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003933/0.7547, allocations: 248.6 kB / 0.9521 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.7548, allocations: 9.344 kB / 0.9521 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.7548, allocations: 1.344 kB / 0.9521 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.7548, allocations: 7.359 kB / 0.9521 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.755, allocations: 42.67 kB / 0.9522 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.755, allocations: 10.42 kB / 0.9522 GB, free: 19.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.7554, allocations: 25.7 kB / 0.9522 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.7554, allocations: 5.656 kB / 0.9522 GB, free: 19.09 MB / 0.7481 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.000159/0.7556, allocations: 161.2 kB / 0.9524 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.7556, allocations: 36.03 kB / 0.9524 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.544e-05/0.7557, allocations: 35.3 kB / 0.9524 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.7557, allocations: 6.469 kB / 0.9524 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.7557, allocations: 0.5312 kB / 0.9524 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.7557, allocations: 2.016 kB / 0.9524 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005805/0.7563, allocations: 402.3 kB / 0.9528 GB, free: 18.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7563, allocations: 0 / 0.9528 GB, free: 18.76 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.7565, allocations: 35.39 kB / 0.9528 GB, free: 18.76 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000225/0.7568, allocations: 46.77 kB / 0.9529 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.7568, allocations: 6.625 kB / 0.9529 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.758, allocations: 1.513 MB / 0.9544 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.758, allocations: 0.7969 kB / 0.9544 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005528/0.7585, allocations: 414.5 kB / 0.9548 GB, free: 17.23 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.7587, allocations: 132.7 kB / 0.9549 GB, free: 17.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.7587, allocations: 12.53 kB / 0.9549 GB, free: 17.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/0.759, allocations: 18.62 kB / 0.9549 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.7591, allocations: 10.02 kB / 0.9549 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.7591, allocations: 11.19 kB / 0.9549 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002261/0.7593, allocations: 213.3 kB / 0.9551 GB, free: 17.03 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7593, allocations: 0 / 0.9551 GB, free: 17.03 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000454/0.7598, allocations: 100 kB / 0.9552 GB, free: 17.02 MB / 0.7481 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.0001949/0.76, allocations: 115.2 kB / 0.9554 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000358/0.7604, allocations: 178.6 kB / 0.9555 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.7604, allocations: 1.625 kB / 0.9555 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002978/0.7607, allocations: 210.8 kB / 0.9557 GB, free: 16.81 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009869/0.7617, allocations: 200.5 kB / 0.9559 GB, free: 16.78 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.763, allocations: 0.8423 MB / 0.9567 GB, free: 16.24 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.7634, allocations: 0.7936 MB / 0.9575 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003004/0.7637, allocations: 60.5 kB / 0.9576 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.393e-05/0.7638, allocations: 25.84 kB / 0.9576 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of SimCode: time 3.61e-07/0.7638, allocations: 0.5 kB / 0.9576 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of Templates: time 0.01079/0.7746, allocations: 6.113 MB / 0.9636 GB, free: 15.16 MB / 0.7481 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)