Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_IDEAS_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.004125/0.004125, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001073/0.001074, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7368/0.7368, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 60.14 kB / 0.5809 GB, free: 8.078 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3404, allocations: 80.21 MB / 0.6592 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001867/0.3423, allocations: 1.292 MB / 0.6605 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004541/0.3428, allocations: 313.9 kB / 0.6608 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.3428, allocations: 0 / 0.6608 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.3429, allocations: 4.594 kB / 0.6608 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.882e-05/0.343, allocations: 9.438 kB / 0.6608 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.3432, allocations: 79.73 kB / 0.6608 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.924e-05/0.3433, allocations: 38.61 kB / 0.6609 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.385e-05/0.3434, allocations: 3.25 kB / 0.6609 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.659e-05/0.3435, allocations: 31.62 kB / 0.6609 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.2e-05/0.3435, allocations: 10.56 kB / 0.6609 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.3435, allocations: 1.031 kB / 0.6609 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.3437, allocations: 91.7 kB / 0.661 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.3437, allocations: 5.859 kB / 0.661 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.3438, allocations: 9.062 kB / 0.661 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.3439, allocations: 79.7 kB / 0.6611 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3439, allocations: 0.7031 kB / 0.6611 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3439, allocations: 0 / 0.6611 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.3439, allocations: 1.875 kB / 0.6611 GB, free: 8.625 MB / 0.4981 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.0002806/0.3442, allocations: 355.6 kB / 0.6614 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.3443, allocations: 12.98 kB / 0.6615 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.691e-05/0.3443, allocations: 32.84 kB / 0.6615 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.452e-05/0.3443, allocations: 2.719 kB / 0.6615 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.539e-05/0.3444, allocations: 170.9 kB / 0.6617 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.3444, allocations: 2.312 kB / 0.6617 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.3444, allocations: 5.375 kB / 0.6617 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.355e-05/0.3445, allocations: 38.72 kB / 0.6617 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.3445, allocations: 0.5625 kB / 0.6617 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.3445, allocations: 3.938 kB / 0.6617 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.3445, allocations: 1.5 kB / 0.6617 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.615e-05/0.3446, allocations: 12.33 kB / 0.6617 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.3447, allocations: 160 kB / 0.6619 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.361e-05/0.3448, allocations: 36.73 kB / 0.6619 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.049e-05/0.3448, allocations: 13.41 kB / 0.6619 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008/0.3456, allocations: 1.191 MB / 0.6631 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.3457, allocations: 32.97 kB / 0.6631 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.3457, allocations: 0 / 0.6631 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001646/0.3458, allocations: 48.78 kB / 0.6632 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/0.3459, allocations: 55.34 kB / 0.6632 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.453e-05/0.3459, allocations: 111.3 kB / 0.6633 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.3459, allocations: 30.36 kB / 0.6633 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.51e-05/0.346, allocations: 81.33 kB / 0.6634 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.346, allocations: 14.03 kB / 0.6634 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.346, allocations: 19.12 kB / 0.6635 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.476e-05/0.3461, allocations: 312.9 kB / 0.6638 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.3461, allocations: 3.141 kB / 0.6638 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.19e-05/0.3461, allocations: 4.688 kB / 0.6638 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.182e-05/0.3461, allocations: 17.22 kB / 0.6638 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3461, allocations: 4 kB / 0.6638 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.204e-05/0.3462, allocations: 56.98 kB / 0.6638 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3462, allocations: 6.391 kB / 0.6638 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3462, allocations: 0 / 0.6638 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3462, allocations: 0 / 0.6638 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.234e-05/0.3463, allocations: 6.281 kB / 0.6638 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.3463, allocations: 0 / 0.6638 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.878e-05/0.3463, allocations: 1.797 kB / 0.6638 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.3463, allocations: 1.312 kB / 0.6638 GB, free: 5.617 MB / 0.4981 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 4.639e-05/0.3464, allocations: 115.9 kB / 0.664 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.3464, allocations: 10.48 kB / 0.664 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.3465, allocations: 57.59 kB / 0.664 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3465, allocations: 1.438 kB / 0.664 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3465, allocations: 3.938 kB / 0.664 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3465, allocations: 0.5625 kB / 0.664 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.577e-05/0.3466, allocations: 164.4 kB / 0.6642 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3466, allocations: 5.125 kB / 0.6642 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.683e-05/0.3467, allocations: 5.172 kB / 0.6642 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3467, allocations: 1.188 kB / 0.6642 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.3467, allocations: 1.406 kB / 0.6642 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3467, allocations: 4.5 kB / 0.6642 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3467, allocations: 0 / 0.6642 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.023e-05/0.3468, allocations: 79.36 kB / 0.6643 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.3468, allocations: 82.62 kB / 0.6644 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.3468, allocations: 4.656 kB / 0.6644 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.672e-05/0.3469, allocations: 5.094 kB / 0.6644 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.074e-05/0.3469, allocations: 2.594 kB / 0.6644 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.3469, allocations: 2.875 kB / 0.6644 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.521e-05/0.3469, allocations: 83.23 kB / 0.6645 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3469, allocations: 3.938 kB / 0.6645 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002079/0.3471, allocations: 33.89 kB / 0.6645 GB, free: 4.953 MB / 0.4981 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.0002684/0.3474, allocations: 0.6352 MB / 0.6651 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.799e-05/0.3475, allocations: 11.95 kB / 0.6651 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3475, allocations: 1.5 kB / 0.6651 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.567e-05/0.3475, allocations: 11.12 kB / 0.6651 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.3477, allocations: 7.672 kB / 0.6651 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003113/0.3481, allocations: 162.2 kB / 0.6653 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.45e-05/0.3481, allocations: 0.6824 MB / 0.666 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.651e-05/0.3482, allocations: 5.438 kB / 0.666 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.3482, allocations: 9.797 kB / 0.666 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.3482, allocations: 0 / 0.666 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01474/0.363, allocations: 1.626 MB / 0.6676 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.978/7.341, allocations: 6.516 kB / 0.6676 GB, free: 2.727 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)