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.0008002/0.0008002, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005054/0.005054, allocations: 170 kB / 16.26 MB, free: 6.613 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.355/1.355, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001742/0.001742, allocations: 267.1 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9381/0.9381, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004006, allocations: 15.66 kB / 0.5987 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1637, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001438/0.1652, allocations: 1.007 MB / 0.6861 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006228/0.1658, allocations: 312.7 kB / 0.6864 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.1659, allocations: 0 / 0.6864 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.054e-05/0.1659, allocations: 10.45 kB / 0.6864 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.166, allocations: 7.922 kB / 0.6864 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.1663, allocations: 52.38 kB / 0.6865 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.656e-05/0.1664, allocations: 35.86 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.077e-05/0.1664, allocations: 5.172 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.1665, allocations: 33.22 kB / 0.6865 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.013e-05/0.1666, allocations: 13.75 kB / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.1666, allocations: 0 / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.1668, allocations: 79.91 kB / 0.6866 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.1668, allocations: 7.938 kB / 0.6866 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.226e-05/0.1669, allocations: 38.59 kB / 0.6867 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.167, allocations: 80.06 kB / 0.6868 GB, free: 13.37 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.167, allocations: 3.438 kB / 0.6868 GB, free: 13.37 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.167, allocations: 0 / 0.6868 GB, free: 13.37 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1671, allocations: 0 / 0.6868 GB, free: 13.37 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.0004096/0.1675, allocations: 341 kB / 0.6871 GB, free: 12.99 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1675, allocations: 8.031 kB / 0.6871 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.1676, allocations: 4.938 kB / 0.6871 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.1677, allocations: 168.3 kB / 0.6873 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1677, allocations: 4.375 kB / 0.6873 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.1677, allocations: 4.938 kB / 0.6873 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.1679, allocations: 44.19 kB / 0.6873 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.1679, allocations: 0 / 0.6873 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1679, allocations: 3.984 kB / 0.6873 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.1679, allocations: 4 kB / 0.6873 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.253e-05/0.1679, allocations: 11.98 kB / 0.6873 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.1681, allocations: 161.7 kB / 0.6875 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.933e-05/0.1682, allocations: 33.17 kB / 0.6875 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.55e-05/0.1683, allocations: 16.84 kB / 0.6875 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.1694, allocations: 1.189 MB / 0.6887 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.1694, allocations: 43.38 kB / 0.6887 GB, free: 10.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1694, allocations: 0 / 0.6887 GB, free: 10.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000154/0.1696, allocations: 50.22 kB / 0.6888 GB, free: 10.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.1696, allocations: 52.47 kB / 0.6888 GB, free: 10.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.846e-05/0.1697, allocations: 117.8 kB / 0.6889 GB, free: 10.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.1697, allocations: 26.7 kB / 0.689 GB, free: 10.67 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.1698, allocations: 80.14 kB / 0.689 GB, free: 10.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.1698, allocations: 15.81 kB / 0.6891 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.1698, allocations: 9.719 kB / 0.6891 GB, free: 10.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.17, allocations: 318.8 kB / 0.6894 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.17, allocations: 3.984 kB / 0.6894 GB, free: 10.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.122e-05/0.17, allocations: 4 kB / 0.6894 GB, free: 10.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.574e-05/0.17, allocations: 16.86 kB / 0.6894 GB, free: 10.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.17, allocations: 0 / 0.6894 GB, free: 10.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.629e-05/0.1701, allocations: 49.62 kB / 0.6894 GB, free: 10.15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1701, allocations: 5.719 kB / 0.6895 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1702, allocations: 4 kB / 0.6895 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.1702, allocations: 4 kB / 0.6895 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.974e-05/0.1702, allocations: 4 kB / 0.6895 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1702, allocations: 3.938 kB / 0.6895 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.617e-05/0.1703, allocations: 0 / 0.6895 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.1703, allocations: 0 / 0.6895 GB, free: 10.13 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.649e-05/0.1704, allocations: 119.1 kB / 0.6896 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-06/0.1704, allocations: 3.938 kB / 0.6896 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.1705, allocations: 65.5 kB / 0.6896 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.1705, allocations: 0 / 0.6896 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1705, allocations: 0 / 0.6896 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1705, allocations: 0 / 0.6896 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.1706, allocations: 157.7 kB / 0.6898 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1706, allocations: 384 / 0.6898 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.781e-05/0.1707, allocations: 11.92 kB / 0.6898 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1707, allocations: 0 / 0.6898 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.1707, allocations: 7.938 kB / 0.6898 GB, free: 9.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1707, allocations: 7.938 kB / 0.6898 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1707, allocations: 0 / 0.6898 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.066e-05/0.1708, allocations: 69.11 kB / 0.6899 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.1709, allocations: 88.95 kB / 0.69 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.1709, allocations: 7.984 kB / 0.69 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.858e-05/0.1709, allocations: 4 kB / 0.69 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.171, allocations: 3.938 kB / 0.69 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.171, allocations: 0 / 0.69 GB, free: 9.492 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.016e-05/0.171, allocations: 95.27 kB / 0.6901 GB, free: 9.398 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.171, allocations: 0 / 0.6901 GB, free: 9.398 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002157/0.1712, allocations: 31.94 kB / 0.6901 GB, free: 9.367 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.0001794/0.1714, allocations: 119.2 kB / 0.6902 GB, free: 9.242 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.146e-05/0.1715, allocations: 19.94 kB / 0.6902 GB, free: 9.223 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1715, allocations: 0 / 0.6902 GB, free: 9.223 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.507e-05/0.1716, allocations: 7.984 kB / 0.6903 GB, free: 9.215 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.1718, allocations: 11.94 kB / 0.6903 GB, free: 9.203 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002665/0.172, allocations: 130.7 kB / 0.6904 GB, free: 9.047 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.1723, allocations: 0.6848 MB / 0.6911 GB, free: 8.336 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.387e-05/0.1724, allocations: 4 kB / 0.6911 GB, free: 8.332 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.634e-05/0.1724, allocations: 11.44 kB / 0.6911 GB, free: 8.32 MB / 494.1 MB Notification: Performance of SimCode: time 2.936e-06/0.1724, allocations: 0 / 0.6911 GB, free: 8.32 MB / 494.1 MB Notification: Performance of Templates: time 0.002972/0.1754, allocations: 0.7708 MB / 0.6918 GB, free: 7.555 MB / 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)