Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009849/0.0009851, allocations: 90.39 kB / 16.67 MB, free: 6.594 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.001095/0.001095, allocations: 183 kB / 17.58 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.3 MB / 241.6 MB, free: 240 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7531/0.7531, allocations: 115.5 MB / 408.2 MB, free: 7.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003582, allocations: 12 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.4544, allocations: 77.52 MB / 0.5606 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001383/0.4558, allocations: 0.98 MB / 0.5615 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003295/0.4561, allocations: 125.6 kB / 0.5617 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.699e-05/0.4562, allocations: 1.281 kB / 0.5617 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.4562, allocations: 4.641 kB / 0.5617 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.41e-05/0.4563, allocations: 5.75 kB / 0.5617 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.4565, allocations: 27.28 kB / 0.5617 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.91e-05/0.4565, allocations: 14.27 kB / 0.5617 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.311e-05/0.4566, allocations: 2.109 kB / 0.5617 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.583e-05/0.4566, allocations: 7.438 kB / 0.5617 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.952e-05/0.4567, allocations: 13.19 kB / 0.5617 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.4567, allocations: 1.188 kB / 0.5617 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.4568, allocations: 49.61 kB / 0.5618 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.4569, allocations: 6.203 kB / 0.5618 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.4569, allocations: 27.72 kB / 0.5618 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.973e-05/0.457, allocations: 27.06 kB / 0.5618 GB, free: 35.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.457, allocations: 1.031 kB / 0.5618 GB, free: 35.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.457, allocations: 0 / 0.5618 GB, free: 35.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.457, allocations: 0 / 0.5618 GB, free: 35.34 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003017/0.4573, allocations: 331.6 kB / 0.5622 GB, free: 34.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.4574, allocations: 13.34 kB / 0.5622 GB, free: 34.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.4574, allocations: 4.875 kB / 0.5622 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.978e-05/0.4575, allocations: 171.2 kB / 0.5623 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.4575, allocations: 3.281 kB / 0.5623 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.4576, allocations: 2.297 kB / 0.5623 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.31e-05/0.4576, allocations: 33.62 kB / 0.5624 GB, free: 34.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.4576, allocations: 2.125 kB / 0.5624 GB, free: 34.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.4577, allocations: 0.6562 kB / 0.5624 GB, free: 34.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.4577, allocations: 1.875 kB / 0.5624 GB, free: 34.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.364e-05/0.4577, allocations: 12.59 kB / 0.5624 GB, free: 34.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.4578, allocations: 147.2 kB / 0.5625 GB, free: 34.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.875e-05/0.4579, allocations: 26.27 kB / 0.5626 GB, free: 34.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.799e-05/0.4579, allocations: 8.219 kB / 0.5626 GB, free: 34.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006055/0.4585, allocations: 0.618 MB / 0.5632 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.4586, allocations: 37.25 kB / 0.5632 GB, free: 33.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4586, allocations: 0 / 0.5632 GB, free: 33.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001422/0.4587, allocations: 41.52 kB / 0.5632 GB, free: 33.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.4587, allocations: 55 kB / 0.5633 GB, free: 33.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.384e-05/0.4588, allocations: 99.7 kB / 0.5634 GB, free: 33.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.4588, allocations: 25.7 kB / 0.5634 GB, free: 33.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.921e-05/0.4589, allocations: 81.28 kB / 0.5635 GB, free: 33.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.4589, allocations: 6.781 kB / 0.5635 GB, free: 33.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.007e-05/0.4589, allocations: 15.34 kB / 0.5635 GB, free: 33.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.362e-05/0.459, allocations: 313 kB / 0.5638 GB, free: 33.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.459, allocations: 2.5 kB / 0.5638 GB, free: 33.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.796e-06/0.459, allocations: 3.609 kB / 0.5638 GB, free: 33.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.109e-05/0.459, allocations: 16.5 kB / 0.5638 GB, free: 33.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.459, allocations: 3.938 kB / 0.5638 GB, free: 33.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.202e-05/0.4591, allocations: 43.52 kB / 0.5639 GB, free: 33.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.4591, allocations: 4.312 kB / 0.5639 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.4591, allocations: 2.172 kB / 0.5639 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.4592, allocations: 0 / 0.5639 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.889e-05/0.4592, allocations: 7.531 kB / 0.5639 GB, free: 33.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.4592, allocations: 3.938 kB / 0.5639 GB, free: 33.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.759e-05/0.4592, allocations: 1.375 kB / 0.5639 GB, free: 33.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.4593, allocations: 0.7031 kB / 0.5639 GB, free: 33.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 4.87e-05/0.4593, allocations: 112.6 kB / 0.564 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-06/0.4593, allocations: 5.906 kB / 0.564 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.08e-05/0.4594, allocations: 49.94 kB / 0.5641 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.4594, allocations: 1.219 kB / 0.5641 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4594, allocations: 1.094 kB / 0.5641 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.4594, allocations: 0.7969 kB / 0.5641 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.932e-05/0.4595, allocations: 153.4 kB / 0.5642 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4595, allocations: 3.938 kB / 0.5642 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.4596, allocations: 8.297 kB / 0.5642 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4596, allocations: 1.156 kB / 0.5642 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.4596, allocations: 0.6562 kB / 0.5642 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4596, allocations: 2.562 kB / 0.5642 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4596, allocations: 0 / 0.5642 GB, free: 32.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.922e-05/0.4597, allocations: 70.81 kB / 0.5643 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.4597, allocations: 82.61 kB / 0.5644 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.4597, allocations: 2.156 kB / 0.5644 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.561e-05/0.4597, allocations: 1.469 kB / 0.5644 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.4598, allocations: 1.641 kB / 0.5644 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.4598, allocations: 1 kB / 0.5644 GB, free: 32.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.328e-05/0.4598, allocations: 80.42 kB / 0.5645 GB, free: 32.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4598, allocations: 0.8438 kB / 0.5645 GB, free: 32.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002022/0.46, allocations: 16.97 kB / 0.5645 GB, free: 32.48 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001495/0.4602, allocations: 114.4 kB / 0.5646 GB, free: 32.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.652e-05/0.4602, allocations: 8.266 kB / 0.5646 GB, free: 32.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4603, allocations: 2.062 kB / 0.5646 GB, free: 32.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.213e-05/0.4603, allocations: 5.656 kB / 0.5646 GB, free: 32.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.4605, allocations: 8.062 kB / 0.5646 GB, free: 32.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/0.4608, allocations: 144.5 kB / 0.5647 GB, free: 32.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.4609, allocations: 0.6743 MB / 0.5654 GB, free: 31.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.522e-05/0.4609, allocations: 10.81 kB / 0.5654 GB, free: 31.53 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4609, allocations: 0 / 0.5654 GB, free: 31.53 MB / 446.1 MB Notification: Performance of Templates: time 0.002108/0.463, allocations: 0.6057 MB / 0.566 GB, free: 31.51 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)