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.001479/0.001479, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.00167/0.00167, allocations: 217.1 kB / 23.04 MB, free: 5.074 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 8.066 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.8218/0.8218, allocations: 134 MB / 447.2 MB, free: 10.3 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="cs",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.001813/0.001813, allocations: 69.55 kB / 0.6193 GB, free: 7.273 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1637, allocations: 85.91 MB / 0.7032 GB, free: 1.445 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002277/0.166, allocations: 1.326 MB / 0.7045 GB, free: 112 kB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.0005472/0.1665, allocations: 306.9 kB / 0.7048 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.541e-05/0.1666, allocations: 0 / 0.7048 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.339e-05/0.1666, allocations: 0 / 0.7048 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.706e-05/0.1667, allocations: 15.86 kB / 0.7048 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.1669, allocations: 79.72 kB / 0.7049 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.987e-05/0.167, allocations: 35.86 kB / 0.7049 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.484e-05/0.167, allocations: 3.984 kB / 0.7049 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.1672, allocations: 39.84 kB / 0.705 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.055e-05/0.1672, allocations: 11.94 kB / 0.705 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.1672, allocations: 0 / 0.705 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.1674, allocations: 83.91 kB / 0.7051 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.164e-05/0.1674, allocations: 3.984 kB / 0.7051 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.1674, allocations: 7.938 kB / 0.7051 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.1675, allocations: 80 kB / 0.7051 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1675, allocations: 0 / 0.7051 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1675, allocations: 0 / 0.7051 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.1676, allocations: 0 / 0.7051 GB, free: 15.45 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.0003435/0.1679, allocations: 286.1 kB / 0.7054 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.1679, allocations: 8.031 kB / 0.7054 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.23e-05/0.1679, allocations: 192 / 0.7054 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.706e-05/0.168, allocations: 30.75 kB / 0.7055 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.168, allocations: 8.938 kB / 0.7055 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.1681, allocations: 122.4 kB / 0.7056 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.1681, allocations: 4.312 kB / 0.7056 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.1681, allocations: 3.938 kB / 0.7056 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.093e-05/0.1682, allocations: 45.62 kB / 0.7056 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.1682, allocations: 4 kB / 0.7056 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.1682, allocations: 0 / 0.7056 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1682, allocations: 0 / 0.7056 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.168e-05/0.1683, allocations: 4 kB / 0.7056 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.1684, allocations: 128.8 kB / 0.7058 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.286e-05/0.1685, allocations: 38.55 kB / 0.7058 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.313e-05/0.1685, allocations: 16.86 kB / 0.7058 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006072/0.1691, allocations: 139.9 kB / 0.706 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.1691, allocations: 34.5 kB / 0.706 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.1691, allocations: 0 / 0.706 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001412/0.1693, allocations: 57.64 kB / 0.706 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.1693, allocations: 55.41 kB / 0.7061 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.449e-05/0.1694, allocations: 105.8 kB / 0.7062 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.1694, allocations: 29.7 kB / 0.7062 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.1695, allocations: 80.14 kB / 0.7063 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.1695, allocations: 3.953 kB / 0.7063 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.1695, allocations: 21.7 kB / 0.7063 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1696, allocations: 310.8 kB / 0.7066 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.627e-05/0.1697, allocations: 8 kB / 0.7066 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.667e-05/0.1697, allocations: 11.94 kB / 0.7066 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.54e-05/0.1697, allocations: 16.84 kB / 0.7067 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1697, allocations: 0 / 0.7067 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.411e-05/0.1698, allocations: 49.59 kB / 0.7067 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1698, allocations: 4 kB / 0.7067 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.1698, allocations: 0 / 0.7067 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.1698, allocations: 0 / 0.7067 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.695e-05/0.1699, allocations: 11.98 kB / 0.7067 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.1699, allocations: 0 / 0.7067 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.816e-05/0.1699, allocations: 4 kB / 0.7067 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.1699, allocations: 4 kB / 0.7067 GB, free: 13.64 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 8.268e-05/0.17, allocations: 121.7 kB / 0.7068 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.17, allocations: 3.938 kB / 0.7068 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.1701, allocations: 57.69 kB / 0.7069 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.1701, allocations: 3.984 kB / 0.7069 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.1701, allocations: 0 / 0.7069 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1701, allocations: 4 kB / 0.7069 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.1702, allocations: 136.7 kB / 0.707 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1702, allocations: 0 / 0.707 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.761e-05/0.1703, allocations: 4 kB / 0.707 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.1703, allocations: 0 / 0.707 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.1703, allocations: 4 kB / 0.707 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.1703, allocations: 0 / 0.707 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1703, allocations: 0 / 0.707 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.434e-05/0.1704, allocations: 80.95 kB / 0.7071 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.1704, allocations: 11.98 kB / 0.7071 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.1704, allocations: 0 / 0.7071 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.974e-05/0.1704, allocations: 4.422 kB / 0.7071 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.227e-06/0.1705, allocations: 0 / 0.7071 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1705, allocations: 3.938 kB / 0.7071 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.34e-05/0.1705, allocations: 91.27 kB / 0.7072 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1705, allocations: 0 / 0.7072 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001982/0.1707, allocations: 27.88 kB / 0.7073 GB, free: 13.02 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.0005224/0.1712, allocations: 0.6473 MB / 0.7079 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.431e-05/0.1713, allocations: 15.98 kB / 0.7079 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1713, allocations: 0 / 0.7079 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.598e-05/0.1713, allocations: 8 kB / 0.7079 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.1715, allocations: 4 kB / 0.7079 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.1719, allocations: 171.7 kB / 0.7081 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.1722, allocations: 0.6805 MB / 0.7087 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.363e-05/0.1722, allocations: 4 kB / 0.7087 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.1723, allocations: 27.36 kB / 0.7088 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1723, allocations: 0 / 0.7088 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/0.1934, allocations: 1.752 MB / 0.7105 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.49, allocations: 17.3 kB / 0.7105 GB, free: 9.766 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.105079696979374] Failed to read output from testmodel.py, exit status != 0: 10.641110143973492 10.657720924 10.487105663 Calling exit ...