Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.008271/0.008271, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.00154/0.00154, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7705/0.7705, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 57.59 kB / 0.5813 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1662, allocations: 80.22 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002634/0.1689, allocations: 1.256 MB / 0.6609 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003267/0.1692, allocations: 123.8 kB / 0.661 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.857e-05/0.1693, allocations: 0 / 0.661 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.178e-05/0.1693, allocations: 0 / 0.661 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.672e-05/0.1694, allocations: 7.938 kB / 0.661 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.1697, allocations: 39.89 kB / 0.6611 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.118e-05/0.1698, allocations: 19.92 kB / 0.6611 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.1698, allocations: 3.984 kB / 0.6611 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.402e-05/0.1698, allocations: 7.938 kB / 0.6611 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.568e-05/0.1699, allocations: 4 kB / 0.6611 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.1699, allocations: 3.938 kB / 0.6611 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.1701, allocations: 51.94 kB / 0.6611 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.1701, allocations: 4 kB / 0.6612 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.1701, allocations: 7.938 kB / 0.6612 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.1702, allocations: 35.94 kB / 0.6612 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1703, allocations: 0 / 0.6612 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1703, allocations: 0 / 0.6612 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.1703, allocations: 0 / 0.6612 GB, free: 8.688 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.0004572/0.1707, allocations: 335.5 kB / 0.6615 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1708, allocations: 8.031 kB / 0.6615 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.1708, allocations: 0.9375 kB / 0.6615 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.171, allocations: 176.3 kB / 0.6617 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.171, allocations: 4.375 kB / 0.6617 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.171, allocations: 4.312 kB / 0.6617 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.99e-05/0.1711, allocations: 33.64 kB / 0.6617 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1711, allocations: 7.922 kB / 0.6617 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1711, allocations: 0 / 0.6617 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1711, allocations: 0 / 0.6617 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.541e-05/0.1712, allocations: 11.92 kB / 0.6618 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.1714, allocations: 153.7 kB / 0.6619 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.811e-05/0.1714, allocations: 26.59 kB / 0.6619 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.1714, allocations: 8.922 kB / 0.6619 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007444/0.1722, allocations: 0.6051 MB / 0.6625 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.1722, allocations: 30.56 kB / 0.6626 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.1722, allocations: 0 / 0.6626 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001615/0.1724, allocations: 53.62 kB / 0.6626 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.1724, allocations: 51.41 kB / 0.6627 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.596e-05/0.1725, allocations: 97.86 kB / 0.6627 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.1725, allocations: 25.7 kB / 0.6628 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/0.1726, allocations: 80.14 kB / 0.6628 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.1726, allocations: 7.891 kB / 0.6629 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.1727, allocations: 13.72 kB / 0.6629 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1728, allocations: 315 kB / 0.6632 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.587e-05/0.1728, allocations: 8 kB / 0.6632 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.235e-06/0.1728, allocations: 0 / 0.6632 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.007e-05/0.1728, allocations: 12.86 kB / 0.6632 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1729, allocations: 4 kB / 0.6632 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.247e-05/0.1729, allocations: 45.56 kB / 0.6632 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.173, allocations: 4 kB / 0.6632 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.173, allocations: 0 / 0.6632 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.173, allocations: 0 / 0.6632 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.384e-05/0.173, allocations: 8.094 kB / 0.6632 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1731, allocations: 0 / 0.6632 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.1731, allocations: 3.938 kB / 0.6632 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1731, allocations: 4 kB / 0.6633 GB, free: 6.227 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 7.069e-05/0.1732, allocations: 110.7 kB / 0.6634 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.1732, allocations: 7.922 kB / 0.6634 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.1733, allocations: 48.77 kB / 0.6634 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.1733, allocations: 7.938 kB / 0.6634 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1733, allocations: 4.031 kB / 0.6634 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1733, allocations: 0 / 0.6634 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.1734, allocations: 149.7 kB / 0.6636 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1734, allocations: 3.938 kB / 0.6636 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.128e-05/0.1735, allocations: 0 / 0.6636 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.1735, allocations: 4 kB / 0.6636 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1735, allocations: 3.984 kB / 0.6636 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1735, allocations: 0 / 0.6636 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1735, allocations: 3.938 kB / 0.6636 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.357e-05/0.1736, allocations: 65.05 kB / 0.6636 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.1736, allocations: 89.05 kB / 0.6637 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.1737, allocations: 3.984 kB / 0.6637 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.583e-05/0.1737, allocations: 3.938 kB / 0.6637 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/0.1737, allocations: 0 / 0.6637 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.1737, allocations: 0 / 0.6637 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.686e-05/0.1738, allocations: 79.28 kB / 0.6638 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1738, allocations: 0 / 0.6638 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001939/0.174, allocations: 12 kB / 0.6638 GB, free: 5.535 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.0001715/0.1741, allocations: 119.2 kB / 0.6639 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.054e-05/0.1742, allocations: 12 kB / 0.6639 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1742, allocations: 0 / 0.6639 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.168e-05/0.1743, allocations: 4 kB / 0.664 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.1745, allocations: 14.66 kB / 0.664 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.1748, allocations: 118.1 kB / 0.6641 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.1751, allocations: 0.669 MB / 0.6647 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.577e-05/0.1751, allocations: 4 kB / 0.6647 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.813e-05/0.1751, allocations: 7.438 kB / 0.6647 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.1751, allocations: 0 / 0.6647 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of Templates: time 0.002921/0.178, allocations: 0.5942 MB / 0.6653 GB, free: 3.941 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)