Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001432/0.001432, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.00153/0.00153, allocations: 159.5 kB / 23.01 MB, free: 4.602 MB / 14.72 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 1.438/1.438, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8108/0.8108, allocations: 101.3 MB / 361.1 MB, free: 8.793 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") [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.002406/0.002406, allocations: 72.08 kB / 0.5356 GB, free: 12.75 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2386, allocations: 85.88 MB / 0.6195 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4959/0.7344, allocations: 119 MB / 0.7357 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002071/0.7346, allocations: 53.23 kB / 0.7357 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.7347, allocations: 4 kB / 0.7358 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.7348, allocations: 0 / 0.7358 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.996e-05/0.7349, allocations: 15.92 kB / 0.7358 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.7359, allocations: 255.4 kB / 0.736 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.736, allocations: 35.84 kB / 0.736 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.7361, allocations: 0 / 0.736 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.237e-05/0.7361, allocations: 19.97 kB / 0.7361 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.333e-05/0.7362, allocations: 15.88 kB / 0.7361 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.7362, allocations: 0 / 0.7361 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004747/0.7367, allocations: 175.5 kB / 0.7362 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.078e-05/0.7367, allocations: 11.94 kB / 0.7363 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.7368, allocations: 15.91 kB / 0.7363 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004308/0.7372, allocations: 158.5 kB / 0.7364 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.7372, allocations: 4 kB / 0.7364 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7372, allocations: 0 / 0.7364 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.7372, allocations: 0 / 0.7364 GB, free: 11.66 MB / 0.6075 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.0005193/0.7377, allocations: 294 kB / 0.7367 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.7378, allocations: 8.031 kB / 0.7367 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/0.7378, allocations: 4.938 kB / 0.7367 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.738, allocations: 114.5 kB / 0.7368 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.913e-05/0.7381, allocations: 52.16 kB / 0.7369 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.7381, allocations: 10.94 kB / 0.7369 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.7383, allocations: 63.39 kB / 0.7369 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.7383, allocations: 4 kB / 0.737 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.7383, allocations: 4 kB / 0.737 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/0.7383, allocations: 4 kB / 0.737 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.103e-05/0.7384, allocations: 15.97 kB / 0.737 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006932/0.739, allocations: 264.4 kB / 0.7372 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.491e-05/0.7391, allocations: 26.55 kB / 0.7373 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.79e-05/0.7391, allocations: 4.859 kB / 0.7373 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.963e-05/0.7392, allocations: 28.03 kB / 0.7373 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.7392, allocations: 34.56 kB / 0.7373 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.7392, allocations: 0 / 0.7373 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001593/0.7394, allocations: 45.62 kB / 0.7374 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.7394, allocations: 51.41 kB / 0.7374 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.7395, allocations: 101.9 kB / 0.7375 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.7396, allocations: 29.69 kB / 0.7375 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.7396, allocations: 84.09 kB / 0.7376 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.796e-06/0.7396, allocations: 4 kB / 0.7376 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.7397, allocations: 17.67 kB / 0.7376 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.7398, allocations: 318.8 kB / 0.7379 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/0.7398, allocations: 8.109 kB / 0.7379 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.679e-05/0.7399, allocations: 17.72 kB / 0.738 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.037e-05/0.7399, allocations: 17.72 kB / 0.738 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7399, allocations: 3.938 kB / 0.738 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.02e-05/0.74, allocations: 49.69 kB / 0.738 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.74, allocations: 4 kB / 0.738 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.74, allocations: 0 / 0.738 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.74, allocations: 0 / 0.738 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.125e-05/0.7401, allocations: 19.98 kB / 0.7381 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.7401, allocations: 0 / 0.7381 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.7401, allocations: 3.938 kB / 0.7381 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.7401, allocations: 0 / 0.7381 GB, free: 9.789 MB / 0.6075 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 0.0001081/0.7402, allocations: 123.4 kB / 0.7382 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.7403, allocations: 0 / 0.7382 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.7404, allocations: 117 kB / 0.7383 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001032/0.7405, allocations: 184.2 kB / 0.7385 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.757e-05/0.7406, allocations: 182.2 kB / 0.7386 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.897e-05/0.7407, allocations: 180.3 kB / 0.7388 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.741, allocations: 364.7 kB / 0.7392 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.822e-05/0.741, allocations: 105 kB / 0.7393 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.218e-05/0.7411, allocations: 108.9 kB / 0.7394 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-05/0.7412, allocations: 176.3 kB / 0.7395 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.7413, allocations: 184.3 kB / 0.7397 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.266e-05/0.7414, allocations: 184.2 kB / 0.7399 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.241e-05/0.7415, allocations: 176.3 kB / 0.7401 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.7416, allocations: 315.7 kB / 0.7404 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.7417, allocations: 105 kB / 0.7405 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.523e-05/0.7418, allocations: 184.2 kB / 0.7406 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.742, allocations: 105 kB / 0.7407 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-05/0.742, allocations: 193.1 kB / 0.7409 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.654e-05/0.7421, allocations: 101 kB / 0.741 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.063e-05/0.7421, allocations: 79.28 kB / 0.7411 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.7421, allocations: 0 / 0.7411 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003333/0.7425, allocations: 63.73 kB / 0.7411 GB, free: 6.445 MB / 0.6075 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.0003634/0.7428, allocations: 253.8 kB / 0.7414 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.576e-05/0.7429, allocations: 11.94 kB / 0.7414 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.7429, allocations: 0 / 0.7414 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.664e-06/0.7429, allocations: 7.938 kB / 0.7414 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.7434, allocations: 466.3 kB / 0.7418 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003216/0.7437, allocations: 187.1 kB / 0.742 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.834e-05/0.7438, allocations: 67.45 kB / 0.7421 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.285e-05/0.7438, allocations: 7.938 kB / 0.7421 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/0.7439, allocations: 8.5 kB / 0.7421 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.7439, allocations: 0 / 0.7421 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of Templates: time 0.004291/0.7481, allocations: 1.311 MB / 0.7434 GB, free: 4.109 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.059803597046994] Failed to read output from testmodel.py, exit status != 0: 0.7585067059844732 0.7734072830000001 0.032899104000000005 Calling exit ...