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.7521/0.7521, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 185 kB / 187.3 MB, free: 11.89 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.413/1.413, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0008827/0.0008827, allocations: 92.06 kB / 0.5124 GB, free: 24.28 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001714/0.001714, allocations: 277.6 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.488e-05/3.49e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4139, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1201/0.5341, allocations: 108.3 MB / 0.87 GB, free: 268 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001864/0.5343, allocations: 84.47 kB / 0.8701 GB, free: 188 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00214/0.5365, allocations: 0.8477 MB / 0.871 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5365, allocations: 0 / 0.871 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.5365, allocations: 0 / 0.871 GB, free: 15.34 MB / 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.0002647/0.5368, allocations: 326.4 kB / 0.8713 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.5368, allocations: 8.031 kB / 0.8713 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.5368, allocations: 8 kB / 0.8713 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.537, allocations: 167.1 kB / 0.8714 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.537, allocations: 3.953 kB / 0.8714 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.537, allocations: 0 / 0.8714 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.385e-05/0.5371, allocations: 37.69 kB / 0.8715 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.5371, allocations: 0 / 0.8715 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.5371, allocations: 0 / 0.8715 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.5371, allocations: 0 / 0.8715 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.203e-05/0.5372, allocations: 4 kB / 0.8715 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001658/0.5374, allocations: 157.7 kB / 0.8716 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.538e-05/0.5374, allocations: 22.55 kB / 0.8717 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/0.5374, allocations: 12.88 kB / 0.8717 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006575/0.5381, allocations: 0.6051 MB / 0.8723 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.5381, allocations: 34.55 kB / 0.8723 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.5382, allocations: 0 / 0.8723 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001215/0.5383, allocations: 37.7 kB / 0.8723 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.5383, allocations: 59.34 kB / 0.8724 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.39e-05/0.5384, allocations: 89 kB / 0.8725 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.5384, allocations: 25.7 kB / 0.8725 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.436e-05/0.5385, allocations: 80.14 kB / 0.8726 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.5385, allocations: 15.83 kB / 0.8726 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.5385, allocations: 4 kB / 0.8726 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.5386, allocations: 310.8 kB / 0.8729 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.5387, allocations: 4.031 kB / 0.8729 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.917e-06/0.5387, allocations: 4 kB / 0.8729 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.546e-05/0.5387, allocations: 4 kB / 0.8729 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5387, allocations: 0 / 0.8729 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.119e-05/0.5388, allocations: 45.59 kB / 0.8729 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.5388, allocations: 7.953 kB / 0.873 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.5388, allocations: 0 / 0.873 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.5388, allocations: 4.125 kB / 0.873 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.69e-05/0.5389, allocations: 4 kB / 0.873 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.5389, allocations: 8.031 kB / 0.873 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.693e-05/0.5389, allocations: 0 / 0.873 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.5389, allocations: 7.984 kB / 0.873 GB, free: 12.94 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 () * 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 7.342e-05/0.539, allocations: 101 kB / 0.8731 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-06/0.539, allocations: 0 / 0.8731 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.669e-05/0.5391, allocations: 48.77 kB / 0.8731 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.5391, allocations: 4 kB / 0.8731 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5392, allocations: 0 / 0.8731 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.5392, allocations: 0 / 0.8731 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.5393, allocations: 157.7 kB / 0.8733 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.5393, allocations: 0 / 0.8733 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-05/0.5393, allocations: 0 / 0.8733 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5393, allocations: 4 kB / 0.8733 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.5393, allocations: 0 / 0.8733 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.5393, allocations: 3.953 kB / 0.8733 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5393, allocations: 3.938 kB / 0.8733 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.28e-05/0.5394, allocations: 61.12 kB / 0.8733 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.5395, allocations: 85.14 kB / 0.8734 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.5395, allocations: 0 / 0.8734 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.842e-05/0.5395, allocations: 4 kB / 0.8734 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.5395, allocations: 3.953 kB / 0.8734 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.5395, allocations: 0 / 0.8734 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.298e-05/0.5396, allocations: 87.2 kB / 0.8735 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5396, allocations: 0 / 0.8735 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001816/0.5398, allocations: 16 kB / 0.8735 GB, free: 12.27 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 () * 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.0001725/0.54, allocations: 119.2 kB / 0.8736 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.644e-05/0.54, allocations: 11.94 kB / 0.8737 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.54, allocations: 0 / 0.8737 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.034e-05/0.5401, allocations: 4 kB / 0.8737 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.5402, allocations: 5.125 kB / 0.8737 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001655/0.5404, allocations: 57.23 kB / 0.8737 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.5406, allocations: 0.6772 MB / 0.8744 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.488e-05/0.5407, allocations: 8 kB / 0.8744 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.503e-05/0.5407, allocations: 7.438 kB / 0.8744 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.5407, allocations: 0 / 0.8744 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of Templates: time 0.002398/0.5431, allocations: 0.5768 MB / 0.875 GB, free: 10.76 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)