Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007482/0.0007482, allocations: 105.5 kB / 18.95 MB, free: 1.176 MB / 13.93 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.0007986/0.0007986, allocations: 209.7 kB / 22.25 MB, free: 3.715 MB / 13.93 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.007/1.007, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8638/0.8638, allocations: 203.8 MB / 0.5042 GB, free: 10.42 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_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.001375/0.001375, allocations: 70.77 kB / 0.7182 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.56/0.5614, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1598/0.7212, allocations: 130 MB / 0.9447 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001333/0.7213, allocations: 59.73 kB / 0.9448 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.308e-05/0.7214, allocations: 0 / 0.9448 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.7215, allocations: 4 kB / 0.9448 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.7216, allocations: 19.91 kB / 0.9448 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005066/0.7221, allocations: 107.6 kB / 0.9449 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.893e-05/0.7222, allocations: 27.92 kB / 0.9449 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.745e-05/0.7223, allocations: 7.984 kB / 0.9449 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.438e-05/0.7223, allocations: 11.98 kB / 0.9449 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.289e-05/0.7224, allocations: 23.86 kB / 0.9449 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.7224, allocations: 3.984 kB / 0.945 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.7226, allocations: 63.81 kB / 0.945 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.524e-05/0.7227, allocations: 11.98 kB / 0.945 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.7227, allocations: 7.938 kB / 0.945 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.7229, allocations: 67.64 kB / 0.9451 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.7229, allocations: 4 kB / 0.9451 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.454e-06/0.7229, allocations: 0 / 0.9451 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.7229, allocations: 0 / 0.9451 GB, free: 2.91 MB / 0.7136 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.0003809/0.7232, allocations: 260.6 kB / 0.9453 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.7233, allocations: 16.03 kB / 0.9454 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.196e-05/0.7233, allocations: 30.75 kB / 0.9454 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/0.7235, allocations: 20.92 kB / 0.9454 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.505e-05/0.7236, allocations: 118.2 kB / 0.9455 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.513e-05/0.7237, allocations: 55.41 kB / 0.9456 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.7237, allocations: 0 / 0.9456 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.7238, allocations: 83.31 kB / 0.9457 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.7238, allocations: 0 / 0.9457 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.7239, allocations: 4 kB / 0.9457 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.7239, allocations: 0 / 0.9457 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.554e-05/0.7239, allocations: 19.98 kB / 0.9457 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.7243, allocations: 231.8 kB / 0.9459 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.991e-05/0.7243, allocations: 18.58 kB / 0.9459 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.198e-05/0.7243, allocations: 12.83 kB / 0.9459 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.525e-06/0.7244, allocations: 0 / 0.9459 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.7244, allocations: 30.56 kB / 0.946 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.7244, allocations: 4.062 kB / 0.946 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001371/0.7245, allocations: 37.7 kB / 0.946 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.7245, allocations: 55.34 kB / 0.9461 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.702e-05/0.7246, allocations: 105.8 kB / 0.9462 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.7246, allocations: 25.7 kB / 0.9462 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.7247, allocations: 92.05 kB / 0.9463 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.473e-06/0.7247, allocations: 0 / 0.9463 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.7247, allocations: 21.67 kB / 0.9463 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.12e-05/0.7248, allocations: 314.8 kB / 0.9466 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.7248, allocations: 7.938 kB / 0.9466 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.535e-05/0.7249, allocations: 22.58 kB / 0.9466 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.228e-05/0.7249, allocations: 38.69 kB / 0.9467 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.7249, allocations: 0 / 0.9467 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.016e-05/0.725, allocations: 53.62 kB / 0.9467 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.725, allocations: 4 kB / 0.9467 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.725, allocations: 0 / 0.9467 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.725, allocations: 4 kB / 0.9467 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.481e-05/0.7251, allocations: 11.88 kB / 0.9467 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.7251, allocations: 4.094 kB / 0.9467 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.315e-05/0.7251, allocations: 7.938 kB / 0.9467 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.7251, allocations: 0 / 0.9467 GB, free: 1.008 MB / 0.7136 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 6.953e-05/0.7252, allocations: 113.8 kB / 0.9468 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.7252, allocations: 0 / 0.9468 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.7252, allocations: 15.09 kB / 0.9469 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.7252, allocations: 3.938 kB / 0.9469 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.7252, allocations: 0 / 0.9469 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.7252, allocations: 96 / 0.9469 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.7255, allocations: 325.7 kB / 0.9472 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.7255, allocations: 4.031 kB / 0.9472 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.676e-05/0.7255, allocations: 12.12 kB / 0.9472 GB, free: 492 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.7255, allocations: 3.938 kB / 0.9472 GB, free: 488 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.7255, allocations: 4 kB / 0.9472 GB, free: 484 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.7255, allocations: 0 / 0.9472 GB, free: 484 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7255, allocations: 0 / 0.9472 GB, free: 484 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.819e-05/0.7256, allocations: 61.12 kB / 0.9473 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-06/0.7256, allocations: 3.938 kB / 0.9473 GB, free: 400 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.7256, allocations: 4 kB / 0.9473 GB, free: 396 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.459e-05/0.7256, allocations: 0 / 0.9473 GB, free: 396 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.7257, allocations: 8.016 kB / 0.9473 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.7257, allocations: 0 / 0.9473 GB, free: 388 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.055e-05/0.7257, allocations: 91.22 kB / 0.9474 GB, free: 296 kB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.7257, allocations: 0 / 0.9474 GB, free: 296 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001275/0.7258, allocations: 4 kB / 0.9474 GB, free: 292 kB / 0.7136 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.000314/0.7261, allocations: 0.5929 MB / 0.9479 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.327e-05/0.7262, allocations: 19.94 kB / 0.948 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.7262, allocations: 224 / 0.948 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.855e-06/0.7262, allocations: 4 kB / 0.948 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.7265, allocations: 7.984 kB / 0.948 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.7269, allocations: 140.5 kB / 0.9481 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.048e-05/0.7269, allocations: 59.34 kB / 0.9482 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.861e-05/0.727, allocations: 4 kB / 0.9482 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.727, allocations: 11.5 kB / 0.9482 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of SimCode: time 4.91e-07/0.727, allocations: 0 / 0.9482 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.7483, allocations: 1.906 MB / 0.95 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.627/7.375, allocations: 3.938 kB / 0.95 GB, free: 13.59 MB / 0.7292 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.492497153114527] Failed to read output from testmodel.py, exit status != 0: 7.452258042991161 7.461013605 6.735713431 Calling exit ...