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.005095/0.005095, allocations: 101.4 kB / 15.73 MB, free: 6.07 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.001106/0.001106, allocations: 196.6 kB / 16.68 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8211/0.8211, allocations: 135.1 MB / 425.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 64.03 kB / 0.5851 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1408, allocations: 80.91 MB / 0.6642 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002244/0.1431, allocations: 1.303 MB / 0.6654 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005363/0.1436, allocations: 307.2 kB / 0.6657 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.175e-05/0.1437, allocations: 0 / 0.6657 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.1437, allocations: 3.938 kB / 0.6657 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.747e-05/0.1438, allocations: 7.922 kB / 0.6657 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.1441, allocations: 83.72 kB / 0.6658 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.2e-05/0.1442, allocations: 35.91 kB / 0.6658 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.454e-05/0.1443, allocations: 3.984 kB / 0.6658 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.861e-05/0.1444, allocations: 27.86 kB / 0.6659 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.467e-05/0.1444, allocations: 19.92 kB / 0.6659 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.1444, allocations: 4 kB / 0.6659 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.1446, allocations: 79.91 kB / 0.666 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.1446, allocations: 7.938 kB / 0.666 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.1446, allocations: 7.938 kB / 0.666 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.1448, allocations: 80 kB / 0.6661 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1448, allocations: 0 / 0.6661 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1448, allocations: 0 / 0.6661 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.1448, allocations: 0 / 0.6661 GB, free: 4.371 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.0003522/0.1452, allocations: 359.2 kB / 0.6664 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1452, allocations: 13.11 kB / 0.6664 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.731e-05/0.1453, allocations: 30.75 kB / 0.6664 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.687e-05/0.1453, allocations: 4.891 kB / 0.6665 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.795e-05/0.1454, allocations: 168.3 kB / 0.6666 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.1454, allocations: 384 / 0.6666 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.1454, allocations: 4.125 kB / 0.6666 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.1455, allocations: 45.62 kB / 0.6667 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1456, allocations: 3.984 kB / 0.6667 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.1456, allocations: 0 / 0.6667 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1456, allocations: 4 kB / 0.6667 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.78e-05/0.1456, allocations: 11.98 kB / 0.6667 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.1458, allocations: 161.7 kB / 0.6668 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.711e-05/0.1459, allocations: 34.56 kB / 0.6669 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.263e-05/0.1459, allocations: 12.86 kB / 0.6669 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/0.1469, allocations: 1.187 MB / 0.668 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.147, allocations: 34.5 kB / 0.6681 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.147, allocations: 0 / 0.6681 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001413/0.1471, allocations: 49.69 kB / 0.6681 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.1472, allocations: 51.41 kB / 0.6682 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.534e-05/0.1472, allocations: 113.8 kB / 0.6683 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.1472, allocations: 33.64 kB / 0.6683 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.951e-05/0.1473, allocations: 80.14 kB / 0.6684 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.1473, allocations: 15.84 kB / 0.6684 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.1473, allocations: 17.72 kB / 0.6684 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.743e-05/0.1474, allocations: 310.8 kB / 0.6687 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.1475, allocations: 7.984 kB / 0.6687 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.239e-05/0.1475, allocations: 4 kB / 0.6687 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.418e-05/0.1475, allocations: 20.8 kB / 0.6687 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1475, allocations: 4 kB / 0.6687 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.95e-05/0.1476, allocations: 49.62 kB / 0.6688 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.1476, allocations: 4 kB / 0.6688 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1476, allocations: 0 / 0.6688 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.1476, allocations: 0 / 0.6688 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.746e-05/0.1477, allocations: 4 kB / 0.6688 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1477, allocations: 0 / 0.6688 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.531e-05/0.1477, allocations: 8 kB / 0.6688 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.1477, allocations: 0 / 0.6688 GB, free: 1.066 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 6.578e-05/0.1478, allocations: 117.8 kB / 0.6689 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.1478, allocations: 15.83 kB / 0.6689 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.1479, allocations: 53.59 kB / 0.669 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.148, allocations: 0 / 0.669 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.148, allocations: 0 / 0.669 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.148, allocations: 384 / 0.669 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.653e-05/0.1481, allocations: 157.6 kB / 0.6691 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1481, allocations: 8 kB / 0.6691 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.941e-05/0.1481, allocations: 7.984 kB / 0.6692 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1481, allocations: 0 / 0.6692 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.1481, allocations: 4 kB / 0.6692 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1481, allocations: 0 / 0.6692 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1481, allocations: 3.984 kB / 0.6692 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.853e-05/0.1482, allocations: 77 kB / 0.6692 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/0.1483, allocations: 89.05 kB / 0.6693 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.1483, allocations: 4 kB / 0.6693 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.985e-05/0.1484, allocations: 0 / 0.6693 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.149e-05/0.1484, allocations: 7.938 kB / 0.6693 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.1484, allocations: 4 kB / 0.6693 GB, free: 432 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.362e-05/0.1484, allocations: 87.56 kB / 0.6694 GB, free: 344 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1484, allocations: 0 / 0.6694 GB, free: 344 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002131/0.1487, allocations: 31.88 kB / 0.6695 GB, free: 312 kB / 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.0003949/0.1491, allocations: 0.6409 MB / 0.6701 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.129e-05/0.1492, allocations: 23.92 kB / 0.6701 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1492, allocations: 0 / 0.6701 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.44e-05/0.1492, allocations: 4 kB / 0.6701 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.1494, allocations: 8 kB / 0.6701 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.1498, allocations: 163.4 kB / 0.6703 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.15, allocations: 0.6846 MB / 0.6709 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.032e-05/0.15, allocations: 4 kB / 0.6709 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.1501, allocations: 11.44 kB / 0.671 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.1501, allocations: 0 / 0.671 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01583/0.1659, allocations: 1.621 MB / 0.6725 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.184/7.35, allocations: 8.594 kB / 0.6725 GB, free: 13.14 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)