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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 216.9 kB / 22.25 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.386/1.386, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8057/0.8057, allocations: 134 MB / 446.4 MB, free: 10.25 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 67.11 kB / 0.6185 GB, free: 7.219 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1629, allocations: 85.91 MB / 0.7024 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002439/0.1653, allocations: 1.318 MB / 0.7037 GB, free: 64 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005989/0.1659, allocations: 306.9 kB / 0.704 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.292e-05/0.1659, allocations: 0 / 0.704 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.082e-05/0.1659, allocations: 3.938 kB / 0.704 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.947e-05/0.166, allocations: 11.92 kB / 0.704 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.1664, allocations: 83.72 kB / 0.7041 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.652e-05/0.1665, allocations: 31.86 kB / 0.7042 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.1665, allocations: 7.984 kB / 0.7042 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.1666, allocations: 27.91 kB / 0.7042 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.204e-05/0.1667, allocations: 15.94 kB / 0.7042 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.1667, allocations: 0 / 0.7042 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.1669, allocations: 79.91 kB / 0.7043 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.1669, allocations: 11.94 kB / 0.7043 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.1669, allocations: 11.92 kB / 0.7043 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.1671, allocations: 76 kB / 0.7044 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1671, allocations: 4 kB / 0.7044 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1671, allocations: 0 / 0.7044 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.1671, allocations: 0 / 0.7044 GB, free: 15.4 MB / 0.5294 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.0004202/0.1675, allocations: 286 kB / 0.7046 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1675, allocations: 8.031 kB / 0.7047 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.882e-05/0.1676, allocations: 30.75 kB / 0.7047 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.1676, allocations: 4.938 kB / 0.7047 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.1677, allocations: 118.4 kB / 0.7048 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1677, allocations: 384 / 0.7048 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.1678, allocations: 12.06 kB / 0.7048 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.1679, allocations: 37.69 kB / 0.7049 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1679, allocations: 0 / 0.7049 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1679, allocations: 4 kB / 0.7049 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1679, allocations: 0 / 0.7049 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.595e-05/0.1679, allocations: 15.98 kB / 0.7049 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.1681, allocations: 132.7 kB / 0.705 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.1682, allocations: 38.5 kB / 0.705 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/0.1682, allocations: 12.86 kB / 0.705 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006851/0.1689, allocations: 139.9 kB / 0.7052 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.1689, allocations: 30.56 kB / 0.7052 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1689, allocations: 0 / 0.7052 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001628/0.1691, allocations: 53.78 kB / 0.7053 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.1692, allocations: 55.41 kB / 0.7053 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.684e-05/0.1692, allocations: 109.8 kB / 0.7054 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1693, allocations: 25.7 kB / 0.7054 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.1693, allocations: 84.14 kB / 0.7055 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.1693, allocations: 7.891 kB / 0.7055 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.1694, allocations: 13.72 kB / 0.7055 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1695, allocations: 318.8 kB / 0.7058 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.1695, allocations: 4 kB / 0.7058 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.34e-05/0.1695, allocations: 12.03 kB / 0.7059 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.728e-05/0.1695, allocations: 16.86 kB / 0.7059 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1696, allocations: 0 / 0.7059 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.665e-05/0.1696, allocations: 53.58 kB / 0.7059 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1696, allocations: 4 kB / 0.7059 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1696, allocations: 0 / 0.7059 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1697, allocations: 0 / 0.7059 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.227e-05/0.1697, allocations: 11.94 kB / 0.7059 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1697, allocations: 0 / 0.7059 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.115e-05/0.1697, allocations: 3.984 kB / 0.7059 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.1697, allocations: 4 kB / 0.706 GB, free: 13.59 MB / 0.5294 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.685e-05/0.1698, allocations: 109.8 kB / 0.7061 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.1698, allocations: 7.938 kB / 0.7061 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.17, allocations: 53.69 kB / 0.7061 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.17, allocations: 0 / 0.7061 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.17, allocations: 3.938 kB / 0.7061 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.17, allocations: 0 / 0.7061 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.1701, allocations: 144.7 kB / 0.7063 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1701, allocations: 0 / 0.7063 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.714e-05/0.1701, allocations: 7.938 kB / 0.7063 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1701, allocations: 3.938 kB / 0.7063 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.1701, allocations: 4 kB / 0.7063 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1701, allocations: 0 / 0.7063 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1701, allocations: 0 / 0.7063 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.749e-05/0.1702, allocations: 77.02 kB / 0.7063 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.1703, allocations: 8 kB / 0.7064 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.1703, allocations: 3.984 kB / 0.7064 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.513e-05/0.1703, allocations: 8 kB / 0.7064 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.1703, allocations: 4 kB / 0.7064 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.1703, allocations: 0 / 0.7064 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.756e-05/0.1704, allocations: 87.27 kB / 0.7065 GB, free: 13 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1704, allocations: 0 / 0.7065 GB, free: 13 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002164/0.1706, allocations: 31.88 kB / 0.7065 GB, free: 12.97 MB / 0.5294 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.000484/0.1711, allocations: 0.6395 MB / 0.7071 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.982e-05/0.1712, allocations: 20.27 kB / 0.7071 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1712, allocations: 0 / 0.7071 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.588e-05/0.1712, allocations: 8.031 kB / 0.7071 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.1714, allocations: 11.12 kB / 0.7071 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.1719, allocations: 167.8 kB / 0.7073 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.1722, allocations: 0.6844 MB / 0.708 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.813e-05/0.1722, allocations: 7.984 kB / 0.708 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.1722, allocations: 7.438 kB / 0.708 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.1722, allocations: 4 kB / 0.708 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.2, allocations: 1.729 MB / 0.7097 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.78, allocations: 2.406 kB / 0.7097 GB, free: 9.746 MB / 0.5294 GB " [Timeout remaining time 649] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.237430542001675] Failed to read output from testmodel.py, exit status != 0: 10.88336675100436 10.901092224 10.730834842 Calling exit ...