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.00128/0.00128, allocations: 92.7 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002243/0.002243, allocations: 175.2 kB / 16.58 MB, free: 6.066 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.431/1.431, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.751/0.751, allocations: 115.5 MB / 407.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003566, allocations: 8 kB / 495.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1687, allocations: 77.54 MB / 0.5593 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001376/0.1701, allocations: 0.9697 MB / 0.5603 GB, free: 8.438 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002777/0.1704, allocations: 119.7 kB / 0.5604 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.1e-05/0.1705, allocations: 0 / 0.5604 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.154e-05/0.1705, allocations: 0 / 0.5604 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.547e-05/0.1706, allocations: 7.922 kB / 0.5604 GB, free: 8.312 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.1707, allocations: 23.91 kB / 0.5604 GB, free: 8.289 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.117e-05/0.1708, allocations: 19.94 kB / 0.5604 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.76e-05/0.1709, allocations: 3.984 kB / 0.5604 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.015e-05/0.1709, allocations: 4 kB / 0.5604 GB, free: 8.262 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.882e-05/0.1709, allocations: 4 kB / 0.5604 GB, free: 8.258 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.171, allocations: 3.938 kB / 0.5604 GB, free: 8.254 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.1711, allocations: 47.94 kB / 0.5605 GB, free: 8.207 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.1711, allocations: 7.984 kB / 0.5605 GB, free: 8.199 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.1711, allocations: 25.7 kB / 0.5605 GB, free: 8.168 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.661e-05/0.1712, allocations: 19.97 kB / 0.5605 GB, free: 8.148 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1712, allocations: 0 / 0.5605 GB, free: 8.148 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1712, allocations: 4 kB / 0.5605 GB, free: 8.145 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.808e-06/0.1712, allocations: 0 / 0.5605 GB, free: 8.145 MB / 430.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.0003568/0.1716, allocations: 331.6 kB / 0.5609 GB, free: 7.773 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1716, allocations: 8.031 kB / 0.5609 GB, free: 7.766 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.1717, allocations: 4 kB / 0.5609 GB, free: 7.762 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.1718, allocations: 167 kB / 0.561 GB, free: 7.559 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1718, allocations: 0 / 0.561 GB, free: 7.559 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.1718, allocations: 0 / 0.561 GB, free: 7.559 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.175e-05/0.1719, allocations: 41.56 kB / 0.5611 GB, free: 7.512 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.172, allocations: 7.953 kB / 0.5611 GB, free: 7.504 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.172, allocations: 0 / 0.5611 GB, free: 7.504 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.172, allocations: 4 kB / 0.5611 GB, free: 7.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.468e-05/0.172, allocations: 4 kB / 0.5611 GB, free: 7.496 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.1722, allocations: 149.7 kB / 0.5612 GB, free: 7.301 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.791e-05/0.1723, allocations: 30.61 kB / 0.5613 GB, free: 7.262 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.699e-05/0.1723, allocations: 4.859 kB / 0.5613 GB, free: 7.254 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006885/0.173, allocations: 0.613 MB / 0.5619 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.173, allocations: 38.56 kB / 0.5619 GB, free: 6.465 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.173, allocations: 3.938 kB / 0.5619 GB, free: 6.461 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001427/0.1732, allocations: 41.64 kB / 0.5619 GB, free: 6.414 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.1732, allocations: 51.41 kB / 0.562 GB, free: 6.352 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.647e-05/0.1733, allocations: 105.9 kB / 0.5621 GB, free: 6.238 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.1733, allocations: 25.7 kB / 0.5621 GB, free: 6.207 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.153e-05/0.1734, allocations: 84.14 kB / 0.5622 GB, free: 6.121 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.1734, allocations: 3.906 kB / 0.5622 GB, free: 6.117 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.1734, allocations: 0 / 0.5622 GB, free: 6.117 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1735, allocations: 318.8 kB / 0.5625 GB, free: 5.797 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.1735, allocations: 4 kB / 0.5625 GB, free: 5.793 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-06/0.1736, allocations: 0 / 0.5625 GB, free: 5.793 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.901e-05/0.1736, allocations: 8.062 kB / 0.5625 GB, free: 5.785 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1736, allocations: 0 / 0.5625 GB, free: 5.785 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.532e-05/0.1737, allocations: 41.64 kB / 0.5626 GB, free: 5.738 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1737, allocations: 4 kB / 0.5626 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1737, allocations: 0 / 0.5626 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1737, allocations: 3.984 kB / 0.5626 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.046e-05/0.1738, allocations: 7.953 kB / 0.5626 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1738, allocations: 0 / 0.5626 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.945e-05/0.1738, allocations: 4 kB / 0.5626 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-06/0.1738, allocations: 0 / 0.5626 GB, free: 5.719 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.937e-05/0.1739, allocations: 109.9 kB / 0.5627 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-06/0.1739, allocations: 0 / 0.5627 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.174, allocations: 52.75 kB / 0.5627 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.174, allocations: 0 / 0.5627 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.174, allocations: 7.891 kB / 0.5627 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.174, allocations: 0 / 0.5627 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.1741, allocations: 157.6 kB / 0.5629 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1742, allocations: 0 / 0.5629 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.414e-05/0.1742, allocations: 4 kB / 0.5629 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1742, allocations: 4.031 kB / 0.5629 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.1742, allocations: 4 kB / 0.5629 GB, free: 5.324 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1742, allocations: 0 / 0.5629 GB, free: 5.324 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1742, allocations: 0 / 0.5629 GB, free: 5.324 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.994e-05/0.1743, allocations: 68.98 kB / 0.563 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.1743, allocations: 85.05 kB / 0.563 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.1744, allocations: 0 / 0.563 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.728e-05/0.1744, allocations: 4.031 kB / 0.5631 GB, free: 5.133 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.1744, allocations: 192 / 0.5631 GB, free: 5.133 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.1744, allocations: 0 / 0.5631 GB, free: 5.133 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.555e-05/0.1745, allocations: 91.25 kB / 0.5631 GB, free: 5.043 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1745, allocations: 0 / 0.5631 GB, free: 5.043 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001984/0.1747, allocations: 15.95 kB / 0.5632 GB, free: 5.027 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001527/0.1748, allocations: 115.2 kB / 0.5633 GB, free: 4.902 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.346e-05/0.1749, allocations: 8 kB / 0.5633 GB, free: 4.895 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1749, allocations: 8 kB / 0.5633 GB, free: 4.887 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.345e-05/0.1749, allocations: 8 kB / 0.5633 GB, free: 4.879 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.1752, allocations: 6.031 kB / 0.5633 GB, free: 4.875 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.1754, allocations: 110.6 kB / 0.5634 GB, free: 4.742 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.1757, allocations: 0.677 MB / 0.5641 GB, free: 4.039 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.865e-05/0.1757, allocations: 4.062 kB / 0.5641 GB, free: 4.035 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.686e-05/0.1757, allocations: 11.44 kB / 0.5641 GB, free: 4.023 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1757, allocations: 0 / 0.5641 GB, free: 4.023 MB / 430.1 MB Notification: Performance of Templates: time 0.002498/0.1782, allocations: 0.5612 MB / 0.5646 GB, free: 3.465 MB / 430.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)