Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8538/0.8538, allocations: 143.4 MB / 158.3 MB, free: 5.781 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 185 kB / 191.5 MB, free: 5.77 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.679/1.679, allocations: 223.2 MB / 447.7 MB, free: 4.832 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 91.77 kB / 0.5188 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001889/0.001888, allocations: 274.2 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004608/0.0004608, allocations: 11.61 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.183, allocations: 82.8 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1701/0.3531, allocations: 108.4 MB / 0.8796 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.3534, allocations: 77.98 kB / 0.8796 GB, free: 1.266 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.002365/0.3558, allocations: 0.8518 MB / 0.8805 GB, free: 420 kB / 0.5417 GB Notification: Performance of FrontEnd: time 3.056e-06/0.3558, allocations: 0 / 0.8805 GB, free: 420 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.3558, allocations: 0 / 0.8805 GB, free: 420 kB / 0.5417 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.0004627/0.3563, allocations: 335.4 kB / 0.8808 GB, free: 36 kB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.044e-05/0.3564, allocations: 12.56 kB / 0.8808 GB, free: 24 kB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.3564, allocations: 0 / 0.8808 GB, free: 24 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3969/0.7533, allocations: 159.7 kB / 0.8809 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.7534, allocations: 0.6875 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.7534, allocations: 0.6562 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.7535, allocations: 34.91 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.7536, allocations: 0 / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.7536, allocations: 2.438 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.7536, allocations: 1.078 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.504e-05/0.7536, allocations: 7.875 kB / 0.881 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.7538, allocations: 153.4 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.822e-05/0.7539, allocations: 24.03 kB / 0.8812 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006126/0.7545, allocations: 0.6069 MB / 0.8818 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.7546, allocations: 39.16 kB / 0.8818 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.7546, allocations: 0 / 0.8818 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001663/0.7547, allocations: 45.31 kB / 0.8818 GB, free: 108 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.7548, allocations: 51.41 kB / 0.8819 GB, free: 108 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.233e-05/0.7548, allocations: 90.64 kB / 0.882 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.7548, allocations: 26.36 kB / 0.882 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.408e-05/0.7549, allocations: 84.77 kB / 0.8821 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.7549, allocations: 8.312 kB / 0.8821 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.7549, allocations: 3.938 kB / 0.8821 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.2e-05/0.755, allocations: 313.2 kB / 0.8824 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/0.755, allocations: 7.953 kB / 0.8824 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.067e-06/0.755, allocations: 4.156 kB / 0.8824 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.738e-05/0.755, allocations: 4.625 kB / 0.8824 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.755, allocations: 1.531 kB / 0.8824 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.761e-05/0.7551, allocations: 36.55 kB / 0.8824 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.7551, allocations: 6.703 kB / 0.8824 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.7551, allocations: 0 / 0.8824 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.7552, allocations: 0 / 0.8824 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.7552, allocations: 17.25 kB / 0.8825 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.7552, allocations: 0 / 0.8825 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.016e-05/0.7553, allocations: 3.625 kB / 0.8825 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.7553, allocations: 1.438 kB / 0.8825 GB, free: 107.4 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.99e-05/0.7553, allocations: 107.1 kB / 0.8826 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-06/0.7553, allocations: 5.219 kB / 0.8826 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.7554, allocations: 47.39 kB / 0.8826 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.7555, allocations: 0.8125 kB / 0.8826 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.7555, allocations: 6.234 kB / 0.8826 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7555, allocations: 0 / 0.8826 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.236e-05/0.7556, allocations: 153.4 kB / 0.8828 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7556, allocations: 0 / 0.8828 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.349e-05/0.7556, allocations: 6.531 kB / 0.8828 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.7556, allocations: 4.625 kB / 0.8828 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-06/0.7556, allocations: 0.7188 kB / 0.8828 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.7556, allocations: 3.391 kB / 0.8828 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.7556, allocations: 1.297 kB / 0.8828 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.524e-05/0.7557, allocations: 65.39 kB / 0.8829 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.7557, allocations: 81.06 kB / 0.8829 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.7557, allocations: 0.8125 kB / 0.8829 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.684e-05/0.7558, allocations: 5.062 kB / 0.8829 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.7558, allocations: 4.812 kB / 0.8829 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.7558, allocations: 1.156 kB / 0.8829 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.389e-05/0.7558, allocations: 82.69 kB / 0.883 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7558, allocations: 0.9062 kB / 0.883 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002107/0.756, allocations: 18.55 kB / 0.883 GB, free: 106.8 MB / 0.5417 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 (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.000166/0.7562, allocations: 118.3 kB / 0.8832 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.963e-05/0.7563, allocations: 14.22 kB / 0.8832 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7563, allocations: 0 / 0.8832 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.07e-05/0.7563, allocations: 4.062 kB / 0.8832 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.7565, allocations: 11.95 kB / 0.8832 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002478/0.7568, allocations: 116.6 kB / 0.8833 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.7569, allocations: 0.6768 MB / 0.884 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.902e-05/0.757, allocations: 8.359 kB / 0.884 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.349e-05/0.757, allocations: 7.438 kB / 0.884 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.757, allocations: 0 / 0.884 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of Templates: time 0.002467/0.7595, allocations: 0.5723 MB / 0.8845 GB, free: 105.8 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)