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.001306/0.001306, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.00135/0.00135, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.518/1.518, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.915/0.915, allocations: 133.9 MB / 443.5 MB, free: 14.25 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.002044/0.002044, allocations: 67.19 kB / 0.6141 GB, free: 38.29 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.158, allocations: 85.85 MB / 0.6979 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1874/0.3453, allocations: 151.1 MB / 0.8455 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001531/0.3455, allocations: 51.86 kB / 0.8456 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.3455, allocations: 0 / 0.8456 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.3456, allocations: 3.938 kB / 0.8456 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.819e-05/0.3457, allocations: 15.91 kB / 0.8456 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004843/0.3462, allocations: 111.5 kB / 0.8457 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.502e-05/0.3463, allocations: 39.78 kB / 0.8457 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.665e-05/0.3463, allocations: 4 kB / 0.8457 GB, free: 7.145 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.087e-05/0.3464, allocations: 19.91 kB / 0.8458 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.428e-05/0.3465, allocations: 8 kB / 0.8458 GB, free: 7.117 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.3465, allocations: 0 / 0.8458 GB, free: 7.117 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002775/0.3467, allocations: 95.7 kB / 0.8459 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.711e-05/0.3468, allocations: 7.984 kB / 0.8459 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.3468, allocations: 19.92 kB / 0.8459 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.347, allocations: 74.03 kB / 0.846 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.347, allocations: 0 / 0.846 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.523e-06/0.347, allocations: 0 / 0.846 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.347, allocations: 4 kB / 0.846 GB, free: 6.922 MB / 0.6544 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.0004923/0.3475, allocations: 335.4 kB / 0.8463 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.3475, allocations: 9.703 kB / 0.8463 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.79e-05/0.3476, allocations: 4.188 kB / 0.8463 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.3476, allocations: 38.73 kB / 0.8463 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000222/0.3478, allocations: 16.92 kB / 0.8464 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.348, allocations: 167.9 kB / 0.8465 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.864e-05/0.348, allocations: 29.7 kB / 0.8465 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.3481, allocations: 0 / 0.8465 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.3482, allocations: 57.64 kB / 0.8466 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3482, allocations: 3.938 kB / 0.8466 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3482, allocations: 4 kB / 0.8466 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.3483, allocations: 0 / 0.8466 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.924e-05/0.3483, allocations: 19.98 kB / 0.8466 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.3487, allocations: 260.9 kB / 0.8469 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.377e-05/0.3488, allocations: 14.58 kB / 0.8469 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.565e-05/0.3488, allocations: 12.92 kB / 0.8469 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.909e-06/0.3488, allocations: 4 kB / 0.8469 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.3488, allocations: 34.5 kB / 0.8469 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.3488, allocations: 0 / 0.8469 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001408/0.349, allocations: 37.62 kB / 0.847 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.349, allocations: 55.41 kB / 0.847 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.3491, allocations: 101.9 kB / 0.8471 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.3491, allocations: 29.64 kB / 0.8471 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/0.3492, allocations: 100.2 kB / 0.8472 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-06/0.3492, allocations: 0 / 0.8472 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.3492, allocations: 13.72 kB / 0.8473 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3494, allocations: 318.8 kB / 0.8476 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.3494, allocations: 3.984 kB / 0.8476 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.863e-05/0.3494, allocations: 26.52 kB / 0.8476 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.759e-05/0.3495, allocations: 34.52 kB / 0.8476 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3495, allocations: 0 / 0.8476 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.727e-05/0.3496, allocations: 61.58 kB / 0.8477 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3496, allocations: 5.406 kB / 0.8477 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3496, allocations: 0 / 0.8477 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.3496, allocations: 7.938 kB / 0.8477 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.151e-05/0.3497, allocations: 11.92 kB / 0.8477 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.3497, allocations: 4.094 kB / 0.8477 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.211e-05/0.3497, allocations: 7.938 kB / 0.8477 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.3497, allocations: 0 / 0.8477 GB, free: 4.875 MB / 0.6544 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.381e-05/0.3498, allocations: 110.5 kB / 0.8478 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.3498, allocations: 0 / 0.8478 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.866e-05/0.3499, allocations: 3.125 kB / 0.8478 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3499, allocations: 3.938 kB / 0.8478 GB, free: 4.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3499, allocations: 4 kB / 0.8478 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3499, allocations: 0 / 0.8478 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.3502, allocations: 354.7 kB / 0.8482 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.3502, allocations: 3.938 kB / 0.8482 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.223e-05/0.3502, allocations: 0 / 0.8482 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3502, allocations: 0 / 0.8482 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.3502, allocations: 0 / 0.8482 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.3502, allocations: 4 kB / 0.8482 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3502, allocations: 0 / 0.8482 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.46e-05/0.3503, allocations: 65.36 kB / 0.8482 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/0.3503, allocations: 85.05 kB / 0.8483 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.3504, allocations: 4 kB / 0.8483 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.142e-05/0.3504, allocations: 0 / 0.8483 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.3505, allocations: 7.984 kB / 0.8483 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-06/0.3505, allocations: 0 / 0.8483 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.708e-05/0.3505, allocations: 83.22 kB / 0.8484 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.3505, allocations: 0 / 0.8484 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001905/0.3507, allocations: 16.03 kB / 0.8484 GB, free: 4.039 MB / 0.6544 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.3511, allocations: 0.5928 MB / 0.849 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.843e-05/0.3512, allocations: 15.94 kB / 0.849 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3512, allocations: 224 / 0.849 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.739e-06/0.3512, allocations: 4 kB / 0.849 GB, free: 3.398 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.3514, allocations: 11.98 kB / 0.849 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003819/0.3518, allocations: 124.4 kB / 0.8492 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.3521, allocations: 0.6768 MB / 0.8498 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.989e-05/0.3522, allocations: 16.08 kB / 0.8498 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.3522, allocations: 14.94 kB / 0.8498 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of SimCode: time 3e-07/0.3522, allocations: 4 kB / 0.8499 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.3704, allocations: 1.4 MB / 0.8512 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.018/8.388, allocations: 12.05 kB / 0.8512 GB, free: 1.27 MB / 0.6544 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 & /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: 12.24916890298482] Failed to read output from testmodel.py, exit status != 0: 8.782425147015601 8.527184558 8.177014266 Calling exit ...