Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.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.0009015/0.0009015, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009178/0.0009178, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.9213/0.9213, allocations: 230.6 MB / 256 MB, free: 9.613 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.7738/0.7738, 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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",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.0009383/0.0009383, allocations: 66.17 kB / 0.7181 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4896/0.4906, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1368/0.6274, allocations: 130.4 MB / 0.9451 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001665/0.6275, allocations: 51.86 kB / 0.9451 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.92e-05/0.6276, allocations: 0 / 0.9451 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.6277, allocations: 7.938 kB / 0.9451 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.6278, allocations: 7.984 kB / 0.9451 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007669/0.6286, allocations: 216.8 kB / 0.9453 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.407e-05/0.6287, allocations: 31.91 kB / 0.9454 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.6287, allocations: 3.984 kB / 0.9454 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.553e-05/0.6287, allocations: 23.88 kB / 0.9454 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.027e-05/0.6288, allocations: 11.97 kB / 0.9454 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.6288, allocations: 4 kB / 0.9454 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003009/0.6291, allocations: 159.5 kB / 0.9456 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/0.6292, allocations: 8 kB / 0.9456 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.6292, allocations: 11.92 kB / 0.9456 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.6294, allocations: 105.8 kB / 0.9457 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6294, allocations: 0 / 0.9457 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6294, allocations: 3.938 kB / 0.9457 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.6294, allocations: 0 / 0.9457 GB, free: 2.262 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.000405/0.6298, allocations: 270.2 kB / 0.946 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.6299, allocations: 12.03 kB / 0.946 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.6299, allocations: 34.73 kB / 0.946 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003006/0.6302, allocations: 20.92 kB / 0.946 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.6303, allocations: 122.2 kB / 0.9461 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.93e-05/0.6304, allocations: 55.34 kB / 0.9462 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.6304, allocations: 4 kB / 0.9462 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.6306, allocations: 71.39 kB / 0.9463 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.6306, allocations: 0 / 0.9463 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.6306, allocations: 4 kB / 0.9463 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.6306, allocations: 4 kB / 0.9463 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.052e-05/0.6306, allocations: 19.98 kB / 0.9463 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.631, allocations: 228 kB / 0.9465 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.732e-05/0.6311, allocations: 26.52 kB / 0.9465 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.6311, allocations: 8.922 kB / 0.9465 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.6312, allocations: 11.98 kB / 0.9465 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.6312, allocations: 38.56 kB / 0.9466 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.6312, allocations: 0 / 0.9466 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002045/0.6315, allocations: 49.67 kB / 0.9466 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.6315, allocations: 59.34 kB / 0.9467 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.933e-05/0.6315, allocations: 105.8 kB / 0.9468 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.6316, allocations: 25.7 kB / 0.9468 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.6316, allocations: 96.08 kB / 0.9469 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.971e-06/0.6316, allocations: 3.953 kB / 0.9469 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.6316, allocations: 13.72 kB / 0.9469 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.5e-05/0.6317, allocations: 323 kB / 0.9472 GB, free: 496 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.6317, allocations: 4 kB / 0.9472 GB, free: 492 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.327e-05/0.6318, allocations: 18.58 kB / 0.9472 GB, free: 464 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/0.6318, allocations: 38.5 kB / 0.9473 GB, free: 416 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.6318, allocations: 3.938 kB / 0.9473 GB, free: 412 kB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.806e-05/0.6319, allocations: 57.59 kB / 0.9473 GB, free: 348 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.6319, allocations: 7.984 kB / 0.9474 GB, free: 340 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.6319, allocations: 4.094 kB / 0.9474 GB, free: 336 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.6319, allocations: 4 kB / 0.9474 GB, free: 332 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.618e-05/0.632, allocations: 4 kB / 0.9474 GB, free: 328 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.632, allocations: 3.938 kB / 0.9474 GB, free: 324 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.798e-05/0.632, allocations: 4 kB / 0.9474 GB, free: 320 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.632, allocations: 0 / 0.9474 GB, free: 320 kB / 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.275e-05/0.6321, allocations: 114.4 kB / 0.9475 GB, free: 196 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.6321, allocations: 0 / 0.9475 GB, free: 196 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.185e-05/0.6321, allocations: 15.27 kB / 0.9475 GB, free: 180 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.6321, allocations: 7.984 kB / 0.9475 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6321, allocations: 11.88 kB / 0.9475 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.6321, allocations: 0 / 0.9475 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.6324, allocations: 330.7 kB / 0.9478 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.6324, allocations: 0 / 0.9478 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.762e-05/0.6324, allocations: 3.938 kB / 0.9478 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.6324, allocations: 4 kB / 0.9478 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.6324, allocations: 0 / 0.9478 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6324, allocations: 0 / 0.9478 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6324, allocations: 3.938 kB / 0.9478 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.366e-05/0.6325, allocations: 78 kB / 0.9479 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.6325, allocations: 7.938 kB / 0.9479 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.6325, allocations: 0 / 0.9479 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.718e-05/0.6325, allocations: 7.984 kB / 0.9479 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.6325, allocations: 0 / 0.9479 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.6325, allocations: 0 / 0.9479 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.23e-05/0.6326, allocations: 83.28 kB / 0.948 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.6326, allocations: 0 / 0.948 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001375/0.6327, allocations: 8 kB / 0.948 GB, free: 15.56 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0003151/0.633, allocations: 0.6172 MB / 0.9486 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.234e-05/0.6331, allocations: 15.92 kB / 0.9486 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6331, allocations: 0 / 0.9486 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.322e-06/0.6331, allocations: 4 kB / 0.9486 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.6334, allocations: 8 kB / 0.9486 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004041/0.6338, allocations: 153.5 kB / 0.9488 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.6342, allocations: 67.3 kB / 0.9489 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.284e-05/0.6342, allocations: 12.39 kB / 0.9489 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.6343, allocations: 7.438 kB / 0.9489 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/0.6343, allocations: 0 / 0.9489 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.6513, allocations: 1.997 MB / 0.9508 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.897/7.549, allocations: 12.69 kB / 0.9508 GB, free: 12.69 MB / 0.7292 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion_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_Examples_AirTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.493827861268073] Failed to read output from testmodel.py, exit status != 0: 7.623764185700566 7.631870391 7.000718924 Calling exit ...