Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.001397/0.001397, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001742/0.001742, allocations: 215 kB / 22.25 MB, free: 5.262 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.617/1.617, allocations: 230.6 MB / 256 MB, free: 7.781 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.9057/0.9057, allocations: 134 MB / 446.4 MB, free: 9.941 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.002003/0.002003, allocations: 67.14 kB / 0.6185 GB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1882, allocations: 85.9 MB / 0.7024 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6245/0.8127, allocations: 129.9 MB / 0.8293 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001755/0.8129, allocations: 57.83 kB / 0.8293 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.036e-05/0.8129, allocations: 0 / 0.8293 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.8131, allocations: 7.688 kB / 0.8293 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.777e-05/0.8131, allocations: 7.297 kB / 0.8293 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006148/0.8138, allocations: 113 kB / 0.8295 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.112e-05/0.8139, allocations: 27.55 kB / 0.8295 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.029e-05/0.8139, allocations: 6.656 kB / 0.8295 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.221e-05/0.8139, allocations: 20.47 kB / 0.8295 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.811e-05/0.814, allocations: 15.58 kB / 0.8295 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.814, allocations: 0 / 0.8295 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.8143, allocations: 77.36 kB / 0.8296 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.678e-05/0.8144, allocations: 6.547 kB / 0.8296 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.8144, allocations: 8.844 kB / 0.8296 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.8146, allocations: 71.77 kB / 0.8297 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.8146, allocations: 0 / 0.8297 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.063e-06/0.8146, allocations: 0 / 0.8297 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.8147, allocations: 0 / 0.8297 GB, free: 14.13 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.0005484/0.8152, allocations: 265.9 kB / 0.8299 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.8153, allocations: 10.91 kB / 0.8299 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.023e-05/0.8153, allocations: 30.75 kB / 0.83 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000282/0.8156, allocations: 18.2 kB / 0.83 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.8157, allocations: 110.4 kB / 0.8301 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.8159, allocations: 69.58 kB / 0.8302 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.8159, allocations: 0.5625 kB / 0.8302 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.8161, allocations: 76.55 kB / 0.8302 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.8161, allocations: 4 kB / 0.8302 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.8161, allocations: 0 / 0.8302 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/0.8161, allocations: 6.703 kB / 0.8302 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.152e-05/0.8162, allocations: 18.64 kB / 0.8303 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005217/0.8167, allocations: 234.1 kB / 0.8305 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.648e-05/0.8168, allocations: 18.52 kB / 0.8305 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.8168, allocations: 7.047 kB / 0.8305 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.8168, allocations: 0 / 0.8305 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/0.8169, allocations: 37.56 kB / 0.8305 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.8169, allocations: 0 / 0.8305 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001931/0.8171, allocations: 34.7 kB / 0.8306 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.8171, allocations: 59.34 kB / 0.8306 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.8172, allocations: 106 kB / 0.8307 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.8173, allocations: 27.86 kB / 0.8308 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.976e-05/0.8174, allocations: 92.03 kB / 0.8309 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.893e-06/0.8174, allocations: 2.844 kB / 0.8309 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/0.8174, allocations: 20.77 kB / 0.8309 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.8176, allocations: 313.4 kB / 0.8312 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.895e-05/0.8176, allocations: 6.781 kB / 0.8312 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.361e-05/0.8177, allocations: 27.44 kB / 0.8312 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.22e-05/0.8177, allocations: 31.08 kB / 0.8312 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.8177, allocations: 0 / 0.8312 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001137/0.8178, allocations: 53.06 kB / 0.8313 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.8179, allocations: 8.25 kB / 0.8313 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.8179, allocations: 2.625 kB / 0.8313 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.8179, allocations: 4.094 kB / 0.8313 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.416e-05/0.818, allocations: 8.906 kB / 0.8313 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.818, allocations: 6.875 kB / 0.8313 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.207e-05/0.818, allocations: 3.984 kB / 0.8313 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.818, allocations: 2.906 kB / 0.8313 GB, free: 12.39 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 0.0001133/0.8182, allocations: 116.3 kB / 0.8314 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.8182, allocations: 2.719 kB / 0.8314 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.8182, allocations: 3.156 kB / 0.8314 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.8182, allocations: 0 / 0.8314 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.8182, allocations: 3.938 kB / 0.8314 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.8182, allocations: 8.078 kB / 0.8315 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003801/0.8186, allocations: 320.2 kB / 0.8318 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.8186, allocations: 2.625 kB / 0.8318 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.567e-05/0.8186, allocations: 6.656 kB / 0.8318 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-06/0.8186, allocations: 7.922 kB / 0.8318 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.8187, allocations: 0 / 0.8318 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.8187, allocations: 0 / 0.8318 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8187, allocations: 0 / 0.8318 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.8188, allocations: 61.48 kB / 0.8318 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 1.796e-05/0.8188, allocations: 6.125 kB / 0.8318 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.8188, allocations: 4.062 kB / 0.8318 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.8189, allocations: 6.734 kB / 0.8318 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.8189, allocations: 0 / 0.8318 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.8189, allocations: 2.719 kB / 0.8318 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.691e-05/0.819, allocations: 86.08 kB / 0.8319 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.819, allocations: 0 / 0.8319 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002711/0.8193, allocations: 7.75 kB / 0.8319 GB, free: 11.72 MB / 0.6075 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 (1): * Single equations (assignments): 1 * 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.0004596/0.8197, allocations: 0.5893 MB / 0.8325 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.686e-05/0.8198, allocations: 24.2 kB / 0.8325 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8198, allocations: 0 / 0.8325 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.242e-06/0.8198, allocations: 2.469 kB / 0.8325 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.8202, allocations: 3.219 kB / 0.8325 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004602/0.8206, allocations: 137.5 kB / 0.8327 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.484e-05/0.8207, allocations: 60.31 kB / 0.8327 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.215e-05/0.8207, allocations: 11.39 kB / 0.8327 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.8208, allocations: 10.41 kB / 0.8328 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.8208, allocations: 0 / 0.8328 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03301/0.8538, allocations: 1.896 MB / 0.8346 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.67, allocations: 5.297 kB / 0.8346 GB, free: 9.672 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_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_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.596758029889315] Failed to read output from testmodel.py, exit status != 0: 11.770876463036984 11.788553497 10.970483049 Calling exit ...