Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_dev_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.004497/0.004497, allocations: 97.58 kB / 15.73 MB, free: 5.988 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.001335/0.001335, allocations: 192.3 kB / 16.67 MB, free: 5.918 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9958/0.9958, allocations: 135.6 MB / 426.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 67.89 kB / 0.5858 GB, free: 3.219 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3385, allocations: 81.02 MB / 0.6649 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001858/0.3404, allocations: 1.291 MB / 0.6661 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004327/0.3409, allocations: 305.1 kB / 0.6664 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.644e-05/0.3409, allocations: 1.562 kB / 0.6664 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.3409, allocations: 7.938 kB / 0.6664 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.101e-05/0.341, allocations: 13.25 kB / 0.6665 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.3413, allocations: 71.08 kB / 0.6665 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.592e-05/0.3414, allocations: 37.81 kB / 0.6666 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.2e-05/0.3414, allocations: 1.469 kB / 0.6666 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.014e-05/0.3415, allocations: 29.69 kB / 0.6666 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.622e-05/0.3415, allocations: 15.77 kB / 0.6666 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.3415, allocations: 1.25 kB / 0.6666 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.3417, allocations: 83.66 kB / 0.6667 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.3417, allocations: 5.312 kB / 0.6667 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.3418, allocations: 12.62 kB / 0.6667 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.3419, allocations: 79.28 kB / 0.6668 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.3419, allocations: 0 / 0.6668 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3419, allocations: 1.219 kB / 0.6668 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.3419, allocations: 0 / 0.6668 GB, free: 5.488 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.0002716/0.3422, allocations: 354.7 kB / 0.6671 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.3422, allocations: 9.312 kB / 0.6671 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.477e-05/0.3423, allocations: 36.16 kB / 0.6672 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.274e-05/0.3423, allocations: 6.203 kB / 0.6672 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.431e-05/0.3424, allocations: 167.1 kB / 0.6673 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.3424, allocations: 8.312 kB / 0.6673 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.582e-06/0.3424, allocations: 5.562 kB / 0.6673 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.699e-05/0.3425, allocations: 39.41 kB / 0.6674 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.3425, allocations: 1.25 kB / 0.6674 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.3425, allocations: 3.938 kB / 0.6674 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.3425, allocations: 0 / 0.6674 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.493e-05/0.3425, allocations: 10.83 kB / 0.6674 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001029/0.3427, allocations: 156 kB / 0.6675 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.883e-05/0.3427, allocations: 37.61 kB / 0.6676 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.3428, allocations: 29.77 kB / 0.6676 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007502/0.3435, allocations: 1.18 MB / 0.6688 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.3435, allocations: 35.75 kB / 0.6688 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3435, allocations: 1.062 kB / 0.6688 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001291/0.3437, allocations: 47.97 kB / 0.6688 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.732e-05/0.3437, allocations: 52.78 kB / 0.6689 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.466e-05/0.3438, allocations: 110.3 kB / 0.669 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.3438, allocations: 31.16 kB / 0.669 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.101e-05/0.3438, allocations: 84.08 kB / 0.6691 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.3438, allocations: 17.25 kB / 0.6691 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.3438, allocations: 17.75 kB / 0.6691 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.261e-05/0.3439, allocations: 316.1 kB / 0.6694 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.3439, allocations: 2.688 kB / 0.6694 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.263e-05/0.3439, allocations: 7.828 kB / 0.6694 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.198e-05/0.344, allocations: 16.36 kB / 0.6695 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.344, allocations: 0 / 0.6695 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.114e-05/0.344, allocations: 49.38 kB / 0.6695 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.344, allocations: 5.875 kB / 0.6695 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.344, allocations: 0 / 0.6695 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.3441, allocations: 4 kB / 0.6695 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.62e-05/0.3441, allocations: 8.438 kB / 0.6695 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.3441, allocations: 1.156 kB / 0.6695 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.605e-05/0.3441, allocations: 0 / 0.6695 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.3441, allocations: 1.156 kB / 0.6695 GB, free: 2.398 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 3.779e-05/0.3442, allocations: 108.2 kB / 0.6696 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.3442, allocations: 14.66 kB / 0.6696 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.3443, allocations: 63.78 kB / 0.6697 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3443, allocations: 0 / 0.6697 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3443, allocations: 1.719 kB / 0.6697 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3444, allocations: 0 / 0.6697 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.743e-05/0.3444, allocations: 160 kB / 0.6699 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3444, allocations: 0 / 0.6699 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.843e-05/0.3445, allocations: 12.86 kB / 0.6699 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3445, allocations: 0 / 0.6699 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.3445, allocations: 5.031 kB / 0.6699 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3445, allocations: 0 / 0.6699 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.3445, allocations: 5.219 kB / 0.6699 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.864e-05/0.3446, allocations: 78.62 kB / 0.67 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.3446, allocations: 84.67 kB / 0.67 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.3446, allocations: 0 / 0.67 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.048e-05/0.3447, allocations: 5.484 kB / 0.67 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.3447, allocations: 1.375 kB / 0.67 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.3447, allocations: 1.062 kB / 0.67 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.301e-05/0.3447, allocations: 90.25 kB / 0.6701 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3447, allocations: 0 / 0.6701 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000214/0.3449, allocations: 32.08 kB / 0.6702 GB, free: 1.723 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.0002665/0.3452, allocations: 0.6419 MB / 0.6708 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.195e-05/0.3453, allocations: 17.48 kB / 0.6708 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3453, allocations: 4 kB / 0.6708 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.618e-05/0.3453, allocations: 10.66 kB / 0.6708 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.3455, allocations: 2.781 kB / 0.6708 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003045/0.3458, allocations: 161.6 kB / 0.671 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.4e-05/0.3459, allocations: 0.6779 MB / 0.6716 GB, free: 220 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.648e-05/0.3459, allocations: 9.188 kB / 0.6716 GB, free: 216 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/0.346, allocations: 8.625 kB / 0.6717 GB, free: 208 kB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.346, allocations: 0 / 0.6717 GB, free: 208 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.3674, allocations: 1.628 MB / 0.6732 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.721/8.088, allocations: 10.86 kB / 0.6733 GB, free: 15.3 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)