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.8461/0.8461, allocations: 141.8 MB / 149.3 MB, free: 9.199 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.001601/0.001601, allocations: 180.9 kB / 182.2 MB, free: 9.453 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.37/1.37, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.001009/0.001009, allocations: 100.1 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001751/0.001751, allocations: 268 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.362e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4366, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.5753, allocations: 107.7 MB / 0.8625 GB, free: 4.219 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.5756, allocations: 83.83 kB / 0.8626 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002271/0.5779, allocations: 0.8464 MB / 0.8634 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.585e-06/0.5779, allocations: 0 / 0.8634 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.578, allocations: 0 / 0.8634 GB, free: 3.293 MB / 0.5261 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.000277/0.5782, allocations: 322.5 kB / 0.8637 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.5783, allocations: 12.02 kB / 0.8637 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.5783, allocations: 0 / 0.8637 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.5785, allocations: 163.1 kB / 0.8639 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.5785, allocations: 3.953 kB / 0.8639 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.5785, allocations: 0 / 0.8639 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.76e-05/0.5786, allocations: 11.94 kB / 0.8639 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.24e-05/0.5786, allocations: 29.7 kB / 0.8639 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.5787, allocations: 0 / 0.8639 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.5787, allocations: 0 / 0.8639 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.5787, allocations: 3.984 kB / 0.8639 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.5788, allocations: 138.2 kB / 0.8641 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.618e-05/0.5789, allocations: 18.58 kB / 0.8641 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.702e-05/0.5789, allocations: 8.859 kB / 0.8641 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006525/0.5796, allocations: 0.6052 MB / 0.8647 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.5796, allocations: 34.52 kB / 0.8647 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.365e-06/0.5796, allocations: 0 / 0.8647 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001536/0.5798, allocations: 45.53 kB / 0.8648 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.5798, allocations: 51.41 kB / 0.8648 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.286e-05/0.5799, allocations: 93 kB / 0.8649 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.5799, allocations: 29.73 kB / 0.8649 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.5799, allocations: 80.14 kB / 0.865 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.58, allocations: 7.938 kB / 0.865 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-06/0.58, allocations: 0 / 0.865 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.5801, allocations: 314.8 kB / 0.8653 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033e-05/0.5801, allocations: 0 / 0.8653 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.07e-05/0.5801, allocations: 7.984 kB / 0.8653 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.083e-05/0.5802, allocations: 4 kB / 0.8653 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.5802, allocations: 64 / 0.8653 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.842e-05/0.5803, allocations: 45.55 kB / 0.8654 GB, free: 0.9648 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.5803, allocations: 4 kB / 0.8654 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.5803, allocations: 0 / 0.8654 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.5803, allocations: 3.953 kB / 0.8654 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.906e-05/0.5804, allocations: 4 kB / 0.8654 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.5804, allocations: 6.797 kB / 0.8654 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.5804, allocations: 4 kB / 0.8654 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.5804, allocations: 4 kB / 0.8654 GB, free: 0.9414 MB / 0.5261 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 6.638e-05/0.5805, allocations: 105 kB / 0.8655 GB, free: 0.832 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-06/0.5805, allocations: 0 / 0.8655 GB, free: 0.832 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.5806, allocations: 45.44 kB / 0.8655 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.5806, allocations: 3.953 kB / 0.8655 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.5806, allocations: 0 / 0.8655 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.5806, allocations: 4 kB / 0.8655 GB, free: 0.7734 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.656e-05/0.5807, allocations: 126.2 kB / 0.8657 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5807, allocations: 0 / 0.8657 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.554e-05/0.5808, allocations: 11.92 kB / 0.8657 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5808, allocations: 3.938 kB / 0.8657 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.5808, allocations: 4.219 kB / 0.8657 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.5808, allocations: 4 kB / 0.8657 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5808, allocations: 0 / 0.8657 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.583e-05/0.5809, allocations: 61.08 kB / 0.8657 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.5809, allocations: 81.09 kB / 0.8658 GB, free: 424 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.581, allocations: 0 / 0.8658 GB, free: 424 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.77e-05/0.581, allocations: 7.938 kB / 0.8658 GB, free: 416 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.581, allocations: 8.031 kB / 0.8658 GB, free: 408 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.581, allocations: 0 / 0.8658 GB, free: 408 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.582e-05/0.581, allocations: 79.28 kB / 0.8659 GB, free: 328 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5811, allocations: 0 / 0.8659 GB, free: 328 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001957/0.5813, allocations: 15.95 kB / 0.8659 GB, free: 312 kB / 0.5261 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.0001603/0.5814, allocations: 115.2 kB / 0.866 GB, free: 188 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.098e-05/0.5815, allocations: 7.938 kB / 0.866 GB, free: 180 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.5815, allocations: 4 kB / 0.866 GB, free: 176 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.778e-06/0.5815, allocations: 8.062 kB / 0.8661 GB, free: 168 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.5817, allocations: 11.92 kB / 0.8661 GB, free: 156 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001727/0.5819, allocations: 47.98 kB / 0.8661 GB, free: 84 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.5822, allocations: 0.6768 MB / 0.8668 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.948e-05/0.5822, allocations: 4 kB / 0.8668 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.761e-05/0.5822, allocations: 7.438 kB / 0.8668 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of SimCode: time 2.6e-07/0.5822, allocations: 4.062 kB / 0.8668 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of Templates: time 0.002396/0.5846, allocations: 0.553 MB / 0.8673 GB, free: 14.81 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)