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.00135/0.00135, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001444/0.001444, allocations: 209.4 kB / 22.25 MB, free: 5.125 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.984 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.8739/0.8739, allocations: 134 MB / 446.4 MB, free: 10.2 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.002031/0.002031, allocations: 67.33 kB / 0.6185 GB, free: 7.223 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1825, allocations: 85.92 MB / 0.7024 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.57/0.7525, allocations: 151.2 MB / 0.8501 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001582/0.7527, allocations: 55.17 kB / 0.8501 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.7527, allocations: 0 / 0.8501 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.7528, allocations: 0 / 0.8501 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 9.173e-05/0.7529, allocations: 17.03 kB / 0.8501 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006034/0.7535, allocations: 116.7 kB / 0.8503 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.671e-05/0.7536, allocations: 27.91 kB / 0.8503 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.506e-05/0.7537, allocations: 4 kB / 0.8503 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 5.722e-05/0.7537, allocations: 19.92 kB / 0.8503 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 8.627e-05/0.7538, allocations: 15.92 kB / 0.8503 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.7538, allocations: 0 / 0.8503 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002852/0.7541, allocations: 95.75 kB / 0.8504 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.213e-05/0.7542, allocations: 9.781 kB / 0.8504 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/0.7542, allocations: 11.92 kB / 0.8504 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.7544, allocations: 85.83 kB / 0.8505 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.7544, allocations: 0 / 0.8505 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7544, allocations: 0 / 0.8505 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.7544, allocations: 0 / 0.8505 GB, free: 15.02 MB / 0.6231 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.0005219/0.7549, allocations: 258.3 kB / 0.8508 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.755, allocations: 12.03 kB / 0.8508 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.151e-05/0.755, allocations: 30.75 kB / 0.8508 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002748/0.7553, allocations: 16.92 kB / 0.8508 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.7554, allocations: 110.5 kB / 0.8509 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.7555, allocations: 59.34 kB / 0.851 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.7556, allocations: 0 / 0.851 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.7557, allocations: 53.61 kB / 0.851 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.7557, allocations: 0 / 0.851 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.7557, allocations: 0 / 0.851 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.7558, allocations: 4 kB / 0.851 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.969e-05/0.7558, allocations: 15.98 kB / 0.8511 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.7563, allocations: 240.5 kB / 0.8513 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 5.464e-05/0.7564, allocations: 22.58 kB / 0.8513 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.723e-05/0.7564, allocations: 8.797 kB / 0.8513 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.7564, allocations: 0 / 0.8513 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.7564, allocations: 30.56 kB / 0.8513 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.7564, allocations: 8.062 kB / 0.8513 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001718/0.7566, allocations: 35.75 kB / 0.8514 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.7567, allocations: 55.34 kB / 0.8514 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.7568, allocations: 105.8 kB / 0.8515 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.7568, allocations: 29.64 kB / 0.8516 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.7569, allocations: 96.05 kB / 0.8517 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.69e-06/0.7569, allocations: 0 / 0.8517 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.7569, allocations: 17.84 kB / 0.8517 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0003138/0.7572, allocations: 318.8 kB / 0.852 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.7573, allocations: 7.938 kB / 0.852 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.652e-05/0.7573, allocations: 22.58 kB / 0.852 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.297e-05/0.7574, allocations: 30.56 kB / 0.852 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7574, allocations: 4 kB / 0.852 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.913e-05/0.7574, allocations: 53.59 kB / 0.8521 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.7575, allocations: 4 kB / 0.8521 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.7575, allocations: 7.984 kB / 0.8521 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.7575, allocations: 0 / 0.8521 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.068e-05/0.7576, allocations: 7.938 kB / 0.8521 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.7576, allocations: 7.938 kB / 0.8521 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.824e-05/0.7576, allocations: 0 / 0.8521 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.7576, allocations: 4 kB / 0.8521 GB, free: 13.16 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 0.0001025/0.7577, allocations: 109.9 kB / 0.8522 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.7578, allocations: 4 kB / 0.8522 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.7578, allocations: 11.09 kB / 0.8522 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.7578, allocations: 7.234 kB / 0.8522 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.7578, allocations: 4.031 kB / 0.8522 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.7578, allocations: 3.984 kB / 0.8523 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/0.7581, allocations: 317.8 kB / 0.8526 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.7581, allocations: 4.031 kB / 0.8526 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.446e-05/0.7581, allocations: 4 kB / 0.8526 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.7581, allocations: 3.938 kB / 0.8526 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.7581, allocations: 0 / 0.8526 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.7581, allocations: 0 / 0.8526 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7581, allocations: 0 / 0.8526 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.7583, allocations: 65.08 kB / 0.8526 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.093e-05/0.7583, allocations: 3.938 kB / 0.8526 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.7584, allocations: 4.031 kB / 0.8526 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.98e-05/0.7585, allocations: 7.984 kB / 0.8526 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.081e-05/0.7585, allocations: 0 / 0.8526 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-06/0.7585, allocations: 0 / 0.8526 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.568e-05/0.7585, allocations: 91.22 kB / 0.8527 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.7585, allocations: 3.938 kB / 0.8527 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0001993/0.7587, allocations: 4 kB / 0.8527 GB, free: 12.45 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.0004035/0.7591, allocations: 0.5968 MB / 0.8533 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 8.923e-05/0.7592, allocations: 11.94 kB / 0.8533 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.7592, allocations: 0 / 0.8533 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 9.798e-06/0.7592, allocations: 7.984 kB / 0.8533 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.7594, allocations: 4.281 kB / 0.8533 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.7598, allocations: 141.2 kB / 0.8535 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.7601, allocations: 0.6768 MB / 0.8541 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.458e-05/0.7602, allocations: 4 kB / 0.8541 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.7602, allocations: 7.438 kB / 0.8542 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.7602, allocations: 0 / 0.8542 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.7897, allocations: 1.479 MB / 0.8556 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/11.4, allocations: 12.84 kB / 0.8556 GB, free: 9.59 MB / 0.6231 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.228226762003032] Failed to read output from testmodel.py, exit status != 0: 11.503400898000109 11.53490736 10.774774088 Calling exit ...