Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_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.005931/0.005931, allocations: 102.8 kB / 15.74 MB, free: 5.551 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.001402/0.001402, allocations: 195.6 kB / 16.67 MB, free: 5.48 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8089/0.8089, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.48 kB / 0.5851 GB, free: 21.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1322, allocations: 80.9 MB / 0.6642 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002168/0.1344, allocations: 1.261 MB / 0.6654 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000272/0.1347, allocations: 123.8 kB / 0.6655 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.1348, allocations: 0 / 0.6655 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.427e-05/0.1348, allocations: 0 / 0.6655 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.705e-05/0.1349, allocations: 11.86 kB / 0.6655 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.1351, allocations: 43.89 kB / 0.6656 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.26e-05/0.1351, allocations: 15.92 kB / 0.6656 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.857e-05/0.1352, allocations: 0 / 0.6656 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.058e-05/0.1352, allocations: 7.938 kB / 0.6656 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.191e-05/0.1353, allocations: 11.98 kB / 0.6656 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.1353, allocations: 0 / 0.6656 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.1354, allocations: 43.95 kB / 0.6656 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.1354, allocations: 7.969 kB / 0.6656 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.1355, allocations: 11.94 kB / 0.6657 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.1356, allocations: 36.17 kB / 0.6657 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1356, allocations: 0 / 0.6657 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.795e-06/0.1356, allocations: 4 kB / 0.6657 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.1356, allocations: 0 / 0.6657 GB, free: 4.707 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003579/0.136, allocations: 331.5 kB / 0.666 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.136, allocations: 13.05 kB / 0.666 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/0.1361, allocations: 38.75 kB / 0.6661 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.1361, allocations: 4.891 kB / 0.6661 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.1362, allocations: 168.3 kB / 0.6662 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.1362, allocations: 4.375 kB / 0.6662 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.1362, allocations: 8.125 kB / 0.6662 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.104e-05/0.1363, allocations: 29.69 kB / 0.6663 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1363, allocations: 4 kB / 0.6663 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.1363, allocations: 4 kB / 0.6663 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.1364, allocations: 0 / 0.6663 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.848e-05/0.1364, allocations: 4 kB / 0.6663 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.1365, allocations: 149.7 kB / 0.6664 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.991e-05/0.1366, allocations: 30.55 kB / 0.6664 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.1366, allocations: 8.797 kB / 0.6665 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006817/0.1373, allocations: 0.6091 MB / 0.667 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.1373, allocations: 30.56 kB / 0.6671 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1373, allocations: 0 / 0.6671 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001489/0.1375, allocations: 41.7 kB / 0.6671 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.1375, allocations: 59.39 kB / 0.6672 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.514e-05/0.1376, allocations: 97.8 kB / 0.6673 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.1376, allocations: 25.7 kB / 0.6673 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.1377, allocations: 80.14 kB / 0.6674 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.1377, allocations: 15.94 kB / 0.6674 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.1377, allocations: 9.719 kB / 0.6674 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.689e-05/0.1378, allocations: 314.8 kB / 0.6677 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.14e-05/0.1378, allocations: 8.125 kB / 0.6677 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.298e-06/0.1379, allocations: 4 kB / 0.6677 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.883e-05/0.1379, allocations: 16.8 kB / 0.6677 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1379, allocations: 0 / 0.6677 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.934e-05/0.138, allocations: 41.64 kB / 0.6678 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.138, allocations: 7.984 kB / 0.6678 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.138, allocations: 4 kB / 0.6678 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.138, allocations: 0 / 0.6678 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.322e-05/0.1381, allocations: 4.031 kB / 0.6678 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1381, allocations: 8 kB / 0.6678 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.1381, allocations: 7.891 kB / 0.6678 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-06/0.1381, allocations: 0 / 0.6678 GB, free: 2.195 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 (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 5.717e-05/0.1382, allocations: 105.8 kB / 0.6679 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.1382, allocations: 7.938 kB / 0.6679 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.69e-05/0.1383, allocations: 44.81 kB / 0.6679 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.1383, allocations: 0 / 0.6679 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1383, allocations: 0 / 0.6679 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1383, allocations: 4.219 kB / 0.6679 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.744e-05/0.1384, allocations: 157.6 kB / 0.6681 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1384, allocations: 3.984 kB / 0.6681 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-05/0.1385, allocations: 4 kB / 0.6681 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.1385, allocations: 7.938 kB / 0.6681 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.1385, allocations: 0 / 0.6681 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1385, allocations: 0 / 0.6681 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1385, allocations: 0 / 0.6681 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.117e-05/0.1386, allocations: 73.06 kB / 0.6682 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.1386, allocations: 77.11 kB / 0.6683 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.1386, allocations: 0 / 0.6683 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.658e-05/0.1386, allocations: 0 / 0.6683 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.025e-05/0.1387, allocations: 0 / 0.6683 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.1387, allocations: 7.984 kB / 0.6683 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.867e-05/0.1387, allocations: 79.28 kB / 0.6683 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1387, allocations: 0 / 0.6683 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001955/0.1389, allocations: 15.94 kB / 0.6684 GB, free: 1.512 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 (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.0004148/0.1393, allocations: 0.6214 MB / 0.669 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.123e-05/0.1394, allocations: 15.98 kB / 0.669 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1394, allocations: 0 / 0.669 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.111e-05/0.1394, allocations: 4 kB / 0.669 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.1397, allocations: 8.156 kB / 0.669 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009341/0.1406, allocations: 1.095 MB / 0.6701 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.1408, allocations: 0.6768 MB / 0.6707 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.501e-05/0.1409, allocations: 0 / 0.6707 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.1409, allocations: 15.38 kB / 0.6707 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1409, allocations: 0 / 0.6707 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01567/0.1566, allocations: 1.42 MB / 0.6721 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.166/7.323, allocations: 12.19 kB / 0.6721 GB, free: 13.59 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)