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.001541/0.001541, allocations: 109.2 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.001832/0.001832, allocations: 219 kB / 22.26 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.996 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.8927/0.8927, allocations: 134 MB / 446.4 MB, free: 10.24 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.002045/0.002045, allocations: 66.12 kB / 0.6185 GB, free: 7.242 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.2001, allocations: 85.91 MB / 0.7024 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6194/0.8195, allocations: 151.2 MB / 0.8501 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001642/0.8197, allocations: 55.22 kB / 0.8501 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.482e-05/0.8197, allocations: 0 / 0.8501 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.8198, allocations: 1.031 kB / 0.8501 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.687e-05/0.8199, allocations: 13.05 kB / 0.8501 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/0.8204, allocations: 120.5 kB / 0.8503 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.499e-05/0.8205, allocations: 31.91 kB / 0.8503 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.8205, allocations: 7.984 kB / 0.8503 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.141e-05/0.8206, allocations: 15.88 kB / 0.8503 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 9.183e-05/0.8207, allocations: 15.97 kB / 0.8503 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.8207, allocations: 0 / 0.8503 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002902/0.821, allocations: 99.7 kB / 0.8504 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.821, allocations: 7.984 kB / 0.8504 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.821, allocations: 7.938 kB / 0.8504 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.8212, allocations: 82.91 kB / 0.8505 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.8212, allocations: 4 kB / 0.8505 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8212, allocations: 0 / 0.8505 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.892e-06/0.8213, allocations: 0 / 0.8505 GB, free: 15.07 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.0004607/0.8217, allocations: 254.3 kB / 0.8508 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.8218, allocations: 12.03 kB / 0.8508 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.8218, allocations: 30.75 kB / 0.8508 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002199/0.822, allocations: 16.92 kB / 0.8508 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.8221, allocations: 122.4 kB / 0.8509 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.712e-05/0.8222, allocations: 59.34 kB / 0.851 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.8222, allocations: 0.5625 kB / 0.851 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.8224, allocations: 49.67 kB / 0.851 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.8224, allocations: 0 / 0.851 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.8224, allocations: 0 / 0.851 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.8224, allocations: 4 kB / 0.851 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.242e-05/0.8225, allocations: 15.98 kB / 0.8511 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.8229, allocations: 242 kB / 0.8513 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 4.472e-05/0.8229, allocations: 22.52 kB / 0.8513 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.823, allocations: 4.859 kB / 0.8513 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.28e-06/0.823, allocations: 0 / 0.8513 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.823, allocations: 30.62 kB / 0.8513 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.823, allocations: 8 kB / 0.8513 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001356/0.8231, allocations: 33.7 kB / 0.8514 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.8232, allocations: 59.28 kB / 0.8514 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.8233, allocations: 105.8 kB / 0.8515 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.8233, allocations: 25.7 kB / 0.8516 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/0.8234, allocations: 99.97 kB / 0.8517 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.322e-06/0.8234, allocations: 3.984 kB / 0.8517 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.453e-05/0.8234, allocations: 17.72 kB / 0.8517 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.8236, allocations: 315 kB / 0.852 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.629e-05/0.8236, allocations: 8 kB / 0.852 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.102e-05/0.8236, allocations: 22.56 kB / 0.852 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.675e-05/0.8237, allocations: 30.52 kB / 0.852 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.8237, allocations: 4 kB / 0.852 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.495e-05/0.8237, allocations: 57.58 kB / 0.8521 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.8238, allocations: 8 kB / 0.8521 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.8238, allocations: 0 / 0.8521 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.8238, allocations: 0 / 0.8521 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.776e-05/0.8238, allocations: 10.62 kB / 0.8521 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.8238, allocations: 7.938 kB / 0.8521 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.641e-05/0.8239, allocations: 0 / 0.8521 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.8239, allocations: 4 kB / 0.8521 GB, free: 13.2 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.356e-05/0.824, allocations: 117.9 kB / 0.8522 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.824, allocations: 4 kB / 0.8522 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.824, allocations: 3.156 kB / 0.8522 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.824, allocations: 0 / 0.8522 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.824, allocations: 3.938 kB / 0.8522 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.824, allocations: 0 / 0.8522 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.8243, allocations: 317.8 kB / 0.8525 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.8243, allocations: 8.016 kB / 0.8526 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.458e-05/0.8243, allocations: 4 kB / 0.8526 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.8243, allocations: 3.938 kB / 0.8526 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.8244, allocations: 0 / 0.8526 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.8244, allocations: 0 / 0.8526 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.8244, allocations: 0 / 0.8526 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.47e-05/0.8244, allocations: 65.03 kB / 0.8526 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.8244, allocations: 8.016 kB / 0.8526 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.8245, allocations: 8.016 kB / 0.8526 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.908e-05/0.8245, allocations: 4 kB / 0.8526 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.07e-05/0.8246, allocations: 3.875 kB / 0.8526 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-06/0.8246, allocations: 0 / 0.8526 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.334e-05/0.8246, allocations: 91.27 kB / 0.8527 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.8246, allocations: 3.938 kB / 0.8527 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002027/0.8248, allocations: 4 kB / 0.8527 GB, free: 12.49 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.0004025/0.8252, allocations: 0.5968 MB / 0.8533 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 7.938e-05/0.8253, allocations: 15.94 kB / 0.8533 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8253, allocations: 0 / 0.8533 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 9.448e-06/0.8253, allocations: 4 kB / 0.8533 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.8256, allocations: 1.875 kB / 0.8533 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.826, allocations: 141.9 kB / 0.8535 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.8263, allocations: 0.6729 MB / 0.8541 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.346e-05/0.8264, allocations: 7.984 kB / 0.8541 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.8264, allocations: 7.438 kB / 0.8542 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.8264, allocations: 0 / 0.8542 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.8546, allocations: 1.472 MB / 0.8556 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.69, allocations: 6.391 kB / 0.8556 GB, free: 9.648 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.509605304105207] Failed to read output from testmodel.py, exit status != 0: 11.79367221496068 11.811735438 10.987037899 Calling exit ...