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.004116/0.004116, allocations: 103.6 kB / 15.74 MB, free: 6.449 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.001231/0.001231, allocations: 195.3 kB / 16.67 MB, free: 6.352 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8281/0.8281, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 71.95 kB / 0.5809 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1408, allocations: 80.2 MB / 0.6592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002269/0.1431, allocations: 1.255 MB / 0.6604 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002919/0.1434, allocations: 123.8 kB / 0.6605 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.86e-05/0.1435, allocations: 0 / 0.6605 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/0.1435, allocations: 0 / 0.6605 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.943e-05/0.1436, allocations: 3.938 kB / 0.6605 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.1438, allocations: 47.88 kB / 0.6606 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.169e-05/0.1438, allocations: 15.92 kB / 0.6606 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.861e-05/0.1439, allocations: 0 / 0.6606 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.345e-05/0.1439, allocations: 7.938 kB / 0.6606 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.813e-05/0.144, allocations: 7.938 kB / 0.6606 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.144, allocations: 0 / 0.6606 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.1441, allocations: 51.94 kB / 0.6607 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.1441, allocations: 3.984 kB / 0.6607 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.1442, allocations: 15.92 kB / 0.6607 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.1443, allocations: 36.17 kB / 0.6607 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1443, allocations: 0 / 0.6607 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1443, allocations: 0 / 0.6607 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.1443, allocations: 0 / 0.6607 GB, free: 12.38 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.0004098/0.1447, allocations: 339.4 kB / 0.661 GB, free: 12 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1448, allocations: 8.031 kB / 0.661 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.1448, allocations: 30.75 kB / 0.6611 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.1448, allocations: 4.938 kB / 0.6611 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.145, allocations: 168.3 kB / 0.6612 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.145, allocations: 4.375 kB / 0.6612 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.145, allocations: 4.125 kB / 0.6613 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.612e-05/0.1451, allocations: 33.69 kB / 0.6613 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1451, allocations: 0 / 0.6613 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.1451, allocations: 0 / 0.6613 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.1451, allocations: 7.938 kB / 0.6613 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.342e-05/0.1452, allocations: 4 kB / 0.6613 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.1454, allocations: 152 kB / 0.6614 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.783e-05/0.1454, allocations: 30.61 kB / 0.6615 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.031e-05/0.1454, allocations: 8.797 kB / 0.6615 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007778/0.1462, allocations: 0.6052 MB / 0.6621 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.1463, allocations: 34.56 kB / 0.6621 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1463, allocations: 0 / 0.6621 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001341/0.1464, allocations: 41.64 kB / 0.6621 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.1465, allocations: 59.47 kB / 0.6622 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.72e-05/0.1466, allocations: 105.8 kB / 0.6623 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1466, allocations: 25.7 kB / 0.6623 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.1466, allocations: 80.14 kB / 0.6624 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.1467, allocations: 7.938 kB / 0.6624 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.1467, allocations: 17.72 kB / 0.6624 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1468, allocations: 310.8 kB / 0.6627 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.1469, allocations: 7.984 kB / 0.6627 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.049e-05/0.1469, allocations: 8 kB / 0.6627 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.757e-05/0.1469, allocations: 20.8 kB / 0.6628 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1469, allocations: 0 / 0.6628 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.899e-05/0.147, allocations: 41.59 kB / 0.6628 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.147, allocations: 4 kB / 0.6628 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.147, allocations: 0 / 0.6628 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.147, allocations: 0 / 0.6628 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.579e-05/0.1471, allocations: 11.98 kB / 0.6628 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.1471, allocations: 0 / 0.6628 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.1471, allocations: 4.094 kB / 0.6628 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-06/0.1471, allocations: 4 kB / 0.6628 GB, free: 9.871 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 7.594e-05/0.1472, allocations: 105.8 kB / 0.6629 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-06/0.1472, allocations: 7.875 kB / 0.6629 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.1473, allocations: 52.75 kB / 0.663 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1474, allocations: 0 / 0.663 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1474, allocations: 0 / 0.663 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.1474, allocations: 0 / 0.663 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.1475, allocations: 161.6 kB / 0.6631 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1475, allocations: 0 / 0.6631 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.378e-05/0.1475, allocations: 4 kB / 0.6631 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1475, allocations: 0 / 0.6631 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.1476, allocations: 0 / 0.6631 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1476, allocations: 0 / 0.6631 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1476, allocations: 0 / 0.6631 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.541e-05/0.1477, allocations: 69 kB / 0.6632 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.1477, allocations: 89.09 kB / 0.6633 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.1477, allocations: 0 / 0.6633 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.639e-05/0.1478, allocations: 0 / 0.6633 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.876e-06/0.1478, allocations: 0 / 0.6633 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.1478, allocations: 4 kB / 0.6633 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.384e-05/0.1478, allocations: 79.27 kB / 0.6634 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1478, allocations: 0 / 0.6634 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000205/0.148, allocations: 19.94 kB / 0.6634 GB, free: 9.184 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.0004579/0.1485, allocations: 0.6162 MB / 0.664 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.285e-05/0.1486, allocations: 7.938 kB / 0.664 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1486, allocations: 4 kB / 0.664 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.684e-05/0.1486, allocations: 11.98 kB / 0.664 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.1488, allocations: 8.156 kB / 0.664 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.1499, allocations: 1.089 MB / 0.6651 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.1502, allocations: 0.6768 MB / 0.6657 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.471e-05/0.1502, allocations: 4 kB / 0.6657 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.1502, allocations: 7.438 kB / 0.6658 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1502, allocations: 0 / 0.6658 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.1716, allocations: 1.416 MB / 0.6671 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/7.907, allocations: 8.656 kB / 0.6671 GB, free: 5.312 MB / 0.4981 GB (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)