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.001546/0.001546, allocations: 101 kB / 16.27 MB, free: 6.418 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.00187/0.00187, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.555/1.555, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.805/1.805, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001694/0.001694, allocations: 66.56 kB / 0.6721 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2636, allocations: 114.5 MB / 0.784 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6685/0.9322, allocations: 162.4 MB / 0.9426 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004967/0.9372, allocations: 2.902 MB / 0.9454 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004924/0.9378, allocations: 15.94 kB / 0.9454 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007513/0.9386, allocations: 202.8 kB / 0.9456 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001836/0.9404, allocations: 0.768 MB / 0.9464 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008074/0.9412, allocations: 331.8 kB / 0.9467 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00113/0.9424, allocations: 0.9279 MB / 0.9476 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000353/0.9427, allocations: 250.3 kB / 0.9478 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005309/0.9433, allocations: 334.6 kB / 0.9482 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008126/0.9441, allocations: 294.6 kB / 0.9484 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.062e-05/0.9442, allocations: 32 kB / 0.9485 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.9454, allocations: 0.643 MB / 0.9491 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.9456, allocations: 135.6 kB / 0.9492 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.9458, allocations: 211 kB / 0.9494 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.9469, allocations: 0.7402 MB / 0.9502 GB, free: 436 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.947, allocations: 0 / 0.9502 GB, free: 436 kB / 0.7325 GB Notification: Performance of FrontEnd: time 2.595e-06/0.947, allocations: 0 / 0.9502 GB, free: 436 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.947, allocations: 0 / 0.9502 GB, free: 436 kB / 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.001201/0.9482, allocations: 0.7077 MB / 0.9508 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.9482, allocations: 8.031 kB / 0.9509 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.9493, allocations: 143.4 kB / 0.951 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006307/0.95, allocations: 394.4 kB / 0.9514 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.95, allocations: 24.55 kB / 0.9514 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-05/0.9501, allocations: 29.91 kB / 0.9514 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.9506, allocations: 271.7 kB / 0.9517 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.9506, allocations: 0 / 0.9517 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.9506, allocations: 16 kB / 0.9517 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.9507, allocations: 8.562 kB / 0.9517 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003325/0.951, allocations: 198.1 kB / 0.9519 GB, free: 14.55 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.001784/0.9528, allocations: 1.319 MB / 0.9532 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004101/0.9532, allocations: 194.8 kB / 0.9534 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.9534, allocations: 92.77 kB / 0.9535 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.9534, allocations: 0 / 0.9535 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.9534, allocations: 44.19 kB / 0.9535 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.352e-06/0.9534, allocations: 0 / 0.9535 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.001018/0.9545, allocations: 399.3 kB / 0.9539 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.9545, allocations: 60.81 kB / 0.9539 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/0.9549, allocations: 296.5 kB / 0.9542 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.9549, allocations: 29.7 kB / 0.9542 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.9551, allocations: 188.4 kB / 0.9544 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.989e-05/0.9552, allocations: 74.95 kB / 0.9545 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.493e-05/0.9552, allocations: 41.7 kB / 0.9545 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.9554, allocations: 334.8 kB / 0.9549 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.9555, allocations: 63.97 kB / 0.9549 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.9557, allocations: 131.9 kB / 0.955 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.956, allocations: 196.1 kB / 0.9552 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.956, allocations: 0 / 0.9552 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003657/0.9563, allocations: 246.3 kB / 0.9555 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.9564, allocations: 9.656 kB / 0.9555 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.9564, allocations: 4 kB / 0.9555 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.9564, allocations: 4.188 kB / 0.9555 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.9566, allocations: 49.89 kB / 0.9555 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.9566, allocations: 4 kB / 0.9555 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/0.9569, allocations: 11.84 kB / 0.9555 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.9569, allocations: 12 kB / 0.9556 GB, free: 10.51 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.0001829/0.9571, allocations: 157.8 kB / 0.9557 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.252e-05/0.9572, allocations: 39.55 kB / 0.9557 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.024e-05/0.9573, allocations: 38.36 kB / 0.9558 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.9573, allocations: 4 kB / 0.9558 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.9573, allocations: 5.875 kB / 0.9558 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.9573, allocations: 0 / 0.9558 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000537/0.9579, allocations: 401.2 kB / 0.9562 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.9579, allocations: 0 / 0.9562 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.9581, allocations: 39.92 kB / 0.9562 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002443/0.9583, allocations: 44.75 kB / 0.9563 GB, free: 9.734 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.9584, allocations: 11.94 kB / 0.9563 GB, free: 9.723 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/0.9598, allocations: 1.514 MB / 0.9577 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.9598, allocations: 0 / 0.9577 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006003/0.9604, allocations: 415.2 kB / 0.9581 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.9606, allocations: 136.7 kB / 0.9583 GB, free: 7.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.9606, allocations: 3.938 kB / 0.9583 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.9609, allocations: 8 kB / 0.9583 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.961, allocations: 20.78 kB / 0.9583 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.961, allocations: 8 kB / 0.9583 GB, free: 7.461 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002474/0.9612, allocations: 215.1 kB / 0.9585 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9612, allocations: 0 / 0.9585 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004799/0.9617, allocations: 99.84 kB / 0.9586 GB, free: 7.156 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.0002249/0.962, allocations: 111.8 kB / 0.9587 GB, free: 7.039 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000361/0.9623, allocations: 178 kB / 0.9589 GB, free: 6.867 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.9623, allocations: 0 / 0.9589 GB, free: 6.867 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003409/0.9627, allocations: 204.2 kB / 0.9591 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.9637, allocations: 200.1 kB / 0.9593 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.9653, allocations: 0.7629 MB / 0.96 GB, free: 5.703 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/0.9659, allocations: 0.796 MB / 0.9608 GB, free: 4.883 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.592e-05/0.966, allocations: 23.44 kB / 0.9608 GB, free: 4.863 MB / 0.7481 GB Notification: Performance of SimCode: time 9.22e-07/0.966, allocations: 4 kB / 0.9608 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of Templates: time 0.009683/0.9757, allocations: 5.716 MB / 0.9664 GB, free: 15.28 MB / 0.7637 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)