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.8743/0.8743, allocations: 143.4 MB / 159.2 MB, free: 4.918 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.001429/0.00143, allocations: 188.5 kB / 191.9 MB, free: 5.711 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.704/1.704, allocations: 222.9 MB / 447.3 MB, free: 5.82 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.001014/0.001014, allocations: 99.75 kB / 0.517 GB, free: 3.691 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001966/0.001966, allocations: 279.8 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 83.88 kB / 0.6885 GB, free: 3.816 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3449, allocations: 81.29 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.003078/0.3481, allocations: 1.34 MB / 0.7692 GB, free: 26.3 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006194/0.3487, allocations: 324.5 kB / 0.7695 GB, free: 25.99 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.954e-05/0.3488, allocations: 0 / 0.7695 GB, free: 25.99 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.296e-05/0.3488, allocations: 0 / 0.7695 GB, free: 25.99 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.349, allocations: 7.922 kB / 0.7696 GB, free: 25.98 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.3493, allocations: 55.8 kB / 0.7696 GB, free: 25.93 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.583e-05/0.3494, allocations: 39.86 kB / 0.7696 GB, free: 25.89 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.3494, allocations: 0 / 0.7696 GB, free: 25.89 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.3495, allocations: 27.86 kB / 0.7697 GB, free: 25.86 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.765e-05/0.3496, allocations: 19.91 kB / 0.7697 GB, free: 25.84 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.3496, allocations: 0 / 0.7697 GB, free: 25.84 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.3498, allocations: 79.91 kB / 0.7698 GB, free: 25.76 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.3498, allocations: 4 kB / 0.7698 GB, free: 25.76 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.3499, allocations: 11.94 kB / 0.7698 GB, free: 25.75 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.35, allocations: 74.52 kB / 0.7699 GB, free: 25.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3501, allocations: 0 / 0.7699 GB, free: 25.68 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3501, allocations: 0 / 0.7699 GB, free: 25.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3501, allocations: 0 / 0.7699 GB, free: 25.68 MB / 458.7 MB 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.0003535/0.3504, allocations: 363.3 kB / 0.7702 GB, free: 25.27 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3505, allocations: 8.031 kB / 0.7702 GB, free: 25.26 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.3505, allocations: 12.84 kB / 0.7702 GB, free: 25.25 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.708e-05/0.3506, allocations: 164.4 kB / 0.7704 GB, free: 25.05 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3506, allocations: 4.375 kB / 0.7704 GB, free: 25.05 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.3506, allocations: 384 / 0.7704 GB, free: 25.05 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.559e-05/0.3507, allocations: 38.19 kB / 0.7704 GB, free: 25 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.3507, allocations: 192 / 0.7704 GB, free: 25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3508, allocations: 11.94 kB / 0.7704 GB, free: 24.99 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.3508, allocations: 0 / 0.7704 GB, free: 24.99 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.253e-05/0.3508, allocations: 7.984 kB / 0.7704 GB, free: 24.98 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.351, allocations: 161.7 kB / 0.7706 GB, free: 24.78 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.957e-05/0.351, allocations: 42.5 kB / 0.7706 GB, free: 24.73 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.92e-05/0.3511, allocations: 12.92 kB / 0.7706 GB, free: 24.71 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000795/0.3519, allocations: 1.179 MB / 0.7718 GB, free: 23.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.3519, allocations: 42.55 kB / 0.7718 GB, free: 23.22 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3519, allocations: 0 / 0.7718 GB, free: 23.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001531/0.3521, allocations: 57.42 kB / 0.7719 GB, free: 23.16 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.078e-05/0.3521, allocations: 59.39 kB / 0.7719 GB, free: 23.09 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.156e-05/0.3522, allocations: 105.8 kB / 0.772 GB, free: 22.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.3522, allocations: 25.7 kB / 0.7721 GB, free: 22.95 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.718e-05/0.3522, allocations: 80.14 kB / 0.7721 GB, free: 22.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.3522, allocations: 15.89 kB / 0.7722 GB, free: 22.85 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.3523, allocations: 13.72 kB / 0.7722 GB, free: 22.83 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.691e-05/0.3523, allocations: 314.8 kB / 0.7725 GB, free: 22.51 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.449e-05/0.3523, allocations: 7.984 kB / 0.7725 GB, free: 22.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.193e-05/0.3523, allocations: 4 kB / 0.7725 GB, free: 22.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.069e-05/0.3524, allocations: 16.86 kB / 0.7725 GB, free: 22.48 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3524, allocations: 0 / 0.7725 GB, free: 22.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.285e-05/0.3525, allocations: 53.53 kB / 0.7726 GB, free: 22.42 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.3525, allocations: 4 kB / 0.7726 GB, free: 22.42 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3525, allocations: 11.94 kB / 0.7726 GB, free: 22.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3525, allocations: 0 / 0.7726 GB, free: 22.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.028e-05/0.3526, allocations: 4 kB / 0.7726 GB, free: 22.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3526, allocations: 0 / 0.7726 GB, free: 22.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.843e-05/0.3526, allocations: 3.938 kB / 0.7726 GB, free: 22.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.3526, allocations: 0 / 0.7726 GB, free: 22.4 MB / 458.7 MB 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.904e-05/0.3527, allocations: 112 kB / 0.7727 GB, free: 22.28 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-06/0.3527, allocations: 3.984 kB / 0.7727 GB, free: 22.28 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.3528, allocations: 69.47 kB / 0.7728 GB, free: 22.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3528, allocations: 3.938 kB / 0.7728 GB, free: 22.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3528, allocations: 0 / 0.7728 GB, free: 22.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3528, allocations: 4 kB / 0.7728 GB, free: 22.19 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.694e-05/0.3529, allocations: 153.7 kB / 0.7729 GB, free: 21.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3529, allocations: 0 / 0.7729 GB, free: 21.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.6e-05/0.3529, allocations: 7.984 kB / 0.7729 GB, free: 21.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3529, allocations: 0 / 0.7729 GB, free: 21.98 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.353, allocations: 11.94 kB / 0.7729 GB, free: 21.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.353, allocations: 0 / 0.7729 GB, free: 21.97 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.353, allocations: 0 / 0.7729 GB, free: 21.97 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.3532, allocations: 0.6282 MB / 0.7735 GB, free: 21.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.3532, allocations: 81.02 kB / 0.7736 GB, free: 21.19 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.3532, allocations: 48 / 0.7736 GB, free: 21.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.098e-05/0.3533, allocations: 7.984 kB / 0.7736 GB, free: 21.18 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.3533, allocations: 7.984 kB / 0.7736 GB, free: 21.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.3533, allocations: 4 kB / 0.7736 GB, free: 21.17 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.48e-05/0.3534, allocations: 91.58 kB / 0.7737 GB, free: 21.08 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.3534, allocations: 0 / 0.7737 GB, free: 21.08 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003093/0.3537, allocations: 27.98 kB / 0.7738 GB, free: 21.05 MB / 458.7 MB 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001544/0.3538, allocations: 127.1 kB / 0.7739 GB, free: 20.92 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.605e-05/0.3539, allocations: 19.94 kB / 0.7739 GB, free: 20.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/0.3539, allocations: 4 kB / 0.7739 GB, free: 20.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.382e-05/0.3539, allocations: 11.98 kB / 0.7739 GB, free: 20.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.3542, allocations: 7.938 kB / 0.7739 GB, free: 20.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002887/0.3545, allocations: 234.8 kB / 0.7741 GB, free: 20.61 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.3546, allocations: 0.6809 MB / 0.7748 GB, free: 19.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.783e-05/0.3546, allocations: 8 kB / 0.7748 GB, free: 19.89 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.715e-05/0.3547, allocations: 15.44 kB / 0.7748 GB, free: 19.88 MB / 458.7 MB Notification: Performance of SimCode: time 4.11e-07/0.3547, allocations: 0 / 0.7748 GB, free: 19.88 MB / 458.7 MB Notification: Performance of Templates: time 0.002639/0.3573, allocations: 0.7844 MB / 0.7756 GB, free: 19.1 MB / 458.7 MB 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)