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.001671/0.001671, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001991/0.001991, allocations: 214.6 kB / 23.03 MB, free: 4.922 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.521/1.521, allocations: 230.6 MB / 256.8 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.8766/0.8766, allocations: 134 MB / 447.2 MB, free: 9.91 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.00201/0.00201, allocations: 61.55 kB / 0.6192 GB, free: 6.887 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1851, allocations: 85.91 MB / 0.7031 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5589/0.744, allocations: 129.9 MB / 0.83 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001389/0.7442, allocations: 49.06 kB / 0.83 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.904e-05/0.7442, allocations: 0 / 0.83 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.7443, allocations: 3.938 kB / 0.83 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.218e-05/0.7444, allocations: 19.62 kB / 0.83 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004401/0.7448, allocations: 103.9 kB / 0.8301 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.372e-05/0.7449, allocations: 39.09 kB / 0.8302 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.791e-05/0.7449, allocations: 3.984 kB / 0.8302 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.232e-05/0.745, allocations: 14.47 kB / 0.8302 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.667e-05/0.7451, allocations: 13.03 kB / 0.8302 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.7451, allocations: 6.719 kB / 0.8302 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.7453, allocations: 70.25 kB / 0.8303 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.7454, allocations: 15.06 kB / 0.8303 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.7454, allocations: 10.16 kB / 0.8303 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.7455, allocations: 64.56 kB / 0.8304 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.7455, allocations: 0 / 0.8304 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.113e-06/0.7455, allocations: 0 / 0.8304 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.7455, allocations: 3.938 kB / 0.8304 GB, free: 14.1 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.0003849/0.7459, allocations: 263.4 kB / 0.8306 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.746, allocations: 10.59 kB / 0.8306 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.217e-05/0.746, allocations: 4.188 kB / 0.8306 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.214e-05/0.746, allocations: 33.31 kB / 0.8307 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.7462, allocations: 20.3 kB / 0.8307 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.7463, allocations: 116.9 kB / 0.8308 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.708e-05/0.7464, allocations: 54.38 kB / 0.8308 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.7464, allocations: 0 / 0.8308 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.7466, allocations: 77.84 kB / 0.8309 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.7466, allocations: 2.906 kB / 0.8309 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.7466, allocations: 10.05 kB / 0.8309 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.7466, allocations: 0 / 0.8309 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.959e-05/0.7467, allocations: 22.45 kB / 0.831 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.7471, allocations: 230.4 kB / 0.8312 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.275e-05/0.7471, allocations: 14.58 kB / 0.8312 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.589e-05/0.7471, allocations: 7.578 kB / 0.8312 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.7471, allocations: 0 / 0.8312 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.7471, allocations: 33.28 kB / 0.8312 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.7471, allocations: 4 kB / 0.8312 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001329/0.7473, allocations: 47.36 kB / 0.8313 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.7473, allocations: 55.34 kB / 0.8313 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.468e-05/0.7474, allocations: 105.5 kB / 0.8314 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.7474, allocations: 25.7 kB / 0.8314 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.7475, allocations: 90.83 kB / 0.8315 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-06/0.7475, allocations: 0 / 0.8315 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.7475, allocations: 18.88 kB / 0.8316 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.7477, allocations: 310.8 kB / 0.8319 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.7477, allocations: 13.45 kB / 0.8319 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.63e-05/0.7477, allocations: 17.52 kB / 0.8319 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.608e-05/0.7478, allocations: 41.12 kB / 0.8319 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7478, allocations: 0 / 0.8319 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.179e-05/0.7478, allocations: 57.72 kB / 0.832 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.7479, allocations: 11.47 kB / 0.832 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.7479, allocations: 0 / 0.832 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.7479, allocations: 5.953 kB / 0.832 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.901e-05/0.7479, allocations: 10.28 kB / 0.832 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.7479, allocations: 4 kB / 0.832 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.761e-05/0.748, allocations: 2.219 kB / 0.832 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.748, allocations: 2.969 kB / 0.832 GB, free: 12.35 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 9.028e-05/0.7481, allocations: 115.8 kB / 0.8321 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.7481, allocations: 0 / 0.8321 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.621e-05/0.7481, allocations: 6.188 kB / 0.8321 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.7481, allocations: 3.938 kB / 0.8321 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7481, allocations: 7.484 kB / 0.8321 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.7481, allocations: 0 / 0.8321 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.7484, allocations: 318 kB / 0.8324 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.7484, allocations: 2.219 kB / 0.8324 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.562e-05/0.7484, allocations: 3.938 kB / 0.8324 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7484, allocations: 2.75 kB / 0.8324 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.7484, allocations: 0 / 0.8324 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.7484, allocations: 0 / 0.8324 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.7484, allocations: 3.938 kB / 0.8325 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.2e-05/0.7485, allocations: 65.45 kB / 0.8325 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.7485, allocations: 3.938 kB / 0.8325 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.7485, allocations: 2.281 kB / 0.8325 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/0.7486, allocations: 6.625 kB / 0.8325 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.7486, allocations: 0 / 0.8325 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.7486, allocations: 0 / 0.8325 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.389e-05/0.7487, allocations: 89.11 kB / 0.8326 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.7487, allocations: 0 / 0.8326 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001987/0.7489, allocations: 7.594 kB / 0.8326 GB, free: 11.69 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.0003763/0.7493, allocations: 0.6003 MB / 0.8332 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.229e-05/0.7493, allocations: 12.41 kB / 0.8332 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7493, allocations: 4.219 kB / 0.8332 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.674e-06/0.7494, allocations: 6.219 kB / 0.8332 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.7496, allocations: 4.219 kB / 0.8332 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003539/0.7499, allocations: 134 kB / 0.8334 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.286e-05/0.75, allocations: 60.77 kB / 0.8334 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.691e-05/0.75, allocations: 13.14 kB / 0.8334 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.7501, allocations: 7.438 kB / 0.8334 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.7501, allocations: 0 / 0.8334 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.7714, allocations: 1.566 MB / 0.835 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.89, allocations: 5.266 kB / 0.835 GB, free: 10.01 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.731067621032707] Failed to read output from testmodel.py, exit status != 0: 12.052673632046208 12.080141294 11.329400127 Calling exit ...