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.00137/0.00137, allocations: 109.6 kB / 16.46 MB, free: 6.453 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.001457/0.001457, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.469/1.469, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.8795/0.8795, allocations: 133.9 MB / 442.8 MB, free: 11.29 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.002013/0.002013, allocations: 70.2 kB / 0.6134 GB, free: 8.758 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.195, allocations: 85.85 MB / 0.6973 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5439/0.7389, allocations: 151.1 MB / 0.8449 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001485/0.739, allocations: 55.66 kB / 0.8449 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.647e-05/0.7391, allocations: 0 / 0.8449 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.7392, allocations: 7.938 kB / 0.8449 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.635e-05/0.7393, allocations: 19 kB / 0.8449 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004882/0.7398, allocations: 101.2 kB / 0.845 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.553e-05/0.7398, allocations: 37.53 kB / 0.8451 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.7399, allocations: 0 / 0.8451 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.462e-05/0.7399, allocations: 22.09 kB / 0.8451 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.613e-05/0.74, allocations: 9.062 kB / 0.8451 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.74, allocations: 2.656 kB / 0.8451 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002883/0.7403, allocations: 96.8 kB / 0.8452 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.957e-05/0.7404, allocations: 8.453 kB / 0.8452 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.7404, allocations: 17.67 kB / 0.8452 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.7406, allocations: 66.44 kB / 0.8453 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.7406, allocations: 0 / 0.8453 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7406, allocations: 0 / 0.8453 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.7406, allocations: 4.781 kB / 0.8453 GB, free: 0.8438 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.0004954/0.7411, allocations: 332.4 kB / 0.8456 GB, free: 496 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.7411, allocations: 10.45 kB / 0.8456 GB, free: 496 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.373e-05/0.7412, allocations: 38.73 kB / 0.8456 GB, free: 448 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.7414, allocations: 25.95 kB / 0.8457 GB, free: 436 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.7415, allocations: 165 kB / 0.8458 GB, free: 232 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-05/0.7416, allocations: 32.39 kB / 0.8459 GB, free: 196 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.7416, allocations: 0 / 0.8459 GB, free: 196 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.7418, allocations: 50.14 kB / 0.8459 GB, free: 152 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.7418, allocations: 3.938 kB / 0.8459 GB, free: 148 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.7418, allocations: 7.984 kB / 0.8459 GB, free: 140 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.7418, allocations: 2.688 kB / 0.8459 GB, free: 140 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.789e-05/0.7419, allocations: 18.08 kB / 0.8459 GB, free: 132 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.7423, allocations: 267.4 kB / 0.8462 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 4.391e-05/0.7423, allocations: 17.08 kB / 0.8462 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.7424, allocations: 11.73 kB / 0.8462 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.231e-06/0.7424, allocations: 0 / 0.8462 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.7424, allocations: 30.56 kB / 0.8462 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.7424, allocations: 0 / 0.8462 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001416/0.7425, allocations: 42.5 kB / 0.8463 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.7426, allocations: 57.59 kB / 0.8463 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.147e-05/0.7427, allocations: 105.7 kB / 0.8464 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.7427, allocations: 26.27 kB / 0.8465 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.7428, allocations: 99.12 kB / 0.8466 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.418e-06/0.7428, allocations: 0 / 0.8466 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.7428, allocations: 15.5 kB / 0.8466 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.7429, allocations: 313.7 kB / 0.8469 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.743, allocations: 6.984 kB / 0.8469 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.361e-05/0.743, allocations: 29.47 kB / 0.8469 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.967e-05/0.7431, allocations: 34.64 kB / 0.8469 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.7431, allocations: 0 / 0.8469 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.983e-05/0.7432, allocations: 57.58 kB / 0.847 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.7432, allocations: 8 kB / 0.847 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.7432, allocations: 0 / 0.847 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.7432, allocations: 0 / 0.847 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/0.7432, allocations: 11.98 kB / 0.847 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.7433, allocations: 9.906 kB / 0.847 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.86e-05/0.7433, allocations: 0 / 0.847 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.7433, allocations: 4 kB / 0.847 GB, free: 14.91 MB / 0.6231 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 9.219e-05/0.7434, allocations: 109.8 kB / 0.8471 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.7434, allocations: 4 kB / 0.8471 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.813e-05/0.7434, allocations: 7.062 kB / 0.8471 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.7434, allocations: 0 / 0.8471 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.7434, allocations: 7.875 kB / 0.8472 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.7434, allocations: 0 / 0.8472 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.7437, allocations: 350.7 kB / 0.8475 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7437, allocations: 0 / 0.8475 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-05/0.7438, allocations: 4 kB / 0.8475 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.7438, allocations: 3.938 kB / 0.8475 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.7438, allocations: 0 / 0.8475 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.7438, allocations: 6.625 kB / 0.8475 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7438, allocations: 0 / 0.8475 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.901e-05/0.7439, allocations: 73.05 kB / 0.8476 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 4.735e-05/0.7439, allocations: 81.05 kB / 0.8477 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.7439, allocations: 0 / 0.8477 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.835e-05/0.744, allocations: 4 kB / 0.8477 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.198e-05/0.744, allocations: 3.984 kB / 0.8477 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.744, allocations: 0 / 0.8477 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.724e-05/0.7441, allocations: 83.28 kB / 0.8477 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7441, allocations: 4 kB / 0.8477 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000202/0.7443, allocations: 8.031 kB / 0.8477 GB, free: 14.07 MB / 0.6231 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.0003951/0.7447, allocations: 0.5968 MB / 0.8483 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 8.653e-05/0.7448, allocations: 12 kB / 0.8483 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.7448, allocations: 4.219 kB / 0.8483 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.993e-06/0.7448, allocations: 4 kB / 0.8484 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.745, allocations: 3.984 kB / 0.8484 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003899/0.7454, allocations: 133.3 kB / 0.8485 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.7457, allocations: 0.6768 MB / 0.8491 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.784e-05/0.7458, allocations: 8.062 kB / 0.8492 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.7458, allocations: 11.44 kB / 0.8492 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.7458, allocations: 0 / 0.8492 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.7693, allocations: 1.372 MB / 0.8505 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.696/8.466, allocations: 0 / 0.8505 GB, free: 11.35 MB / 0.6231 GB " [Timeout remaining time 651] (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: 12.196907655990799] Failed to read output from testmodel.py, exit status != 0: 8.544179008007632 8.571472901 7.825809103 Calling exit ...