Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00894/0.008939, allocations: 99.27 kB / 15.73 MB, free: 6.051 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.001376/0.001376, allocations: 197.2 kB / 16.67 MB, free: 5.977 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002221/0.002221, allocations: 274.6 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.989/0.989, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 103.8 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1652, allocations: 86.97 MB / 0.7664 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002499/0.1678, allocations: 1.294 MB / 0.7676 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005724/0.1684, allocations: 295 kB / 0.7679 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.134e-05/0.1684, allocations: 0 / 0.7679 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.483e-05/0.1684, allocations: 7.922 kB / 0.7679 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.1686, allocations: 11.92 kB / 0.7679 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.1689, allocations: 87.7 kB / 0.768 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.871e-05/0.1689, allocations: 31.86 kB / 0.7681 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.169, allocations: 4 kB / 0.7681 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.1691, allocations: 27.91 kB / 0.7681 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.945e-05/0.1692, allocations: 15.94 kB / 0.7681 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.1692, allocations: 0 / 0.7681 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.1693, allocations: 79.91 kB / 0.7682 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.1694, allocations: 15.97 kB / 0.7682 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/0.1694, allocations: 11.88 kB / 0.7682 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.1695, allocations: 71.78 kB / 0.7683 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1696, allocations: 4 kB / 0.7683 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.384e-06/0.1696, allocations: 0 / 0.7683 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.1696, allocations: 0 / 0.7683 GB, free: 6.492 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004532/0.17, allocations: 363.3 kB / 0.7686 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1701, allocations: 8.031 kB / 0.7686 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.1701, allocations: 0.9375 kB / 0.7686 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.1703, allocations: 176.2 kB / 0.7688 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1703, allocations: 4.312 kB / 0.7688 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.1703, allocations: 4.375 kB / 0.7688 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.1704, allocations: 37.62 kB / 0.7688 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1704, allocations: 3.984 kB / 0.7689 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1704, allocations: 4 kB / 0.7689 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1704, allocations: 4 kB / 0.7689 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.052e-05/0.1705, allocations: 8 kB / 0.7689 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.1707, allocations: 153.7 kB / 0.769 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.1708, allocations: 38.55 kB / 0.7691 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/0.1708, allocations: 12.92 kB / 0.7691 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/0.1719, allocations: 1.191 MB / 0.7702 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.172, allocations: 34.5 kB / 0.7703 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.172, allocations: 0 / 0.7703 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0001424/0.1721, allocations: 49.69 kB / 0.7703 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.1722, allocations: 51.41 kB / 0.7704 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.717e-05/0.1722, allocations: 109.8 kB / 0.7705 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.1723, allocations: 29.64 kB / 0.7705 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.684e-05/0.1723, allocations: 84.14 kB / 0.7706 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.1723, allocations: 11.81 kB / 0.7706 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.1724, allocations: 17.66 kB / 0.7706 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1725, allocations: 314.8 kB / 0.7709 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.1725, allocations: 8 kB / 0.7709 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.231e-05/0.1725, allocations: 4 kB / 0.7709 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.481e-05/0.1726, allocations: 20.86 kB / 0.7709 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1726, allocations: 0 / 0.7709 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.694e-05/0.1726, allocations: 49.62 kB / 0.771 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1727, allocations: 4 kB / 0.771 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1727, allocations: 0 / 0.771 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1727, allocations: 0 / 0.771 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.086e-05/0.1727, allocations: 11.92 kB / 0.771 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1727, allocations: 4 kB / 0.771 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.769e-05/0.1728, allocations: 0 / 0.771 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.1728, allocations: 0 / 0.771 GB, free: 3.23 MB / 0.5606 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 (3): * Single equations (assignments): 3 * 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.874e-05/0.1729, allocations: 114.5 kB / 0.7711 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.1729, allocations: 7.844 kB / 0.7711 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.173, allocations: 57.59 kB / 0.7712 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.173, allocations: 4.375 kB / 0.7712 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.173, allocations: 3.984 kB / 0.7712 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.173, allocations: 0 / 0.7712 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.1731, allocations: 161.7 kB / 0.7713 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.1732, allocations: 11.92 kB / 0.7713 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.1732, allocations: 7.938 kB / 0.7713 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1732, allocations: 0 / 0.7713 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.1732, allocations: 0 / 0.7713 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1732, allocations: 0 / 0.7713 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.1732, allocations: 4 kB / 0.7714 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.047e-05/0.1733, allocations: 69.12 kB / 0.7714 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.1734, allocations: 92.94 kB / 0.7715 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.1734, allocations: 4 kB / 0.7715 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.799e-05/0.1734, allocations: 0 / 0.7715 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.1735, allocations: 4 kB / 0.7715 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.1735, allocations: 0 / 0.7715 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.919e-05/0.1735, allocations: 87.27 kB / 0.7716 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1735, allocations: 7.938 kB / 0.7716 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002154/0.1737, allocations: 27.94 kB / 0.7716 GB, free: 2.473 MB / 0.5606 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 (3): * Single equations (assignments): 3 * 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.000161/0.1739, allocations: 123.2 kB / 0.7717 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.635e-05/0.174, allocations: 27.92 kB / 0.7718 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.174, allocations: 0 / 0.7718 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.174, allocations: 4 kB / 0.7718 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.1742, allocations: 11.94 kB / 0.7718 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.1745, allocations: 122.2 kB / 0.7719 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.1747, allocations: 0.6845 MB / 0.7726 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.944e-05/0.1748, allocations: 12.53 kB / 0.7726 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.534e-05/0.1748, allocations: 7.438 kB / 0.7726 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1748, allocations: 0 / 0.7726 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of Templates: time 0.002691/0.1775, allocations: 0.7936 MB / 0.7734 GB, free: 0.6328 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)