Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.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.001442/0.001442, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002463/0.002463, allocations: 216.6 kB / 22.25 MB, free: 5.242 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.793 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.8328/0.8328, allocations: 134 MB / 446.4 MB, free: 9.957 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.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",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.002145/0.002145, allocations: 70.97 kB / 0.6185 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1702, allocations: 85.9 MB / 0.7024 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4812/0.6514, allocations: 130.3 MB / 0.8296 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001327/0.6515, allocations: 54.59 kB / 0.8297 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.197e-05/0.6516, allocations: 0 / 0.8297 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.6517, allocations: 3.938 kB / 0.8297 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.144e-05/0.6517, allocations: 14.06 kB / 0.8297 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000732/0.6525, allocations: 219.4 kB / 0.8299 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.494e-05/0.6526, allocations: 37.31 kB / 0.83 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.6526, allocations: 2.938 kB / 0.83 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.403e-05/0.6526, allocations: 19.69 kB / 0.83 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.196e-05/0.6527, allocations: 11.64 kB / 0.83 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.6527, allocations: 0 / 0.83 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003263/0.653, allocations: 162.5 kB / 0.8301 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/0.6531, allocations: 14.84 kB / 0.8302 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.6531, allocations: 8.844 kB / 0.8302 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.6533, allocations: 103 kB / 0.8303 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6533, allocations: 0 / 0.8303 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6533, allocations: 0 / 0.8303 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.6533, allocations: 3.938 kB / 0.8303 GB, free: 13.69 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003863/0.6537, allocations: 262.9 kB / 0.8305 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.6537, allocations: 13.94 kB / 0.8305 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.886e-05/0.6538, allocations: 30.75 kB / 0.8306 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002812/0.654, allocations: 33.28 kB / 0.8306 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.6542, allocations: 110.5 kB / 0.8307 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.106e-05/0.6542, allocations: 62.3 kB / 0.8308 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.6542, allocations: 2.438 kB / 0.8308 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.6544, allocations: 72.83 kB / 0.8308 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.6544, allocations: 0 / 0.8308 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.6544, allocations: 0 / 0.8308 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.6544, allocations: 6.484 kB / 0.8308 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.194e-05/0.6545, allocations: 25.27 kB / 0.8309 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.6548, allocations: 231.8 kB / 0.8311 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.7e-05/0.6549, allocations: 23.77 kB / 0.8311 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.892e-05/0.6549, allocations: 7.766 kB / 0.8311 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.655, allocations: 14.52 kB / 0.8311 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.655, allocations: 33.44 kB / 0.8312 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.655, allocations: 0 / 0.8312 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002227/0.6553, allocations: 55.16 kB / 0.8312 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.6553, allocations: 51.41 kB / 0.8313 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.899e-05/0.6554, allocations: 109.4 kB / 0.8314 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.6554, allocations: 25.7 kB / 0.8314 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.6555, allocations: 91 kB / 0.8315 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.714e-06/0.6555, allocations: 3.953 kB / 0.8315 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.6555, allocations: 12.59 kB / 0.8315 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.6556, allocations: 321 kB / 0.8318 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.459e-05/0.6557, allocations: 2.719 kB / 0.8318 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.018e-05/0.6557, allocations: 20.14 kB / 0.8318 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.736e-05/0.6557, allocations: 41.12 kB / 0.8319 GB, free: 12 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6557, allocations: 0 / 0.8319 GB, free: 12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.797e-05/0.6558, allocations: 67.36 kB / 0.8319 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.6558, allocations: 5.188 kB / 0.8319 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.6558, allocations: 3.938 kB / 0.8319 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.6559, allocations: 2.219 kB / 0.8319 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.301e-05/0.6559, allocations: 6.031 kB / 0.8319 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.6559, allocations: 8.031 kB / 0.832 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.71e-05/0.6559, allocations: 2.312 kB / 0.832 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.6559, allocations: 0 / 0.832 GB, free: 11.93 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.284e-05/0.656, allocations: 116.6 kB / 0.8321 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.6561, allocations: 2 kB / 0.8321 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.6561, allocations: 14.7 kB / 0.8321 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.6561, allocations: 0 / 0.8321 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.6561, allocations: 3.938 kB / 0.8321 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.6561, allocations: 0 / 0.8321 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.6564, allocations: 328.2 kB / 0.8324 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.6564, allocations: 7.906 kB / 0.8324 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.426e-05/0.6564, allocations: 2.219 kB / 0.8324 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.6564, allocations: 3.938 kB / 0.8324 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.6564, allocations: 3.984 kB / 0.8324 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.6564, allocations: 2.969 kB / 0.8324 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.6564, allocations: 3.984 kB / 0.8324 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.98e-05/0.6565, allocations: 68.39 kB / 0.8325 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-06/0.6565, allocations: 8.031 kB / 0.8325 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.6565, allocations: 3.984 kB / 0.8325 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.6566, allocations: 9.031 kB / 0.8325 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.338e-05/0.6566, allocations: 3.938 kB / 0.8325 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.6566, allocations: 0 / 0.8325 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.235e-05/0.6567, allocations: 88.95 kB / 0.8326 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.6567, allocations: 0 / 0.8326 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001878/0.6569, allocations: 4.969 kB / 0.8326 GB, free: 11.24 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0004012/0.6573, allocations: 0.6069 MB / 0.8332 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.786e-05/0.6574, allocations: 16.16 kB / 0.8332 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6574, allocations: 2.312 kB / 0.8332 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.385e-06/0.6574, allocations: 2.938 kB / 0.8332 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.6576, allocations: 13.23 kB / 0.8332 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.658, allocations: 149.3 kB / 0.8334 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.205e-05/0.658, allocations: 64.19 kB / 0.8334 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.605e-05/0.6581, allocations: 7.062 kB / 0.8334 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.6581, allocations: 10.25 kB / 0.8334 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.6581, allocations: 3.938 kB / 0.8334 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.6839, allocations: 1.989 MB / 0.8354 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.85, allocations: 2.688 kB / 0.8354 GB, free: 9.094 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion_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_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.523602440953255] Failed to read output from testmodel.py, exit status != 0: 11.95658398931846 11.979238727 11.322731799 Calling exit ...