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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 102 kB / 16.4 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 192.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002558/0.002558, allocations: 291.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9769/0.9769, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 99.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4494/0.4512, allocations: 86.98 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00241/0.4537, allocations: 1.288 MB / 0.7683 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005839/0.4543, allocations: 306.9 kB / 0.7686 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.605e-05/0.4543, allocations: 0 / 0.7686 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.4544, allocations: 3.984 kB / 0.7686 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.4545, allocations: 15.86 kB / 0.7686 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.4548, allocations: 75.72 kB / 0.7687 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.944e-05/0.4549, allocations: 31.92 kB / 0.7687 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.066e-05/0.455, allocations: 0 / 0.7687 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.4551, allocations: 43.83 kB / 0.7688 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.245e-05/0.4552, allocations: 11.94 kB / 0.7688 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.4552, allocations: 0 / 0.7688 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.4554, allocations: 79.91 kB / 0.7689 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.4554, allocations: 7.984 kB / 0.7689 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.4554, allocations: 7.938 kB / 0.7689 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.4556, allocations: 87.44 kB / 0.769 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.4556, allocations: 0 / 0.769 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4556, allocations: 4 kB / 0.769 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.4557, allocations: 0 / 0.769 GB, free: 1.953 MB / 0.5294 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.0004203/0.4561, allocations: 353.9 kB / 0.7693 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4561, allocations: 12.03 kB / 0.7693 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.4562, allocations: 4.844 kB / 0.7693 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.4563, allocations: 168.4 kB / 0.7695 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.4563, allocations: 384 / 0.7695 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.4563, allocations: 384 / 0.7695 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.4565, allocations: 41.64 kB / 0.7695 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.4565, allocations: 4 kB / 0.7695 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.4565, allocations: 3.984 kB / 0.7695 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.4565, allocations: 0 / 0.7695 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.458e-05/0.4566, allocations: 11.94 kB / 0.7695 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002005/0.4568, allocations: 161.6 kB / 0.7697 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.4569, allocations: 34.61 kB / 0.7697 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.322e-05/0.4569, allocations: 12.92 kB / 0.7697 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/0.4581, allocations: 1.191 MB / 0.7709 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.4581, allocations: 34.56 kB / 0.7709 GB, free: 15.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.4581, allocations: 0 / 0.7709 GB, free: 15.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0001606/0.4583, allocations: 53.62 kB / 0.771 GB, free: 15.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.4584, allocations: 55.41 kB / 0.771 GB, free: 15.39 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.517e-05/0.4584, allocations: 105.8 kB / 0.7711 GB, free: 15.28 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.4585, allocations: 25.7 kB / 0.7712 GB, free: 15.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.027e-05/0.4585, allocations: 80.14 kB / 0.7712 GB, free: 15.17 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.4585, allocations: 11.91 kB / 0.7712 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.4586, allocations: 17.62 kB / 0.7713 GB, free: 15.13 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.4587, allocations: 318.8 kB / 0.7716 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.4587, allocations: 8 kB / 0.7716 GB, free: 14.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.08e-05/0.4587, allocations: 192 / 0.7716 GB, free: 14.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.838e-05/0.4588, allocations: 24.88 kB / 0.7716 GB, free: 14.78 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4588, allocations: 0 / 0.7716 GB, free: 14.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.66e-05/0.4589, allocations: 49.62 kB / 0.7716 GB, free: 14.72 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.4589, allocations: 8 kB / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4589, allocations: 0 / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.4589, allocations: 3.938 kB / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.522e-05/0.459, allocations: 7.984 kB / 0.7717 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.459, allocations: 0 / 0.7717 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.231e-05/0.459, allocations: 4 kB / 0.7717 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-06/0.459, allocations: 4 kB / 0.7717 GB, free: 14.7 MB / 0.545 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 () * 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 7.389e-05/0.4591, allocations: 112.2 kB / 0.7718 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.4591, allocations: 11.88 kB / 0.7718 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.4593, allocations: 57.53 kB / 0.7718 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.4593, allocations: 0 / 0.7718 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4593, allocations: 4 kB / 0.7718 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4593, allocations: 7.984 kB / 0.7719 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.4594, allocations: 157.6 kB / 0.772 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4594, allocations: 3.938 kB / 0.772 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.011e-05/0.4595, allocations: 8 kB / 0.772 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4595, allocations: 0 / 0.772 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.4595, allocations: 0 / 0.772 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4595, allocations: 0 / 0.772 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4595, allocations: 0 / 0.772 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.195e-05/0.4596, allocations: 81.06 kB / 0.7721 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-05/0.4596, allocations: 85.03 kB / 0.7722 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.4597, allocations: 4 kB / 0.7722 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.79e-05/0.4597, allocations: 0 / 0.7722 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.4597, allocations: 0 / 0.7722 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.4597, allocations: 8 kB / 0.7722 GB, free: 14.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.264e-05/0.4598, allocations: 87.27 kB / 0.7723 GB, free: 13.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4598, allocations: 0 / 0.7723 GB, free: 13.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002185/0.46, allocations: 24 kB / 0.7723 GB, free: 13.95 MB / 0.545 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 () * 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.000195/0.4602, allocations: 131.2 kB / 0.7724 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.46e-05/0.4603, allocations: 15.98 kB / 0.7724 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4603, allocations: 0 / 0.7724 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.919e-05/0.4603, allocations: 11.94 kB / 0.7724 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.4606, allocations: 10.69 kB / 0.7725 GB, free: 13.78 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.4609, allocations: 159.7 kB / 0.7726 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.4611, allocations: 0.6846 MB / 0.7733 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/0.4612, allocations: 11.44 kB / 0.7733 GB, free: 12.87 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.4612, allocations: 0 / 0.7733 GB, free: 12.87 MB / 0.545 GB Notification: Performance of Templates: time 0.00211/0.4633, allocations: 0.7297 MB / 0.774 GB, free: 12.14 MB / 0.545 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)