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.8299/0.8299, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.001224/0.001224, allocations: 179.8 kB / 182.2 MB, free: 9.465 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.394/1.394, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.0008364/0.0008362, allocations: 103.9 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001954/0.001954, allocations: 281.2 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.51e-05/2.524e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4218, allocations: 82.78 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.5609, allocations: 107.7 MB / 0.8625 GB, free: 4.242 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/0.5611, allocations: 83.81 kB / 0.8626 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002188/0.5633, allocations: 0.8464 MB / 0.8634 GB, free: 3.316 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5634, allocations: 3.938 kB / 0.8634 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.5634, allocations: 4 kB / 0.8634 GB, free: 3.309 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.0002539/0.5636, allocations: 314.5 kB / 0.8637 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.5637, allocations: 16.03 kB / 0.8637 GB, free: 2.941 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.5637, allocations: 3.984 kB / 0.8637 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.5639, allocations: 159.1 kB / 0.8639 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.5639, allocations: 3.953 kB / 0.8639 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.5639, allocations: 4 kB / 0.8639 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.33e-05/0.564, allocations: 0 / 0.8639 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.706e-05/0.564, allocations: 29.7 kB / 0.8639 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.564, allocations: 0 / 0.8639 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.5641, allocations: 3.938 kB / 0.8639 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.5641, allocations: 4 kB / 0.8639 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.5642, allocations: 134.2 kB / 0.8641 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.961e-05/0.5643, allocations: 22.61 kB / 0.8641 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.589e-05/0.5643, allocations: 8.922 kB / 0.8641 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006441/0.5649, allocations: 0.6051 MB / 0.8647 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.565, allocations: 34.52 kB / 0.8647 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 3.046e-06/0.565, allocations: 4 kB / 0.8647 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001758/0.5652, allocations: 45.59 kB / 0.8648 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.5652, allocations: 51.41 kB / 0.8648 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.647e-05/0.5653, allocations: 92.94 kB / 0.8649 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.5653, allocations: 25.7 kB / 0.8649 GB, free: 1.457 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.5653, allocations: 80.14 kB / 0.865 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.5654, allocations: 7.938 kB / 0.865 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-06/0.5654, allocations: 3.938 kB / 0.865 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.426e-05/0.5655, allocations: 318.9 kB / 0.8653 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-06/0.5655, allocations: 0 / 0.8653 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-06/0.5655, allocations: 4 kB / 0.8653 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.99e-05/0.5656, allocations: 3.984 kB / 0.8653 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5656, allocations: 0 / 0.8653 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.365e-05/0.5656, allocations: 41.61 kB / 0.8654 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.5657, allocations: 8 kB / 0.8654 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.5657, allocations: 0 / 0.8654 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.5657, allocations: 3.953 kB / 0.8654 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.053e-05/0.5658, allocations: 8.031 kB / 0.8654 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.5658, allocations: 4 kB / 0.8654 GB, free: 0.9648 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/0.5658, allocations: 3.984 kB / 0.8654 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.5658, allocations: 0 / 0.8654 GB, free: 0.9609 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.161e-05/0.5659, allocations: 104.9 kB / 0.8655 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-06/0.5659, allocations: 4 kB / 0.8655 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.566, allocations: 41.44 kB / 0.8655 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.566, allocations: 3.953 kB / 0.8655 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.566, allocations: 0 / 0.8655 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.566, allocations: 4.031 kB / 0.8655 GB, free: 0.793 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.107e-05/0.5661, allocations: 134.2 kB / 0.8657 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.5661, allocations: 0 / 0.8657 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.5661, allocations: 7.984 kB / 0.8657 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5661, allocations: 0 / 0.8657 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.5662, allocations: 0 / 0.8657 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.5662, allocations: 0 / 0.8657 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.5662, allocations: 0 / 0.8657 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.942e-05/0.5663, allocations: 73.22 kB / 0.8657 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.261e-05/0.5663, allocations: 81.09 kB / 0.8658 GB, free: 440 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.5663, allocations: 3.984 kB / 0.8658 GB, free: 436 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.585e-05/0.5664, allocations: 0 / 0.8658 GB, free: 436 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.136e-05/0.5664, allocations: 0 / 0.8658 GB, free: 436 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.5664, allocations: 4 kB / 0.8658 GB, free: 432 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.227e-05/0.5664, allocations: 75.28 kB / 0.8659 GB, free: 356 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5664, allocations: 0 / 0.8659 GB, free: 356 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001985/0.5666, allocations: 15.95 kB / 0.8659 GB, free: 340 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.0001584/0.5668, allocations: 119.2 kB / 0.866 GB, free: 212 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.224e-05/0.5669, allocations: 12 kB / 0.866 GB, free: 200 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5669, allocations: 0 / 0.866 GB, free: 200 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.165e-05/0.5669, allocations: 7.938 kB / 0.866 GB, free: 192 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.5671, allocations: 12.95 kB / 0.8661 GB, free: 180 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001661/0.5672, allocations: 55.92 kB / 0.8661 GB, free: 100 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.5675, allocations: 0.6808 MB / 0.8668 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.596e-05/0.5675, allocations: 0 / 0.8668 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.588e-05/0.5675, allocations: 11.44 kB / 0.8668 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.5675, allocations: 0 / 0.8668 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of Templates: time 0.002367/0.5699, allocations: 0.5577 MB / 0.8673 GB, free: 14.83 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)