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: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00483/0.00483, allocations: 100.9 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.001313/0.001313, allocations: 199 kB / 16.68 MB, free: 5.965 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: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002506/0.002506, allocations: 282.8 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.016/1.016, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00277/0.00277, allocations: 100.4 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1623, allocations: 86.98 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002477/0.1649, allocations: 1.286 MB / 0.7672 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005907/0.1655, allocations: 298.9 kB / 0.7675 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.831e-05/0.1655, allocations: 0 / 0.7675 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.099e-05/0.1655, allocations: 3.938 kB / 0.7675 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.785e-05/0.1656, allocations: 11.92 kB / 0.7675 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.1659, allocations: 75.72 kB / 0.7675 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.948e-05/0.166, allocations: 35.91 kB / 0.7676 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.413e-05/0.1661, allocations: 0 / 0.7676 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.952e-05/0.1661, allocations: 31.84 kB / 0.7676 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.1662, allocations: 11.94 kB / 0.7676 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.1662, allocations: 0 / 0.7676 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.1664, allocations: 91.91 kB / 0.7677 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.1665, allocations: 0 / 0.7677 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.1665, allocations: 11.88 kB / 0.7677 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.1667, allocations: 80 kB / 0.7678 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.1667, allocations: 3.984 kB / 0.7678 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1667, allocations: 3.938 kB / 0.7678 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.1667, allocations: 0 / 0.7678 GB, free: 6.984 MB / 0.5606 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.0004288/0.1671, allocations: 355.2 kB / 0.7681 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.1672, allocations: 12.03 kB / 0.7682 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.1672, allocations: 38.73 kB / 0.7682 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.35e-05/0.1672, allocations: 0.9375 kB / 0.7682 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.1674, allocations: 172.3 kB / 0.7684 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.1674, allocations: 384 / 0.7684 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.1674, allocations: 8.125 kB / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.698e-05/0.1675, allocations: 41.62 kB / 0.7684 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1675, allocations: 0 / 0.7684 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1675, allocations: 4 kB / 0.7684 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1676, allocations: 0 / 0.7684 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.614e-05/0.1676, allocations: 15.98 kB / 0.7684 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.1678, allocations: 161.7 kB / 0.7686 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.708e-05/0.1679, allocations: 34.56 kB / 0.7686 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.672e-05/0.1679, allocations: 12.86 kB / 0.7686 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/0.1692, allocations: 1.187 MB / 0.7698 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.1692, allocations: 34.5 kB / 0.7698 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1692, allocations: 0 / 0.7698 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0001598/0.1694, allocations: 53.69 kB / 0.7699 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.1694, allocations: 51.41 kB / 0.7699 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.058e-05/0.1695, allocations: 109.8 kB / 0.77 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.1696, allocations: 29.7 kB / 0.77 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.1696, allocations: 84.08 kB / 0.7701 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.1696, allocations: 11.91 kB / 0.7701 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.1697, allocations: 17.72 kB / 0.7702 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1698, allocations: 314.8 kB / 0.7705 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.685e-05/0.1699, allocations: 4 kB / 0.7705 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.465e-05/0.1699, allocations: 8 kB / 0.7705 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.047e-05/0.1699, allocations: 16.8 kB / 0.7705 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1699, allocations: 0 / 0.7705 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.653e-05/0.17, allocations: 53.62 kB / 0.7705 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.17, allocations: 4 kB / 0.7705 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.17, allocations: 0 / 0.7705 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1701, allocations: 0 / 0.7705 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.868e-05/0.1701, allocations: 4 kB / 0.7705 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1701, allocations: 3.984 kB / 0.7705 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.989e-05/0.1701, allocations: 4.328 kB / 0.7705 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1702, allocations: 4 kB / 0.7706 GB, free: 3.676 MB / 0.5606 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.977e-05/0.1702, allocations: 106.5 kB / 0.7707 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.1703, allocations: 19.83 kB / 0.7707 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.1704, allocations: 65.52 kB / 0.7707 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1704, allocations: 0 / 0.7707 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1704, allocations: 0 / 0.7707 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1704, allocations: 0 / 0.7707 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.1706, allocations: 161.6 kB / 0.7709 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1706, allocations: 4 kB / 0.7709 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.1706, allocations: 4 kB / 0.7709 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1706, allocations: 4 kB / 0.7709 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.1706, allocations: 0 / 0.7709 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.1707, allocations: 0 / 0.7709 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1707, allocations: 0 / 0.7709 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.1708, allocations: 80.95 kB / 0.771 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-05/0.1709, allocations: 89.09 kB / 0.7711 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.1709, allocations: 0 / 0.7711 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.892e-05/0.1709, allocations: 4 kB / 0.7711 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-06/0.1709, allocations: 4 kB / 0.7711 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.1709, allocations: 4 kB / 0.7711 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.038e-05/0.171, allocations: 87.27 kB / 0.7712 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.171, allocations: 3.938 kB / 0.7712 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002117/0.1712, allocations: 27.88 kB / 0.7712 GB, free: 2.918 MB / 0.5606 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.0004966/0.1717, allocations: 0.6512 MB / 0.7718 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.196e-05/0.1718, allocations: 15.98 kB / 0.7718 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1718, allocations: 0 / 0.7718 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.901e-05/0.1718, allocations: 12 kB / 0.7719 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.1721, allocations: 0 / 0.7719 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.1725, allocations: 163.5 kB / 0.772 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.1728, allocations: 0.6768 MB / 0.7727 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.756e-05/0.1728, allocations: 8 kB / 0.7727 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.1729, allocations: 19.42 kB / 0.7727 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.1729, allocations: 0 / 0.7727 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2988/0.4717, allocations: 1.632 MB / 0.7743 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.646/8.117, allocations: 5.703 kB / 0.7743 GB, free: 14.6 MB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)