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.0007924/0.0007924, 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.0009583/0.0009583, allocations: 209.2 kB / 22.24 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.9655/0.9655, allocations: 230.6 MB / 256 MB, free: 9.582 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.801/0.801, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.001213/0.001213, allocations: 70.31 kB / 0.7181 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5339/0.5351, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1204/0.6555, allocations: 119 MB / 0.934 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001408/0.6556, allocations: 47.69 kB / 0.934 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.6557, allocations: 0 / 0.934 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.6558, allocations: 0 / 0.934 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.564e-05/0.6558, allocations: 23.91 kB / 0.9341 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007626/0.6566, allocations: 239 kB / 0.9343 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.767e-05/0.6567, allocations: 39.67 kB / 0.9343 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.394e-05/0.6567, allocations: 7.984 kB / 0.9343 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.923e-05/0.6568, allocations: 12 kB / 0.9343 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.96e-05/0.6568, allocations: 11.97 kB / 0.9343 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.6568, allocations: 4 kB / 0.9344 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002899/0.6571, allocations: 175.5 kB / 0.9345 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.6572, allocations: 11.92 kB / 0.9345 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.6572, allocations: 8 kB / 0.9345 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.6574, allocations: 165.7 kB / 0.9347 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.6574, allocations: 4 kB / 0.9347 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6574, allocations: 0 / 0.9347 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.6574, allocations: 0 / 0.9347 GB, free: 13.55 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003348/0.6578, allocations: 290 kB / 0.935 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.6578, allocations: 8.031 kB / 0.935 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/0.6578, allocations: 34.75 kB / 0.935 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.6579, allocations: 0.9375 kB / 0.935 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.268e-05/0.658, allocations: 110.5 kB / 0.9351 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-05/0.658, allocations: 67.66 kB / 0.9352 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.658, allocations: 3.984 kB / 0.9352 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.6581, allocations: 71.31 kB / 0.9353 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.6581, allocations: 3.984 kB / 0.9353 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.6581, allocations: 4 kB / 0.9353 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.6582, allocations: 4 kB / 0.9353 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.61e-05/0.6582, allocations: 12 kB / 0.9353 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.6587, allocations: 275.9 kB / 0.9355 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.659, allocations: 22.58 kB / 0.9356 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.23e-05/0.659, allocations: 8.797 kB / 0.9356 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.219e-05/0.6591, allocations: 27.98 kB / 0.9356 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.6591, allocations: 38.55 kB / 0.9356 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.6591, allocations: 0 / 0.9356 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001186/0.6592, allocations: 37.7 kB / 0.9357 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.6592, allocations: 55.41 kB / 0.9357 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.271e-05/0.6593, allocations: 101.8 kB / 0.9358 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.6593, allocations: 25.7 kB / 0.9359 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.6593, allocations: 88.09 kB / 0.9359 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.25e-06/0.6593, allocations: 0 / 0.9359 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.6594, allocations: 21.67 kB / 0.936 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.296e-05/0.6594, allocations: 318.8 kB / 0.9363 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.059e-05/0.6595, allocations: 4 kB / 0.9363 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.901e-05/0.6595, allocations: 17.66 kB / 0.9363 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.917e-05/0.6595, allocations: 29.83 kB / 0.9363 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.6595, allocations: 0 / 0.9363 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.603e-05/0.6596, allocations: 45.64 kB / 0.9364 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.6596, allocations: 4 kB / 0.9364 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6596, allocations: 3.984 kB / 0.9364 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.6596, allocations: 4 kB / 0.9364 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.743e-05/0.6596, allocations: 4 kB / 0.9364 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.6596, allocations: 0 / 0.9364 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.139e-05/0.6596, allocations: 8 kB / 0.9364 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.6596, allocations: 8 kB / 0.9364 GB, free: 11.61 MB / 0.7136 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 4.996e-05/0.6597, allocations: 109.8 kB / 0.9365 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.6597, allocations: 8 kB / 0.9365 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.6598, allocations: 124.9 kB / 0.9366 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.595e-05/0.6599, allocations: 176.3 kB / 0.9368 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.654e-05/0.6599, allocations: 184.1 kB / 0.937 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.826e-05/0.66, allocations: 188.2 kB / 0.9371 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.6601, allocations: 372.3 kB / 0.9375 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.817e-05/0.6601, allocations: 108.9 kB / 0.9376 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.618e-05/0.6602, allocations: 101 kB / 0.9377 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.195e-05/0.6602, allocations: 192.2 kB / 0.9379 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/0.6603, allocations: 176.3 kB / 0.938 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.595e-05/0.6603, allocations: 176.3 kB / 0.9382 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.682e-05/0.6604, allocations: 192.1 kB / 0.9384 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.6605, allocations: 315.9 kB / 0.9387 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.036e-05/0.6605, allocations: 101 kB / 0.9388 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.018e-05/0.6606, allocations: 184.3 kB / 0.939 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.355e-05/0.6606, allocations: 112.9 kB / 0.9391 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/0.6607, allocations: 180.3 kB / 0.9392 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.6607, allocations: 113.1 kB / 0.9394 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.677e-05/0.6608, allocations: 83.28 kB / 0.9394 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.6608, allocations: 0 / 0.9394 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002381/0.661, allocations: 59.73 kB / 0.9395 GB, free: 8.219 MB / 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 (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.0004736/0.6615, allocations: 0.8779 MB / 0.9403 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.497e-05/0.6616, allocations: 15.92 kB / 0.9404 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.6616, allocations: 8 kB / 0.9404 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.42e-07/0.6616, allocations: 0 / 0.9404 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.6619, allocations: 459.8 kB / 0.9408 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000883/0.6628, allocations: 1.344 MB / 0.9421 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.243e-05/0.6628, allocations: 59.22 kB / 0.9422 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.383e-05/0.6628, allocations: 16.05 kB / 0.9422 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.6629, allocations: 7.438 kB / 0.9422 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.6629, allocations: 0 / 0.9422 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01556/0.6784, allocations: 2.753 MB / 0.9449 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.89/7.569, allocations: 11.31 kB / 0.9449 GB, free: 2.656 MB / 0.7136 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.631363305728883] Failed to read output from testmodel.py, exit status != 0: 7.645250509027392 7.654332739 6.99503538 Calling exit ...