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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005619/0.005619, allocations: 102 kB / 15.73 MB, free: 6.039 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.001152/0.001152, allocations: 193 kB / 16.67 MB, free: 5.961 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.401/1.401, allocations: 222.9 MB / 240.4 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.002087/0.002087, allocations: 288.7 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9883/0.9883, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 87.86 kB / 0.6814 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5646/0.5666, allocations: 86.98 MB / 0.7664 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002545/0.5692, allocations: 1.253 MB / 0.7676 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002921/0.5695, allocations: 123.5 kB / 0.7677 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.784e-05/0.5696, allocations: 4 kB / 0.7677 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.5696, allocations: 0 / 0.7677 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.911e-05/0.5697, allocations: 7.922 kB / 0.7677 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.5699, allocations: 35.89 kB / 0.7678 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.784e-05/0.57, allocations: 19.92 kB / 0.7678 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.698e-05/0.57, allocations: 4 kB / 0.7678 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.351e-05/0.5701, allocations: 7.984 kB / 0.7678 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.489e-05/0.5701, allocations: 3.938 kB / 0.7678 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.5702, allocations: 4 kB / 0.7678 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.5703, allocations: 51.94 kB / 0.7679 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.5703, allocations: 7.938 kB / 0.7679 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.5704, allocations: 3.938 kB / 0.7679 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.5705, allocations: 47.58 kB / 0.7679 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.5705, allocations: 0 / 0.7679 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5705, allocations: 0 / 0.7679 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.5705, allocations: 0 / 0.7679 GB, free: 2.383 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004115/0.5709, allocations: 331.6 kB / 0.7682 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.571, allocations: 8.031 kB / 0.7682 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.571, allocations: 4.844 kB / 0.7682 GB, free: 2 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.5712, allocations: 164.4 kB / 0.7684 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.5712, allocations: 4.375 kB / 0.7684 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.5712, allocations: 4.375 kB / 0.7684 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.846e-05/0.5713, allocations: 37.62 kB / 0.7684 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.5713, allocations: 0 / 0.7684 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.5713, allocations: 0 / 0.7684 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.5713, allocations: 3.984 kB / 0.7684 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.397e-05/0.5714, allocations: 11.94 kB / 0.7685 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.5715, allocations: 157.6 kB / 0.7686 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.669e-05/0.5716, allocations: 18.58 kB / 0.7686 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.21e-05/0.5716, allocations: 12.92 kB / 0.7686 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006883/0.5723, allocations: 0.6012 MB / 0.7692 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.5723, allocations: 46.48 kB / 0.7693 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.5723, allocations: 0 / 0.7693 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001429/0.5725, allocations: 41.64 kB / 0.7693 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.5725, allocations: 51.41 kB / 0.7694 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.406e-05/0.5726, allocations: 101.8 kB / 0.7695 GB, free: 496 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.5727, allocations: 29.7 kB / 0.7695 GB, free: 460 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/0.5727, allocations: 80.14 kB / 0.7696 GB, free: 376 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.5727, allocations: 6.438 kB / 0.7696 GB, free: 372 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.5728, allocations: 17.84 kB / 0.7696 GB, free: 348 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.5729, allocations: 314.8 kB / 0.7699 GB, free: 24 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.1e-05/0.5729, allocations: 0 / 0.7699 GB, free: 24 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.083e-05/0.5729, allocations: 7.984 kB / 0.7699 GB, free: 16 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.046e-05/0.573, allocations: 12.86 kB / 0.7699 GB, free: 0 / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.573, allocations: 0 / 0.7699 GB, free: 0 / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.575e-05/0.573, allocations: 45.62 kB / 0.7699 GB, free: 15.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.5731, allocations: 8.094 kB / 0.77 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5731, allocations: 4 kB / 0.77 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.5731, allocations: 0 / 0.77 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.193e-05/0.5732, allocations: 4 kB / 0.77 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.5732, allocations: 0 / 0.77 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/0.5732, allocations: 3.938 kB / 0.77 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.5732, allocations: 0 / 0.77 GB, free: 15.93 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 (2): * Single equations (assignments): 2 * 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 9.097e-05/0.5733, allocations: 116.2 kB / 0.7701 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-06/0.5733, allocations: 7.844 kB / 0.7701 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.215e-05/0.5734, allocations: 52.75 kB / 0.7701 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.5734, allocations: 0 / 0.7701 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5734, allocations: 0 / 0.7701 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.5734, allocations: 0 / 0.7701 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.5735, allocations: 149.7 kB / 0.7703 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.5735, allocations: 3.938 kB / 0.7703 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-05/0.5736, allocations: 4 kB / 0.7703 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.5736, allocations: 3.938 kB / 0.7703 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.5736, allocations: 0 / 0.7703 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.5736, allocations: 4 kB / 0.7703 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5736, allocations: 0 / 0.7703 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.295e-05/0.5737, allocations: 65.16 kB / 0.7704 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.5737, allocations: 81.05 kB / 0.7704 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.5738, allocations: 8 kB / 0.7704 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.522e-05/0.5738, allocations: 4 kB / 0.7704 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.596e-05/0.5738, allocations: 3.938 kB / 0.7704 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.5738, allocations: 0 / 0.7704 GB, free: 15.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.439e-05/0.5739, allocations: 79.31 kB / 0.7705 GB, free: 15.26 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5739, allocations: 7.938 kB / 0.7705 GB, free: 15.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002095/0.5741, allocations: 19.92 kB / 0.7705 GB, free: 15.23 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 (2): * Single equations (assignments): 2 * 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.0001705/0.5743, allocations: 107.2 kB / 0.7707 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.864e-05/0.5744, allocations: 15.98 kB / 0.7707 GB, free: 15.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.5744, allocations: 0 / 0.7707 GB, free: 15.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.094e-05/0.5744, allocations: 4 kB / 0.7707 GB, free: 15.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.5746, allocations: 12.06 kB / 0.7707 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/0.5749, allocations: 110.1 kB / 0.7708 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.5752, allocations: 0.6768 MB / 0.7714 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.664e-05/0.5752, allocations: 3.984 kB / 0.7715 GB, free: 14.24 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.5752, allocations: 7.438 kB / 0.7715 GB, free: 14.23 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.5752, allocations: 0 / 0.7715 GB, free: 14.23 MB / 0.545 GB Notification: Performance of Templates: time 0.00294/0.5782, allocations: 0.6093 MB / 0.7721 GB, free: 13.63 MB / 0.545 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)