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.001208/0.001208, allocations: 105.2 kB / 16.27 MB, free: 5.98 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.001257/0.001258, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.327/1.327, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002149/0.00215, allocations: 293.2 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.933/0.933, allocations: 169.3 MB / 0.4988 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 99.67 kB / 0.5959 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1655, allocations: 86.97 MB / 0.6808 GB, free: 8.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002723/0.1682, allocations: 1.293 MB / 0.6821 GB, free: 6.871 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000572/0.1688, allocations: 302.9 kB / 0.6824 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.364e-05/0.1689, allocations: 0 / 0.6824 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.828e-05/0.169, allocations: 3.938 kB / 0.6824 GB, free: 6.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.533e-05/0.1691, allocations: 7.922 kB / 0.6824 GB, free: 6.562 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.1694, allocations: 83.72 kB / 0.6825 GB, free: 6.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.308e-05/0.1695, allocations: 35.91 kB / 0.6825 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.1695, allocations: 3.984 kB / 0.6825 GB, free: 6.441 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.621e-05/0.1696, allocations: 23.88 kB / 0.6825 GB, free: 6.418 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.012e-05/0.1697, allocations: 15.92 kB / 0.6826 GB, free: 6.402 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.1697, allocations: 0 / 0.6826 GB, free: 6.402 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.1699, allocations: 83.91 kB / 0.6826 GB, free: 6.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.1699, allocations: 3.938 kB / 0.6826 GB, free: 6.316 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.1699, allocations: 11.94 kB / 0.6827 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.1701, allocations: 76.06 kB / 0.6827 GB, free: 6.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1701, allocations: 0 / 0.6827 GB, free: 6.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1701, allocations: 0 / 0.6827 GB, free: 6.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.299e-06/0.1701, allocations: 0 / 0.6827 GB, free: 6.23 MB / 494.1 MB 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.000374/0.1705, allocations: 355.4 kB / 0.6831 GB, free: 5.836 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1705, allocations: 12.03 kB / 0.6831 GB, free: 5.824 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.1706, allocations: 4.938 kB / 0.6831 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.1707, allocations: 172.3 kB / 0.6832 GB, free: 5.613 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.1707, allocations: 4.375 kB / 0.6832 GB, free: 5.609 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.1708, allocations: 384 / 0.6832 GB, free: 5.609 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.1709, allocations: 45.75 kB / 0.6833 GB, free: 5.559 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.1709, allocations: 0 / 0.6833 GB, free: 5.559 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.629e-06/0.1709, allocations: 0 / 0.6833 GB, free: 5.559 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1709, allocations: 0 / 0.6833 GB, free: 5.559 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.324e-05/0.1709, allocations: 15.98 kB / 0.6833 GB, free: 5.543 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.1711, allocations: 161.7 kB / 0.6835 GB, free: 5.336 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.1712, allocations: 30.58 kB / 0.6835 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.735e-05/0.1713, allocations: 16.84 kB / 0.6835 GB, free: 5.277 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/0.1724, allocations: 1.183 MB / 0.6847 GB, free: 3.836 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.1725, allocations: 42.5 kB / 0.6847 GB, free: 3.785 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.775e-06/0.1725, allocations: 0 / 0.6847 GB, free: 3.785 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001542/0.1726, allocations: 57.53 kB / 0.6848 GB, free: 3.723 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.1727, allocations: 51.41 kB / 0.6848 GB, free: 3.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.1728, allocations: 105.8 kB / 0.6849 GB, free: 3.547 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.1728, allocations: 25.7 kB / 0.6849 GB, free: 3.516 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.325e-05/0.1728, allocations: 84.14 kB / 0.685 GB, free: 3.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.1729, allocations: 11.91 kB / 0.685 GB, free: 3.418 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.1729, allocations: 17.66 kB / 0.685 GB, free: 3.395 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.173, allocations: 314.8 kB / 0.6853 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.173, allocations: 7.938 kB / 0.6853 GB, free: 3.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.286e-05/0.1731, allocations: 4 kB / 0.6854 GB, free: 3.066 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.1731, allocations: 17.14 kB / 0.6854 GB, free: 3.047 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1731, allocations: 0 / 0.6854 GB, free: 3.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.72e-05/0.1732, allocations: 53.61 kB / 0.6854 GB, free: 2.988 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1732, allocations: 8 kB / 0.6854 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1732, allocations: 0 / 0.6854 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1732, allocations: 0 / 0.6854 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.889e-05/0.1733, allocations: 4 kB / 0.6854 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1733, allocations: 3.938 kB / 0.6854 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.451e-05/0.1733, allocations: 11.91 kB / 0.6854 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.1733, allocations: 7.984 kB / 0.6855 GB, free: 2.953 MB / 494.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 (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.139e-05/0.1734, allocations: 105.8 kB / 0.6856 GB, free: 2.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.1734, allocations: 7.938 kB / 0.6856 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.1736, allocations: 57.59 kB / 0.6856 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1736, allocations: 4 kB / 0.6856 GB, free: 2.762 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1736, allocations: 0 / 0.6856 GB, free: 2.762 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1736, allocations: 0 / 0.6856 GB, free: 2.762 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.1737, allocations: 153.7 kB / 0.6858 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1737, allocations: 3.984 kB / 0.6858 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.052e-05/0.1738, allocations: 11.94 kB / 0.6858 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1738, allocations: 4 kB / 0.6858 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.1738, allocations: 0 / 0.6858 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1738, allocations: 3.938 kB / 0.6858 GB, free: 2.539 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1738, allocations: 0 / 0.6858 GB, free: 2.539 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.432e-05/0.1739, allocations: 73.03 kB / 0.6859 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-05/0.174, allocations: 89.03 kB / 0.6859 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.174, allocations: 7.938 kB / 0.686 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.84e-05/0.174, allocations: 0 / 0.686 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/0.174, allocations: 4 kB / 0.686 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.1741, allocations: 4 kB / 0.686 GB, free: 2.328 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.079e-05/0.1741, allocations: 87.27 kB / 0.686 GB, free: 2.242 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1741, allocations: 0 / 0.686 GB, free: 2.242 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002239/0.1743, allocations: 27.94 kB / 0.6861 GB, free: 2.215 MB / 494.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 (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.0001706/0.1745, allocations: 127.2 kB / 0.6862 GB, free: 2.082 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.707e-05/0.1746, allocations: 19.92 kB / 0.6862 GB, free: 2.062 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1746, allocations: 0 / 0.6862 GB, free: 2.062 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.829e-05/0.1746, allocations: 12 kB / 0.6862 GB, free: 2.051 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.1749, allocations: 9.062 kB / 0.6862 GB, free: 2.043 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.1751, allocations: 147.8 kB / 0.6864 GB, free: 1.867 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.1754, allocations: 0.6807 MB / 0.687 GB, free: 1.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.055e-05/0.1754, allocations: 7.438 kB / 0.687 GB, free: 1.152 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1754, allocations: 3.938 kB / 0.687 GB, free: 1.148 MB / 494.1 MB Notification: Performance of Templates: time 0.002071/0.1775, allocations: 0.7382 MB / 0.6878 GB, free: 424 kB / 494.1 MB 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)