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.001301/0.001301, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001618/0.001618, allocations: 215.9 kB / 23.04 MB, free: 5.074 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.616/1.616, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.852/0.852, allocations: 134 MB / 447.2 MB, free: 10.23 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.002039/0.002039, allocations: 64.03 kB / 0.6193 GB, free: 7.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1957, allocations: 85.91 MB / 0.7032 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6488/0.8445, allocations: 151.2 MB / 0.8508 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001597/0.8446, allocations: 47.66 kB / 0.8509 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.494e-05/0.8447, allocations: 0 / 0.8509 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.8448, allocations: 7.922 kB / 0.8509 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 8.455e-05/0.8449, allocations: 12.02 kB / 0.8509 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005616/0.8455, allocations: 116.1 kB / 0.851 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.8456, allocations: 31.86 kB / 0.8511 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.8456, allocations: 4 kB / 0.8511 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.68e-05/0.8457, allocations: 19.98 kB / 0.8511 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.484e-05/0.8457, allocations: 11.92 kB / 0.8511 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.8457, allocations: 4 kB / 0.8511 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003164/0.8461, allocations: 91.7 kB / 0.8512 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.942e-05/0.8461, allocations: 7.984 kB / 0.8512 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.8462, allocations: 19.92 kB / 0.8512 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.8463, allocations: 65.95 kB / 0.8513 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.8463, allocations: 0 / 0.8513 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.263e-06/0.8463, allocations: 3.938 kB / 0.8513 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.8463, allocations: 0 / 0.8513 GB, free: 15.1 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.000447/0.8468, allocations: 262.3 kB / 0.8515 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.8468, allocations: 8.031 kB / 0.8515 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.373e-05/0.8469, allocations: 12.17 kB / 0.8515 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.8469, allocations: 34.69 kB / 0.8516 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/0.8471, allocations: 16.92 kB / 0.8516 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.8472, allocations: 110.2 kB / 0.8517 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.875e-05/0.8473, allocations: 59.41 kB / 0.8518 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.8473, allocations: 0 / 0.8518 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.8475, allocations: 57.66 kB / 0.8518 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.8475, allocations: 0 / 0.8518 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.8475, allocations: 0 / 0.8518 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.8475, allocations: 0 / 0.8518 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.639e-05/0.8476, allocations: 19.98 kB / 0.8518 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.848, allocations: 241 kB / 0.8521 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 5.585e-05/0.8481, allocations: 20.64 kB / 0.8521 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/0.8481, allocations: 8.859 kB / 0.8521 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-06/0.8481, allocations: 0 / 0.8521 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.8481, allocations: 30.56 kB / 0.8521 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.8481, allocations: 0 / 0.8521 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001448/0.8483, allocations: 45.69 kB / 0.8522 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.8483, allocations: 55.34 kB / 0.8522 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.8484, allocations: 101.9 kB / 0.8523 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.8485, allocations: 25.7 kB / 0.8523 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/0.8485, allocations: 96.03 kB / 0.8524 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.462e-06/0.8485, allocations: 4 kB / 0.8524 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.8486, allocations: 13.72 kB / 0.8524 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.8487, allocations: 319 kB / 0.8527 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/0.8487, allocations: 11.73 kB / 0.8528 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.988e-05/0.8488, allocations: 18.58 kB / 0.8528 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.606e-05/0.8488, allocations: 30.52 kB / 0.8528 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8488, allocations: 3.938 kB / 0.8528 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.464e-05/0.8489, allocations: 61.58 kB / 0.8529 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.8489, allocations: 4 kB / 0.8529 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.8489, allocations: 4 kB / 0.8529 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.849, allocations: 0 / 0.8529 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.672e-05/0.849, allocations: 15.92 kB / 0.8529 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.849, allocations: 4.562 kB / 0.8529 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.867e-05/0.8491, allocations: 0 / 0.8529 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.8491, allocations: 0 / 0.8529 GB, free: 13.23 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.000101/0.8492, allocations: 113.9 kB / 0.853 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.8492, allocations: 3.938 kB / 0.853 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.152e-05/0.8492, allocations: 7.156 kB / 0.853 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.8492, allocations: 5.156 kB / 0.853 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.8492, allocations: 0 / 0.853 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.8492, allocations: 0 / 0.853 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/0.8496, allocations: 321.8 kB / 0.8533 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.8496, allocations: 0 / 0.8533 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.117e-05/0.8496, allocations: 7.938 kB / 0.8533 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.8496, allocations: 4.125 kB / 0.8533 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.8496, allocations: 0 / 0.8533 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.8496, allocations: 0 / 0.8533 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.8496, allocations: 3.984 kB / 0.8533 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.279e-05/0.8497, allocations: 69.02 kB / 0.8534 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.093e-05/0.8497, allocations: 3.938 kB / 0.8534 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.8497, allocations: 0 / 0.8534 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.638e-05/0.8498, allocations: 8.875 kB / 0.8534 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.8498, allocations: 3.984 kB / 0.8534 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.8498, allocations: 0 / 0.8534 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.266e-05/0.8499, allocations: 80.16 kB / 0.8535 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8499, allocations: 4 kB / 0.8535 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0001916/0.8501, allocations: 8 kB / 0.8535 GB, free: 12.52 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.0004276/0.8505, allocations: 0.6007 MB / 0.8541 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 7.967e-05/0.8506, allocations: 11.94 kB / 0.8541 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8506, allocations: 0 / 0.8541 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 4.799e-06/0.8506, allocations: 0 / 0.8541 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.8508, allocations: 14.05 kB / 0.8541 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.8512, allocations: 137.8 kB / 0.8543 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.8516, allocations: 0.6768 MB / 0.8549 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.853e-05/0.8516, allocations: 4 kB / 0.8549 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.8516, allocations: 15.44 kB / 0.8549 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of SimCode: time 3.8e-07/0.8516, allocations: 0 / 0.8549 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.8735, allocations: 1.494 MB / 0.8564 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.75, allocations: 4.062 kB / 0.8564 GB, free: 9.656 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 & /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.604937509982847] Failed to read output from testmodel.py, exit status != 0: 11.906549589941278 11.922714143 11.073142624 Calling exit ...