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.004405/0.004405, allocations: 99.53 kB / 15.73 MB, free: 6.48 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.001296/0.001296, allocations: 193.7 kB / 16.68 MB, free: 6.363 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8366/0.8366, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 63.83 kB / 0.5809 GB, free: 1.098 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1405, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00231/0.1429, allocations: 1.289 MB / 0.6605 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005753/0.1435, allocations: 309.4 kB / 0.6608 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/0.1435, allocations: 0 / 0.6608 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.1435, allocations: 0 / 0.6608 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.004e-05/0.1436, allocations: 15.92 kB / 0.6608 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.1439, allocations: 75.72 kB / 0.6608 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.615e-05/0.144, allocations: 35.84 kB / 0.6609 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.1441, allocations: 5.406 kB / 0.6609 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.711e-05/0.1441, allocations: 31.91 kB / 0.6609 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.122e-05/0.1442, allocations: 11.88 kB / 0.6609 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.1442, allocations: 3.938 kB / 0.6609 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.1444, allocations: 83.91 kB / 0.661 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.1444, allocations: 7.922 kB / 0.661 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.1445, allocations: 11.94 kB / 0.661 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.1446, allocations: 76 kB / 0.6611 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1446, allocations: 0 / 0.6611 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1447, allocations: 0 / 0.6611 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.1447, allocations: 0 / 0.6611 GB, free: 12.05 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.0004252/0.1451, allocations: 359.2 kB / 0.6614 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1451, allocations: 12.03 kB / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.354e-05/0.1452, allocations: 34.75 kB / 0.6615 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.1452, allocations: 4.922 kB / 0.6615 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.1453, allocations: 168.3 kB / 0.6617 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1454, allocations: 4.375 kB / 0.6617 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.1454, allocations: 8.125 kB / 0.6617 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.437e-05/0.1455, allocations: 33.69 kB / 0.6617 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1455, allocations: 4 kB / 0.6617 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.1455, allocations: 0 / 0.6617 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.1455, allocations: 0 / 0.6617 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.024e-05/0.1456, allocations: 15.94 kB / 0.6617 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.1457, allocations: 153.7 kB / 0.6619 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.234e-05/0.1458, allocations: 38.59 kB / 0.6619 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.469e-05/0.1459, allocations: 12.86 kB / 0.6619 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001283/0.1472, allocations: 1.191 MB / 0.6631 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.1472, allocations: 34.56 kB / 0.6631 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.1472, allocations: 0 / 0.6631 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001584/0.1474, allocations: 53.62 kB / 0.6632 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.1474, allocations: 55.41 kB / 0.6632 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.759e-05/0.1475, allocations: 109.8 kB / 0.6633 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1475, allocations: 25.7 kB / 0.6633 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.1476, allocations: 84.14 kB / 0.6634 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.1476, allocations: 15.83 kB / 0.6634 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.1477, allocations: 17.72 kB / 0.6635 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1478, allocations: 310.8 kB / 0.6637 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.1478, allocations: 8 kB / 0.6638 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.22e-05/0.1479, allocations: 8 kB / 0.6638 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.557e-05/0.1479, allocations: 24.78 kB / 0.6638 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1479, allocations: 0 / 0.6638 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.697e-05/0.148, allocations: 41.64 kB / 0.6638 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.148, allocations: 7.984 kB / 0.6638 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.148, allocations: 0 / 0.6638 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.148, allocations: 0 / 0.6638 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.857e-05/0.1481, allocations: 7.938 kB / 0.6638 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.1481, allocations: 4 kB / 0.6638 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.11e-05/0.1481, allocations: 8 kB / 0.6639 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.1481, allocations: 0 / 0.6639 GB, free: 8.738 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 7.706e-05/0.1482, allocations: 109.8 kB / 0.664 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.1482, allocations: 7.891 kB / 0.664 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.1484, allocations: 65.52 kB / 0.664 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1484, allocations: 0 / 0.664 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1484, allocations: 0 / 0.664 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1484, allocations: 4 kB / 0.664 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.1486, allocations: 161.6 kB / 0.6642 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1486, allocations: 0 / 0.6642 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.1486, allocations: 4 kB / 0.6642 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1486, allocations: 4 kB / 0.6642 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-06/0.1486, allocations: 0 / 0.6642 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1486, allocations: 0 / 0.6642 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1486, allocations: 4 kB / 0.6642 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.1487, allocations: 81.33 kB / 0.6643 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.415e-05/0.1488, allocations: 89.14 kB / 0.6644 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.1488, allocations: 3.984 kB / 0.6644 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.198e-05/0.1489, allocations: 0 / 0.6644 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.1489, allocations: 11.92 kB / 0.6644 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.1489, allocations: 0 / 0.6644 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.247e-05/0.149, allocations: 87.58 kB / 0.6645 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.149, allocations: 4 kB / 0.6645 GB, free: 8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000229/0.1492, allocations: 31.86 kB / 0.6645 GB, free: 7.969 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.0005052/0.1497, allocations: 0.6318 MB / 0.6651 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.185e-05/0.1498, allocations: 15.94 kB / 0.6651 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1498, allocations: 0 / 0.6651 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-05/0.1499, allocations: 11.98 kB / 0.6651 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.15, allocations: 4 kB / 0.6651 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/0.1504, allocations: 175.4 kB / 0.6653 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.1508, allocations: 0.6806 MB / 0.666 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.772e-05/0.1508, allocations: 4 kB / 0.666 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.1508, allocations: 19.44 kB / 0.666 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.1508, allocations: 0 / 0.666 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.1724, allocations: 1.611 MB / 0.6676 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/7.85, allocations: 13.86 kB / 0.6676 GB, free: 4.852 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)