Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.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.0008388/0.0008388, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009501/0.0009501, allocations: 223.7 kB / 22.26 MB, free: 3.703 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.9526/0.9526, allocations: 230.6 MB / 256 MB, free: 9.816 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.8255/0.8255, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",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.0009507/0.0009507, allocations: 67.05 kB / 0.7182 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5959/0.5969, allocations: 102 MB / 0.8178 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1411/0.738, allocations: 138.7 MB / 0.9533 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001632/0.7381, allocations: 63.78 kB / 0.9533 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.752e-05/0.7382, allocations: 0 / 0.9533 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.7383, allocations: 0 / 0.9533 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.844e-05/0.7384, allocations: 11.92 kB / 0.9533 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000855/0.7392, allocations: 251 kB / 0.9536 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.7393, allocations: 27.86 kB / 0.9536 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.7394, allocations: 11.97 kB / 0.9536 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.938e-05/0.7394, allocations: 15.83 kB / 0.9536 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.889e-05/0.7395, allocations: 11.98 kB / 0.9536 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.7395, allocations: 3.984 kB / 0.9536 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005181/0.74, allocations: 259.4 kB / 0.9539 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/0.7401, allocations: 7.984 kB / 0.9539 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.7401, allocations: 7.938 kB / 0.9539 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.7404, allocations: 189.6 kB / 0.9541 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.7404, allocations: 4 kB / 0.9541 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7404, allocations: 0 / 0.9541 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.7404, allocations: 0 / 0.9541 GB, free: 10.05 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003507/0.7408, allocations: 290 kB / 0.9544 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.7408, allocations: 8.031 kB / 0.9544 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.218e-05/0.7408, allocations: 30.75 kB / 0.9544 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.7409, allocations: 4.938 kB / 0.9544 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.286e-05/0.741, allocations: 114.5 kB / 0.9545 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.959e-05/0.741, allocations: 63.72 kB / 0.9546 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.7411, allocations: 3.938 kB / 0.9546 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.7412, allocations: 41.69 kB / 0.9546 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.7412, allocations: 0 / 0.9546 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.7412, allocations: 3.938 kB / 0.9546 GB, free: 9.426 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/0.7412, allocations: 4 kB / 0.9546 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.605e-05/0.7413, allocations: 11.98 kB / 0.9546 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007176/0.742, allocations: 279.9 kB / 0.9549 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.24e-05/0.7421, allocations: 22.55 kB / 0.9549 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.7421, allocations: 8.922 kB / 0.9549 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-05/0.7421, allocations: 31.97 kB / 0.955 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.7422, allocations: 30.56 kB / 0.955 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 2.224e-06/0.7422, allocations: 0 / 0.955 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.000189/0.7424, allocations: 37.69 kB / 0.955 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.7424, allocations: 55.41 kB / 0.9551 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.403e-05/0.7425, allocations: 105.8 kB / 0.9552 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.7425, allocations: 25.7 kB / 0.9552 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.7426, allocations: 92.03 kB / 0.9553 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.212e-06/0.7426, allocations: 4 kB / 0.9553 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.7426, allocations: 13.72 kB / 0.9553 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.806e-05/0.7427, allocations: 314.9 kB / 0.9556 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.293e-05/0.7427, allocations: 19.98 kB / 0.9556 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.869e-05/0.7427, allocations: 13.72 kB / 0.9556 GB, free: 8.254 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.705e-05/0.7428, allocations: 17.72 kB / 0.9557 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7428, allocations: 0 / 0.9557 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.739e-05/0.7429, allocations: 53.58 kB / 0.9557 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.7429, allocations: 10.41 kB / 0.9557 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.7429, allocations: 0 / 0.9557 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.7429, allocations: 0 / 0.9557 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.431e-05/0.743, allocations: 11.98 kB / 0.9557 GB, free: 8.152 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.743, allocations: 4 kB / 0.9557 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.832e-05/0.743, allocations: 4.219 kB / 0.9557 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.743, allocations: 0 / 0.9557 GB, free: 8.145 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.811e-05/0.7431, allocations: 109.8 kB / 0.9558 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.7431, allocations: 3.938 kB / 0.9558 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.7432, allocations: 136.9 kB / 0.956 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.617e-05/0.7433, allocations: 176.3 kB / 0.9561 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.236e-05/0.7433, allocations: 184.2 kB / 0.9563 GB, free: 7.508 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.996e-05/0.7434, allocations: 180.2 kB / 0.9565 GB, free: 7.324 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.7436, allocations: 380.2 kB / 0.9569 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.299e-05/0.7436, allocations: 105 kB / 0.957 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.001e-05/0.7436, allocations: 104.9 kB / 0.9571 GB, free: 6.684 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.181e-05/0.7437, allocations: 184.2 kB / 0.9572 GB, free: 6.496 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.917e-05/0.7437, allocations: 180.3 kB / 0.9574 GB, free: 6.312 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.202e-05/0.7438, allocations: 180.2 kB / 0.9576 GB, free: 6.129 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-05/0.7439, allocations: 188.3 kB / 0.9578 GB, free: 5.938 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.744, allocations: 307.9 kB / 0.9581 GB, free: 5.613 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.744, allocations: 112.9 kB / 0.9582 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.77e-05/0.7441, allocations: 184.2 kB / 0.9583 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.7442, allocations: 109 kB / 0.9584 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.7443, allocations: 184.2 kB / 0.9586 GB, free: 5.008 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.7443, allocations: 104.9 kB / 0.9587 GB, free: 4.898 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.173e-05/0.7444, allocations: 91.28 kB / 0.9588 GB, free: 4.809 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.7444, allocations: 3.938 kB / 0.9588 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002459/0.7446, allocations: 51.8 kB / 0.9589 GB, free: 4.754 MB / 0.7292 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 (0): * Single equations (assignments): 0 * 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.0005369/0.7451, allocations: 0.8787 MB / 0.9597 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.7453, allocations: 12.05 kB / 0.9597 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7453, allocations: 4.062 kB / 0.9597 GB, free: 3.828 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.7453, allocations: 0 / 0.9597 GB, free: 3.828 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.7456, allocations: 463.6 kB / 0.9602 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.7468, allocations: 1.34 MB / 0.9615 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.7469, allocations: 0.6766 MB / 0.9621 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.37e-05/0.747, allocations: 10.72 kB / 0.9621 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.747, allocations: 11.44 kB / 0.9622 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/0.747, allocations: 0 / 0.9622 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/0.7639, allocations: 2.307 MB / 0.9644 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.844/7.608, allocations: 18.03 kB / 0.9644 GB, free: 15 MB / 0.7448 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion_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_SteamTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.740738846827298] Failed to read output from testmodel.py, exit status != 0: 7.694683942943811 7.71009468 6.966805507 Calling exit ...