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.001319/0.001319, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001511/0.001511, allocations: 209.2 kB / 22.24 MB, free: 3.57 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 0.9649/0.9649, allocations: 230.6 MB / 256 MB, free: 9.594 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.8/0.8, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.0009635/0.0009635, allocations: 69.17 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6047/0.6056, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1378/0.7435, allocations: 130 MB / 0.9447 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001164/0.7436, allocations: 59.73 kB / 0.9448 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.7436, allocations: 0 / 0.9448 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.7438, allocations: 0 / 0.9448 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.456e-05/0.7438, allocations: 19.91 kB / 0.9448 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/0.7443, allocations: 111.6 kB / 0.9449 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.779e-05/0.7444, allocations: 31.91 kB / 0.9449 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.7445, allocations: 3.984 kB / 0.9449 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.994e-05/0.7445, allocations: 12 kB / 0.9449 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.585e-05/0.7446, allocations: 19.84 kB / 0.9449 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.7446, allocations: 4 kB / 0.945 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.7448, allocations: 67.75 kB / 0.945 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.193e-05/0.7448, allocations: 3.984 kB / 0.945 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.7449, allocations: 19.98 kB / 0.945 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.745, allocations: 63.66 kB / 0.9451 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.745, allocations: 0 / 0.9451 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.743e-06/0.745, allocations: 0 / 0.9451 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.745, allocations: 0 / 0.9451 GB, free: 2.902 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.0003723/0.7454, allocations: 266.5 kB / 0.9454 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.7454, allocations: 8.031 kB / 0.9454 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.332e-05/0.7455, allocations: 30.75 kB / 0.9454 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.7457, allocations: 16.92 kB / 0.9454 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.577e-05/0.7458, allocations: 118.2 kB / 0.9455 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.023e-05/0.7458, allocations: 55.41 kB / 0.9456 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.7458, allocations: 7.969 kB / 0.9456 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.746, allocations: 75.33 kB / 0.9457 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.746, allocations: 0 / 0.9457 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.746, allocations: 4 kB / 0.9457 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.746, allocations: 4 kB / 0.9457 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.36e-05/0.746, allocations: 15.98 kB / 0.9457 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.7464, allocations: 247.8 kB / 0.9459 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.673e-05/0.7464, allocations: 18.52 kB / 0.9459 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.541e-05/0.7464, allocations: 4.859 kB / 0.9459 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.929e-06/0.7464, allocations: 8 kB / 0.9459 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.7464, allocations: 30.56 kB / 0.946 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.7464, allocations: 0 / 0.946 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001113/0.7465, allocations: 29.7 kB / 0.946 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.7466, allocations: 59.34 kB / 0.9461 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.549e-05/0.7466, allocations: 109.8 kB / 0.9462 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.7466, allocations: 25.83 kB / 0.9462 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.7467, allocations: 92.05 kB / 0.9463 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.37e-06/0.7467, allocations: 4 kB / 0.9463 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.7467, allocations: 21.66 kB / 0.9463 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.146e-05/0.7468, allocations: 318.8 kB / 0.9466 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.7468, allocations: 4 kB / 0.9466 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.358e-05/0.7468, allocations: 26.56 kB / 0.9466 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.023e-05/0.7469, allocations: 26.58 kB / 0.9467 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.7469, allocations: 0 / 0.9467 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.11e-05/0.7469, allocations: 57.62 kB / 0.9467 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.7469, allocations: 8 kB / 0.9467 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7469, allocations: 3.938 kB / 0.9467 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.7469, allocations: 0 / 0.9467 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.714e-05/0.747, allocations: 11.94 kB / 0.9467 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.747, allocations: 0 / 0.9467 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.747, allocations: 3.938 kB / 0.9467 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.747, allocations: 4 kB / 0.9467 GB, free: 0.9961 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 5.22e-05/0.7471, allocations: 109.9 kB / 0.9468 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.7471, allocations: 12 kB / 0.9469 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.746e-05/0.7471, allocations: 7.359 kB / 0.9469 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.7471, allocations: 3.938 kB / 0.9469 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.7471, allocations: 4 kB / 0.9469 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.7471, allocations: 0 / 0.9469 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.7473, allocations: 321.8 kB / 0.9472 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.7473, allocations: 0 / 0.9472 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.504e-06/0.7473, allocations: 7.875 kB / 0.9472 GB, free: 488 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.7473, allocations: 0 / 0.9472 GB, free: 488 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.7473, allocations: 0 / 0.9472 GB, free: 488 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.7473, allocations: 4.031 kB / 0.9472 GB, free: 484 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7473, allocations: 4 kB / 0.9472 GB, free: 480 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.62e-05/0.7473, allocations: 57.12 kB / 0.9472 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-06/0.7473, allocations: 7.938 kB / 0.9473 GB, free: 396 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.799e-06/0.7474, allocations: 0 / 0.9473 GB, free: 396 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.078e-05/0.7474, allocations: 7.984 kB / 0.9473 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.478e-06/0.7474, allocations: 0 / 0.9473 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.91e-07/0.7474, allocations: 3.938 kB / 0.9473 GB, free: 384 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.769e-05/0.7474, allocations: 87.22 kB / 0.9473 GB, free: 296 kB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.7474, allocations: 0 / 0.9473 GB, free: 296 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001239/0.7476, allocations: 12.03 kB / 0.9474 GB, free: 284 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.0002212/0.7478, allocations: 0.5929 MB / 0.9479 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.803e-05/0.7479, allocations: 15.94 kB / 0.948 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7479, allocations: 0 / 0.948 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.889e-06/0.7479, allocations: 7.984 kB / 0.948 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.7481, allocations: 96 / 0.948 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.7483, allocations: 144.8 kB / 0.9481 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.07e-05/0.7484, allocations: 67.33 kB / 0.9482 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.372e-05/0.7484, allocations: 4 kB / 0.9482 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.7484, allocations: 7.438 kB / 0.9482 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of SimCode: time 3.71e-07/0.7484, allocations: 0 / 0.9482 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01414/0.7626, allocations: 1.895 MB / 0.95 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.729/7.492, allocations: 17.23 kB / 0.95 GB, free: 13.58 MB / 0.7292 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.595378297846764] Failed to read output from testmodel.py, exit status != 0: 7.574299341067672 7.582339724 6.835532929 Calling exit ...