Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",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.001093/0.001093, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.27/1.27, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.72/0.72, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001177, allocations: 57.19 kB / 0.5019 GB, free: 8.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1249, allocations: 80.2 MB / 0.5802 GB, free: 8.668 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002048/0.127, allocations: 1.249 MB / 0.5814 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002593/0.1273, allocations: 131.5 kB / 0.5815 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.388e-05/0.1273, allocations: 0 / 0.5815 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.523e-05/0.1273, allocations: 3.938 kB / 0.5815 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.284e-05/0.1274, allocations: 0 / 0.5815 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.1276, allocations: 43.81 kB / 0.5816 GB, free: 7.223 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.402e-05/0.1276, allocations: 15.94 kB / 0.5816 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.429e-05/0.1277, allocations: 0 / 0.5816 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.775e-05/0.1277, allocations: 8 kB / 0.5816 GB, free: 7.199 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.324e-05/0.1277, allocations: 11.92 kB / 0.5816 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.1278, allocations: 0 / 0.5816 GB, free: 7.188 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.1279, allocations: 51.94 kB / 0.5817 GB, free: 7.137 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.016e-06/0.1279, allocations: 0 / 0.5817 GB, free: 7.137 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.1279, allocations: 7.938 kB / 0.5817 GB, free: 7.129 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.183e-05/0.128, allocations: 39.94 kB / 0.5817 GB, free: 7.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.128, allocations: 4 kB / 0.5817 GB, free: 7.086 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.128, allocations: 0 / 0.5817 GB, free: 7.086 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.128, allocations: 0 / 0.5817 GB, free: 7.086 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002987/0.1284, allocations: 331.7 kB / 0.582 GB, free: 6.715 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.1284, allocations: 12.03 kB / 0.582 GB, free: 6.703 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.809e-05/0.1284, allocations: 34.75 kB / 0.5821 GB, free: 6.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.905e-05/0.1284, allocations: 0.9375 kB / 0.5821 GB, free: 6.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.1286, allocations: 164.4 kB / 0.5822 GB, free: 6.461 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.1286, allocations: 384 / 0.5822 GB, free: 6.461 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.1286, allocations: 4.375 kB / 0.5822 GB, free: 6.457 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.467e-05/0.1287, allocations: 37.58 kB / 0.5823 GB, free: 6.414 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.1287, allocations: 4 kB / 0.5823 GB, free: 6.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.1287, allocations: 0 / 0.5823 GB, free: 6.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.1287, allocations: 0 / 0.5823 GB, free: 6.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.567e-05/0.1287, allocations: 4 kB / 0.5823 GB, free: 6.406 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.1288, allocations: 153.7 kB / 0.5824 GB, free: 6.207 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.582e-05/0.1289, allocations: 26.52 kB / 0.5825 GB, free: 6.172 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.1289, allocations: 8.922 kB / 0.5825 GB, free: 6.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006302/0.1296, allocations: 0.6128 MB / 0.5831 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.1296, allocations: 34.56 kB / 0.5831 GB, free: 5.375 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.304e-06/0.1296, allocations: 3.984 kB / 0.5831 GB, free: 5.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001121/0.1297, allocations: 41.69 kB / 0.5831 GB, free: 5.324 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.1297, allocations: 51.41 kB / 0.5832 GB, free: 5.262 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.709e-05/0.1298, allocations: 97.86 kB / 0.5833 GB, free: 5.156 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.1298, allocations: 25.7 kB / 0.5833 GB, free: 5.125 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.58e-05/0.1299, allocations: 88.27 kB / 0.5834 GB, free: 5.035 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.1299, allocations: 7.891 kB / 0.5834 GB, free: 5.027 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.1299, allocations: 13.72 kB / 0.5834 GB, free: 5.008 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.899e-05/0.13, allocations: 318.8 kB / 0.5837 GB, free: 4.688 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.243e-05/0.13, allocations: 0 / 0.5837 GB, free: 4.688 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.997e-06/0.13, allocations: 7.938 kB / 0.5837 GB, free: 4.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.666e-05/0.1301, allocations: 12.86 kB / 0.5837 GB, free: 4.664 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1301, allocations: 4.062 kB / 0.5837 GB, free: 4.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.682e-05/0.1301, allocations: 41.62 kB / 0.5838 GB, free: 4.613 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1301, allocations: 8 kB / 0.5838 GB, free: 4.605 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1301, allocations: 0 / 0.5838 GB, free: 4.605 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.1302, allocations: 0 / 0.5838 GB, free: 4.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.284e-05/0.1302, allocations: 8 kB / 0.5838 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1302, allocations: 3.984 kB / 0.5838 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/0.1302, allocations: 0 / 0.5838 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-06/0.1302, allocations: 0 / 0.5838 GB, free: 4.594 MB / 494.1 MB 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 (2): * Single equations (assignments): 2 * 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.113e-05/0.1303, allocations: 121.8 kB / 0.5839 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.1303, allocations: 11.84 kB / 0.5839 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.086e-05/0.1304, allocations: 44.81 kB / 0.584 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1304, allocations: 0 / 0.584 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1304, allocations: 0 / 0.584 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1304, allocations: 0 / 0.584 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.125e-05/0.1305, allocations: 149.7 kB / 0.5841 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1305, allocations: 3.938 kB / 0.5841 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-05/0.1306, allocations: 8 kB / 0.5841 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1306, allocations: 0 / 0.5841 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.1306, allocations: 7.969 kB / 0.5841 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1306, allocations: 3.984 kB / 0.5841 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1306, allocations: 0 / 0.5841 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.542e-05/0.1307, allocations: 65.08 kB / 0.5842 GB, free: 4.098 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.1307, allocations: 81.05 kB / 0.5843 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.1307, allocations: 3.984 kB / 0.5843 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.611e-05/0.1307, allocations: 0 / 0.5843 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.1308, allocations: 8.031 kB / 0.5843 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.1308, allocations: 0 / 0.5843 GB, free: 3.988 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.972e-05/0.1308, allocations: 79.28 kB / 0.5844 GB, free: 3.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1308, allocations: 0 / 0.5844 GB, free: 3.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001866/0.131, allocations: 16 kB / 0.5844 GB, free: 3.895 MB / 494.1 MB 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 (2): * Single equations (assignments): 2 * 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.0003143/0.1313, allocations: 0.6202 MB / 0.585 GB, free: 3.246 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.266e-05/0.1314, allocations: 8 kB / 0.585 GB, free: 3.238 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1314, allocations: 0 / 0.585 GB, free: 3.238 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-05/0.1314, allocations: 4 kB / 0.585 GB, free: 3.234 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.1316, allocations: 15.92 kB / 0.585 GB, free: 3.219 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000767/0.1324, allocations: 1.102 MB / 0.5861 GB, free: 2.039 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.1326, allocations: 0.6807 MB / 0.5868 GB, free: 1.332 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.386e-05/0.1326, allocations: 3.938 kB / 0.5868 GB, free: 1.328 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.212e-05/0.1326, allocations: 11.44 kB / 0.5868 GB, free: 1.32 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1326, allocations: 0 / 0.5868 GB, free: 1.32 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.1482, allocations: 1.382 MB / 0.5881 GB, free: 28 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.682/6.83, allocations: 10.23 kB / 0.5881 GB, free: 24 kB / 494.1 MB (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw_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_PowerLaw.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)