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.001021/0.001021, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001125/0.001125, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9452/0.9452, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.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.7637/0.7637, allocations: 154.5 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.137e-05, allocations: 2.281 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4258/0.4258, allocations: 119 MB / 0.7342 GB, free: 27.13 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001956/0.426, allocations: 52.83 kB / 0.7343 GB, free: 27.1 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.998e-05/0.426, allocations: 1.219 kB / 0.7343 GB, free: 27.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.4262, allocations: 4 kB / 0.7343 GB, free: 27.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.52e-05/0.4263, allocations: 17.42 kB / 0.7343 GB, free: 27.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007408/0.427, allocations: 252.3 kB / 0.7345 GB, free: 26.97 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.94e-05/0.4271, allocations: 36.83 kB / 0.7346 GB, free: 26.96 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.575e-05/0.4271, allocations: 4.516 kB / 0.7346 GB, free: 26.96 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.918e-05/0.4272, allocations: 17.44 kB / 0.7346 GB, free: 26.95 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.266e-05/0.4273, allocations: 22.06 kB / 0.7346 GB, free: 26.94 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.4273, allocations: 1.188 kB / 0.7346 GB, free: 26.94 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003068/0.4276, allocations: 172.8 kB / 0.7348 GB, free: 26.88 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.705e-05/0.4276, allocations: 5.969 kB / 0.7348 GB, free: 26.88 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.4277, allocations: 9.438 kB / 0.7348 GB, free: 26.88 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.4279, allocations: 183.7 kB / 0.735 GB, free: 26.83 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.4279, allocations: 0 / 0.735 GB, free: 26.83 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.562e-06/0.4279, allocations: 1.312 kB / 0.735 GB, free: 26.83 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.4279, allocations: 0 / 0.735 GB, free: 26.83 MB / 0.6355 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.0003373/0.4283, allocations: 280.9 kB / 0.7353 GB, free: 26.55 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.4283, allocations: 15.25 kB / 0.7353 GB, free: 26.55 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.567e-05/0.4283, allocations: 31.94 kB / 0.7353 GB, free: 26.51 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.4284, allocations: 2.031 kB / 0.7353 GB, free: 26.51 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.193e-05/0.4284, allocations: 107.8 kB / 0.7354 GB, free: 26.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.454e-05/0.4285, allocations: 53.25 kB / 0.7355 GB, free: 26.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.4285, allocations: 5.281 kB / 0.7355 GB, free: 26.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.4286, allocations: 79.52 kB / 0.7355 GB, free: 26.24 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.4286, allocations: 0 / 0.7355 GB, free: 26.24 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.4286, allocations: 4.688 kB / 0.7355 GB, free: 26.24 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.4286, allocations: 1.156 kB / 0.7355 GB, free: 26.24 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.944e-05/0.4287, allocations: 24.23 kB / 0.7356 GB, free: 26.23 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005485/0.4292, allocations: 279.1 kB / 0.7358 GB, free: 25.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.891e-05/0.4293, allocations: 20.47 kB / 0.7358 GB, free: 25.96 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.308e-05/0.4293, allocations: 10.08 kB / 0.7359 GB, free: 25.95 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.698e-05/0.4293, allocations: 23.7 kB / 0.7359 GB, free: 25.94 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.4293, allocations: 35.05 kB / 0.7359 GB, free: 25.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.4293, allocations: 0 / 0.7359 GB, free: 25.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001351/0.4295, allocations: 39.86 kB / 0.736 GB, free: 25.86 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.4295, allocations: 56.94 kB / 0.736 GB, free: 25.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.337e-05/0.4296, allocations: 99.61 kB / 0.7361 GB, free: 25.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.4296, allocations: 25.7 kB / 0.7361 GB, free: 25.67 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.4296, allocations: 90.78 kB / 0.7362 GB, free: 25.58 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.495e-06/0.4296, allocations: 5.328 kB / 0.7362 GB, free: 25.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.4297, allocations: 17.11 kB / 0.7362 GB, free: 25.56 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.191e-05/0.4297, allocations: 320 kB / 0.7365 GB, free: 25.24 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/0.4297, allocations: 2.625 kB / 0.7365 GB, free: 25.24 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.033e-05/0.4297, allocations: 16.97 kB / 0.7366 GB, free: 25.22 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.068e-05/0.4298, allocations: 28.44 kB / 0.7366 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4298, allocations: 0 / 0.7366 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.454e-05/0.4298, allocations: 50.14 kB / 0.7366 GB, free: 25.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.4298, allocations: 5.531 kB / 0.7366 GB, free: 25.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4298, allocations: 1.281 kB / 0.7366 GB, free: 25.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4299, allocations: 0 / 0.7366 GB, free: 25.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.054e-05/0.4299, allocations: 8.812 kB / 0.7366 GB, free: 25.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.4299, allocations: 0 / 0.7366 GB, free: 25.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.205e-05/0.4299, allocations: 1.312 kB / 0.7366 GB, free: 25.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.4299, allocations: 2.438 kB / 0.7367 GB, free: 25.16 MB / 0.6355 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.618e-05/0.43, allocations: 117.7 kB / 0.7368 GB, free: 25.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.43, allocations: 0 / 0.7368 GB, free: 25.04 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.4301, allocations: 138 kB / 0.7369 GB, free: 24.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/0.4301, allocations: 177.5 kB / 0.7371 GB, free: 24.72 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.936e-05/0.4302, allocations: 178.4 kB / 0.7372 GB, free: 24.54 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.016e-05/0.4302, allocations: 184.9 kB / 0.7374 GB, free: 24.36 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.746e-05/0.4303, allocations: 380.4 kB / 0.7378 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.4303, allocations: 108.2 kB / 0.7379 GB, free: 23.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.144e-05/0.4303, allocations: 110.1 kB / 0.738 GB, free: 23.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.554e-05/0.4303, allocations: 181.6 kB / 0.7382 GB, free: 23.54 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.4303, allocations: 185.2 kB / 0.7383 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.761e-05/0.4304, allocations: 181.8 kB / 0.7385 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.89e-05/0.4304, allocations: 181.3 kB / 0.7387 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.13e-05/0.4304, allocations: 301.1 kB / 0.739 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.4305, allocations: 114.5 kB / 0.7391 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.4305, allocations: 178.4 kB / 0.7392 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.252e-05/0.4306, allocations: 110.8 kB / 0.7393 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.4306, allocations: 178.1 kB / 0.7395 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.4306, allocations: 102.4 kB / 0.7396 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.259e-05/0.4307, allocations: 88.5 kB / 0.7397 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4307, allocations: 3.938 kB / 0.7397 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002567/0.4309, allocations: 51.91 kB / 0.7398 GB, free: 21.89 MB / 0.6355 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.0004265/0.4313, allocations: 0.8841 MB / 0.7406 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.771e-05/0.4314, allocations: 22.42 kB / 0.7406 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4314, allocations: 0 / 0.7406 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.295e-06/0.4314, allocations: 1.375 kB / 0.7406 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.4317, allocations: 459.4 kB / 0.7411 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007065/0.4324, allocations: 1.352 MB / 0.7424 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.002e-05/0.4324, allocations: 58.42 kB / 0.7425 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.007e-05/0.4325, allocations: 12.75 kB / 0.7425 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.4325, allocations: 10.69 kB / 0.7425 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of SimCode: time 9.21e-07/0.4325, allocations: 0 / 0.7425 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.4531, allocations: 2.914 MB / 0.7453 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.089/7.542, allocations: 5.234 kB / 0.7453 GB, free: 18.16 MB / 0.6355 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.486326603218913] Failed to read output from testmodel.py, exit status != 0: 7.625362063758075 7.635438368 7.205529613 Calling exit ...