Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001392/0.001392, allocations: 103.2 kB / 16.41 MB, free: 6.441 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.001358/0.001358, allocations: 184.3 kB / 17.34 MB, free: 5.711 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8795/0.8795, allocations: 135.2 MB / 426.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 72.09 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1594, allocations: 80.93 MB / 0.6654 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00242/0.1618, allocations: 1.257 MB / 0.6666 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003464/0.1621, allocations: 123.8 kB / 0.6667 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.908e-05/0.1621, allocations: 0 / 0.6667 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.506e-05/0.1622, allocations: 4 kB / 0.6667 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.144e-05/0.1622, allocations: 7.922 kB / 0.6667 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.1625, allocations: 35.89 kB / 0.6668 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.316e-05/0.1625, allocations: 11.94 kB / 0.6668 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.1626, allocations: 0 / 0.6668 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.841e-05/0.1626, allocations: 19.91 kB / 0.6668 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.456e-05/0.1626, allocations: 4 kB / 0.6668 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.1627, allocations: 0 / 0.6668 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.1628, allocations: 51.94 kB / 0.6668 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.1628, allocations: 4 kB / 0.6668 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.1629, allocations: 7.938 kB / 0.6668 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.163, allocations: 35.88 kB / 0.6669 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.163, allocations: 0 / 0.6669 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.163, allocations: 0 / 0.6669 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.163, allocations: 0 / 0.6669 GB, free: 4.227 MB / 0.4981 GB 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.0004778/0.1635, allocations: 335.5 kB / 0.6672 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1635, allocations: 9.109 kB / 0.6672 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.1636, allocations: 16.83 kB / 0.6672 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.1638, allocations: 172.2 kB / 0.6674 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1638, allocations: 4.312 kB / 0.6674 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.1638, allocations: 384 / 0.6674 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.1639, allocations: 37.64 kB / 0.6674 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.1639, allocations: 0 / 0.6674 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.1639, allocations: 0 / 0.6674 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1639, allocations: 0 / 0.6674 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.952e-05/0.1639, allocations: 4 kB / 0.6674 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.1641, allocations: 157.7 kB / 0.6676 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.168e-05/0.1642, allocations: 22.55 kB / 0.6676 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.407e-05/0.1642, allocations: 12.91 kB / 0.6676 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007805/0.165, allocations: 0.609 MB / 0.6682 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.165, allocations: 30.56 kB / 0.6682 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 3.496e-06/0.165, allocations: 7.984 kB / 0.6682 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001623/0.1652, allocations: 37.69 kB / 0.6683 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.1652, allocations: 59.41 kB / 0.6683 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.1653, allocations: 97.8 kB / 0.6684 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.1654, allocations: 25.7 kB / 0.6685 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/0.1654, allocations: 80.14 kB / 0.6685 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.1654, allocations: 7.953 kB / 0.6685 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.1654, allocations: 17.7 kB / 0.6686 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.1656, allocations: 315 kB / 0.6689 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.1656, allocations: 0 / 0.6689 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.716e-06/0.1656, allocations: 4 kB / 0.6689 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.158e-05/0.1657, allocations: 12.86 kB / 0.6689 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1657, allocations: 0 / 0.6689 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.193e-05/0.1657, allocations: 49.62 kB / 0.6689 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1657, allocations: 4 kB / 0.6689 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1658, allocations: 0 / 0.6689 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.1658, allocations: 8.031 kB / 0.6689 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.661e-05/0.1658, allocations: 8 kB / 0.6689 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1658, allocations: 0 / 0.6689 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.961e-05/0.1659, allocations: 3.953 kB / 0.6689 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.1659, allocations: 0 / 0.6689 GB, free: 1.758 MB / 0.4981 GB 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 8.834e-05/0.1659, allocations: 109.8 kB / 0.6691 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-06/0.166, allocations: 3.938 kB / 0.6691 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.1661, allocations: 48.75 kB / 0.6691 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1661, allocations: 4.031 kB / 0.6691 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1661, allocations: 0 / 0.6691 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1661, allocations: 4 kB / 0.6691 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.1662, allocations: 149.7 kB / 0.6693 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.1662, allocations: 11.88 kB / 0.6693 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.227e-05/0.1662, allocations: 3.938 kB / 0.6693 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1662, allocations: 0 / 0.6693 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1662, allocations: 4 kB / 0.6693 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1662, allocations: 3.984 kB / 0.6693 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1662, allocations: 0 / 0.6693 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.718e-05/0.1663, allocations: 61.14 kB / 0.6693 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.1664, allocations: 81.05 kB / 0.6694 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.1664, allocations: 7.984 kB / 0.6694 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.518e-05/0.1664, allocations: 0 / 0.6694 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.1664, allocations: 0 / 0.6694 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.1664, allocations: 0 / 0.6694 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.879e-05/0.1665, allocations: 83.28 kB / 0.6695 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.1665, allocations: 0 / 0.6695 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001999/0.1667, allocations: 19.97 kB / 0.6695 GB, free: 1.066 MB / 0.4981 GB 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.0001917/0.1669, allocations: 111.2 kB / 0.6696 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.879e-05/0.167, allocations: 11.94 kB / 0.6696 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.167, allocations: 0 / 0.6696 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.168e-05/0.167, allocations: 4 kB / 0.6696 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.1672, allocations: 17.8 kB / 0.6697 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.1676, allocations: 139.8 kB / 0.6698 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.1679, allocations: 0.669 MB / 0.6704 GB, free: 52 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.1679, allocations: 11.44 kB / 0.6705 GB, free: 40 kB / 0.4981 GB Notification: Performance of SimCode: time 6.81e-07/0.1679, allocations: 0 / 0.6705 GB, free: 40 kB / 0.4981 GB Notification: Performance of Templates: time 0.002271/0.1702, allocations: 0.6131 MB / 0.6711 GB, free: 15.42 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)