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.001348/0.001348, allocations: 108.8 kB / 16.41 MB, free: 6.473 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.001365/0.001365, allocations: 187 kB / 17.34 MB, free: 5.754 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002463/0.002462, allocations: 286.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9525/0.9525, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 91.84 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5332/0.5355, allocations: 86.98 MB / 0.767 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00292/0.5385, allocations: 1.285 MB / 0.7683 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007179/0.5392, allocations: 314.8 kB / 0.7686 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.807e-05/0.5393, allocations: 4 kB / 0.7686 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.696e-05/0.5394, allocations: 3.938 kB / 0.7686 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.5395, allocations: 7.922 kB / 0.7686 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.5399, allocations: 83.7 kB / 0.7687 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.879e-05/0.54, allocations: 27.92 kB / 0.7687 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.469e-05/0.5401, allocations: 7.984 kB / 0.7687 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.5402, allocations: 31.86 kB / 0.7688 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.915e-05/0.5403, allocations: 15.86 kB / 0.7688 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.5403, allocations: 8 kB / 0.7688 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.5405, allocations: 75.91 kB / 0.7689 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.5406, allocations: 11.98 kB / 0.7689 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.5406, allocations: 7.938 kB / 0.7689 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.5408, allocations: 83.5 kB / 0.769 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.5408, allocations: 0 / 0.769 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5408, allocations: 0 / 0.769 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.5408, allocations: 0 / 0.769 GB, free: 1.883 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.0004683/0.5413, allocations: 357.9 kB / 0.7693 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.5414, allocations: 12.03 kB / 0.7693 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.5414, allocations: 8.844 kB / 0.7693 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.5415, allocations: 160.4 kB / 0.7695 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.5416, allocations: 384 / 0.7695 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.5416, allocations: 4.375 kB / 0.7695 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.5417, allocations: 41.62 kB / 0.7695 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.5417, allocations: 3.938 kB / 0.7695 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.5417, allocations: 0 / 0.7695 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.5417, allocations: 4 kB / 0.7695 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.41e-05/0.5418, allocations: 4 kB / 0.7695 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.542, allocations: 169.6 kB / 0.7697 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.339e-05/0.5421, allocations: 30.64 kB / 0.7697 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.386e-05/0.5421, allocations: 12.86 kB / 0.7697 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00115/0.5433, allocations: 1.187 MB / 0.7709 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.5433, allocations: 34.5 kB / 0.7709 GB, free: 15.45 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.5433, allocations: 0 / 0.7709 GB, free: 15.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0001744/0.5435, allocations: 49.69 kB / 0.771 GB, free: 15.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.5435, allocations: 51.41 kB / 0.771 GB, free: 15.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.331e-05/0.5436, allocations: 109.8 kB / 0.7711 GB, free: 15.22 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.5436, allocations: 29.7 kB / 0.7712 GB, free: 15.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.5437, allocations: 84.14 kB / 0.7712 GB, free: 15.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.5437, allocations: 7.891 kB / 0.7712 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.5438, allocations: 17.62 kB / 0.7713 GB, free: 15.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.5439, allocations: 314.8 kB / 0.7716 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.5439, allocations: 4 kB / 0.7716 GB, free: 14.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.491e-05/0.5439, allocations: 8.172 kB / 0.7716 GB, free: 14.74 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.966e-05/0.544, allocations: 24.88 kB / 0.7716 GB, free: 14.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.544, allocations: 0 / 0.7716 GB, free: 14.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.607e-05/0.5441, allocations: 53.62 kB / 0.7716 GB, free: 14.65 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.5441, allocations: 4 kB / 0.7716 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.5441, allocations: 0 / 0.7716 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.5441, allocations: 11.88 kB / 0.7717 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.909e-05/0.5442, allocations: 4 kB / 0.7717 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.5442, allocations: 0 / 0.7717 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.801e-05/0.5442, allocations: 0 / 0.7717 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.5442, allocations: 0 / 0.7717 GB, free: 14.63 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 8.451e-05/0.5443, allocations: 116.2 kB / 0.7718 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.5443, allocations: 7.938 kB / 0.7718 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.5445, allocations: 65.52 kB / 0.7718 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.5445, allocations: 0 / 0.7718 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5445, allocations: 0 / 0.7718 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.5445, allocations: 0 / 0.7718 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.5446, allocations: 161.6 kB / 0.772 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.5446, allocations: 7.938 kB / 0.772 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.96e-05/0.5447, allocations: 4 kB / 0.772 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.5447, allocations: 4 kB / 0.772 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.5447, allocations: 4 kB / 0.772 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.5447, allocations: 3.984 kB / 0.772 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5447, allocations: 0 / 0.772 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.983e-05/0.5448, allocations: 73.06 kB / 0.7721 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.5449, allocations: 85.05 kB / 0.7722 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.5449, allocations: 0 / 0.7722 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.332e-05/0.545, allocations: 0 / 0.7722 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.545, allocations: 11.98 kB / 0.7722 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.545, allocations: 0 / 0.7722 GB, free: 14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.165e-05/0.5451, allocations: 91.58 kB / 0.7723 GB, free: 13.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5451, allocations: 0 / 0.7723 GB, free: 13.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002252/0.5453, allocations: 27.98 kB / 0.7723 GB, free: 13.88 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.0002095/0.5455, allocations: 127.2 kB / 0.7724 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.5457, allocations: 15.94 kB / 0.7724 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5457, allocations: 0 / 0.7724 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.831e-05/0.5457, allocations: 11.98 kB / 0.7724 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.5459, allocations: 14.69 kB / 0.7725 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.5463, allocations: 155.7 kB / 0.7726 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.5465, allocations: 0.6768 MB / 0.7733 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.5466, allocations: 11.44 kB / 0.7733 GB, free: 12.8 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.5466, allocations: 0 / 0.7733 GB, free: 12.8 MB / 0.545 GB Notification: Performance of Templates: time 0.002275/0.5489, allocations: 0.7361 MB / 0.774 GB, free: 12.08 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)