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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.8182/0.8182, 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.001319/0.001319, allocations: 168.9 kB / 182.2 MB, free: 9.469 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.404/1.404, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.000914/0.000914, allocations: 92.03 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001798/0.001798, allocations: 274.5 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.457e-05/1.45e-05, allocations: 0 / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4134, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1336/0.5471, allocations: 108 MB / 0.8629 GB, free: 3.848 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.5474, allocations: 83.83 kB / 0.8629 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004939/0.5523, allocations: 1.782 MB / 0.8647 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5523, allocations: 0 / 0.8647 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.5523, allocations: 0 / 0.8647 GB, free: 1.984 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002744/0.5526, allocations: 351.8 kB / 0.865 GB, free: 1.598 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.5527, allocations: 12.03 kB / 0.865 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.5527, allocations: 3.906 kB / 0.865 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.5528, allocations: 170.8 kB / 0.8652 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.5528, allocations: 7.953 kB / 0.8652 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.5529, allocations: 0 / 0.8652 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.962e-05/0.5529, allocations: 15.98 kB / 0.8652 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.239e-05/0.553, allocations: 29.7 kB / 0.8653 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.553, allocations: 0 / 0.8653 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.553, allocations: 0 / 0.8653 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.553, allocations: 0 / 0.8653 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.5532, allocations: 138.2 kB / 0.8654 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.211e-05/0.5533, allocations: 34.61 kB / 0.8654 GB, free: 1.105 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.5533, allocations: 12.86 kB / 0.8654 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009472/0.5542, allocations: 1.167 MB / 0.8666 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.5543, allocations: 42.5 kB / 0.8666 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.5543, allocations: 0 / 0.8666 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0001683/0.5545, allocations: 45.61 kB / 0.8667 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.5545, allocations: 51.41 kB / 0.8667 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.991e-05/0.5546, allocations: 101 kB / 0.8668 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.5546, allocations: 25.7 kB / 0.8668 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.462e-05/0.5546, allocations: 80.14 kB / 0.8669 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.5547, allocations: 11.91 kB / 0.8669 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.5547, allocations: 0 / 0.8669 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.741e-05/0.5548, allocations: 310.8 kB / 0.8672 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.5548, allocations: 8 kB / 0.8672 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.197e-06/0.5548, allocations: 3.984 kB / 0.8672 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.924e-05/0.5548, allocations: 7.938 kB / 0.8672 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.5549, allocations: 0 / 0.8672 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.144e-05/0.555, allocations: 49.81 kB / 0.8673 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.555, allocations: 8 kB / 0.8673 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.555, allocations: 0 / 0.8673 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.555, allocations: 3.953 kB / 0.8673 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.73e-05/0.5551, allocations: 4 kB / 0.8673 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.5551, allocations: 3.938 kB / 0.8673 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.5551, allocations: 7.938 kB / 0.8673 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.5551, allocations: 4 kB / 0.8673 GB, free: 14.85 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 (3): * Single equations (assignments): 3 * 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.212e-05/0.5552, allocations: 101 kB / 0.8674 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.5552, allocations: 3.906 kB / 0.8674 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.5553, allocations: 61.95 kB / 0.8675 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-06/0.5554, allocations: 3.953 kB / 0.8675 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.5554, allocations: 4 kB / 0.8675 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.5554, allocations: 3.938 kB / 0.8675 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.911e-05/0.5555, allocations: 142.2 kB / 0.8676 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.5555, allocations: 0 / 0.8676 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.77e-05/0.5555, allocations: 4 kB / 0.8676 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.5555, allocations: 0 / 0.8676 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.5555, allocations: 4 kB / 0.8676 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5555, allocations: 0 / 0.8676 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5555, allocations: 0 / 0.8676 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.5557, allocations: 73.08 kB / 0.8677 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/0.5557, allocations: 93 kB / 0.8678 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.5557, allocations: 0 / 0.8678 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.92e-05/0.5558, allocations: 0 / 0.8678 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.5558, allocations: 11.92 kB / 0.8678 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.5558, allocations: 0 / 0.8678 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.358e-05/0.5559, allocations: 79.28 kB / 0.8679 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5559, allocations: 0 / 0.8679 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002094/0.5561, allocations: 39.89 kB / 0.8679 GB, free: 14.14 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 (3): * Single equations (assignments): 3 * 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.0001816/0.5563, allocations: 135.2 kB / 0.868 GB, free: 14 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.627e-05/0.5563, allocations: 11.98 kB / 0.868 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5564, allocations: 0 / 0.868 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.396e-05/0.5564, allocations: 8 kB / 0.8681 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.5565, allocations: 4 kB / 0.8681 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000186/0.5567, allocations: 67.81 kB / 0.8681 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.5569, allocations: 0.6846 MB / 0.8688 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.733e-05/0.557, allocations: 7.594 kB / 0.8688 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.758e-05/0.557, allocations: 11.44 kB / 0.8688 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.557, allocations: 0 / 0.8688 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of Templates: time 0.002553/0.5596, allocations: 0.7485 MB / 0.8695 GB, free: 12.42 MB / 0.5417 GB 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)