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.0009922/0.0009922, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009756/0.0009756, allocations: 177 kB / 23.36 MB, free: 1.129 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.9759/0.9759, allocations: 177.1 MB / 203.8 MB, free: 5.473 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-535:34: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-535:42: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.7891/0.7891, allocations: 154.9 MB / 415.1 MB, free: 240 kB / 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: translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.011e-06/1.011e-06, allocations: 0 / 480.4 MB, free: 6.535 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.254e-05/1.355e-05, allocations: 2.312 kB / 480.4 MB, free: 6.531 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1203/0.1203, allocations: 130.6 MB / 0.5967 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001607/0.1205, allocations: 47.81 kB / 0.5967 GB, free: 3.773 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.123e-05/0.1205, allocations: 0 / 0.5967 GB, free: 3.773 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.1206, allocations: 15.86 kB / 0.5968 GB, free: 3.758 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.967e-05/0.1207, allocations: 7.922 kB / 0.5968 GB, free: 3.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000771/0.1215, allocations: 270.7 kB / 0.597 GB, free: 3.484 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 9.589e-05/0.1216, allocations: 35.84 kB / 0.5971 GB, free: 3.449 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.1216, allocations: 0 / 0.5971 GB, free: 3.449 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.619e-05/0.1217, allocations: 23.92 kB / 0.5971 GB, free: 3.426 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.228e-05/0.1218, allocations: 15.97 kB / 0.5971 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.1218, allocations: 0 / 0.5971 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003757/0.1222, allocations: 183.4 kB / 0.5973 GB, free: 3.23 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.087e-05/0.1222, allocations: 8 kB / 0.5973 GB, free: 3.223 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.881e-05/0.1222, allocations: 8 kB / 0.5973 GB, free: 3.215 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.1225, allocations: 175.5 kB / 0.5975 GB, free: 3.043 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1225, allocations: 4 kB / 0.5975 GB, free: 3.039 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.774e-06/0.1225, allocations: 0 / 0.5975 GB, free: 3.039 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1225, allocations: 3.938 kB / 0.5975 GB, free: 3.035 MB / 0.5573 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.0003485/0.1229, allocations: 263.5 kB / 0.5977 GB, free: 2.758 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1229, allocations: 8.031 kB / 0.5977 GB, free: 2.75 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.123, allocations: 4.938 kB / 0.5977 GB, free: 2.746 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.595e-05/0.1231, allocations: 105.7 kB / 0.5978 GB, free: 2.617 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.575e-05/0.1231, allocations: 63.91 kB / 0.5979 GB, free: 2.543 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.1231, allocations: 4.375 kB / 0.5979 GB, free: 2.539 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.1232, allocations: 79.23 kB / 0.598 GB, free: 2.445 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.1232, allocations: 0 / 0.598 GB, free: 2.445 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1232, allocations: 7.984 kB / 0.598 GB, free: 2.438 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.1233, allocations: 0 / 0.598 GB, free: 2.438 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.265e-05/0.1233, allocations: 12 kB / 0.598 GB, free: 2.426 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.1237, allocations: 214.2 kB / 0.5982 GB, free: 2.199 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.208e-05/0.1237, allocations: 26.5 kB / 0.5982 GB, free: 2.164 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.436e-06/0.1237, allocations: 4.859 kB / 0.5982 GB, free: 2.156 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.6e-05/0.1238, allocations: 36.02 kB / 0.5983 GB, free: 2.121 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.1238, allocations: 30.56 kB / 0.5983 GB, free: 2.082 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.1238, allocations: 0 / 0.5983 GB, free: 2.082 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 9.544e-05/0.1239, allocations: 33.64 kB / 0.5983 GB, free: 2.043 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.1239, allocations: 55.41 kB / 0.5984 GB, free: 1.977 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.059e-05/0.124, allocations: 110.7 kB / 0.5985 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.124, allocations: 25.7 kB / 0.5985 GB, free: 1.824 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.124, allocations: 88.09 kB / 0.5986 GB, free: 1.734 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.927e-06/0.124, allocations: 8.062 kB / 0.5986 GB, free: 1.727 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.1241, allocations: 21.69 kB / 0.5986 GB, free: 1.699 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.931e-05/0.1241, allocations: 310.8 kB / 0.5989 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.364e-06/0.1241, allocations: 7.938 kB / 0.5989 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.328e-05/0.1241, allocations: 9.719 kB / 0.5989 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.639e-05/0.1242, allocations: 24.53 kB / 0.599 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1242, allocations: 0 / 0.599 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.719e-05/0.1242, allocations: 45.58 kB / 0.599 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1242, allocations: 16.05 kB / 0.599 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1242, allocations: 0 / 0.599 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.1242, allocations: 0 / 0.599 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.242e-05/0.1243, allocations: 4 kB / 0.599 GB, free: 1.262 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1243, allocations: 7.938 kB / 0.599 GB, free: 1.254 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.214e-05/0.1243, allocations: 0 / 0.599 GB, free: 1.254 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.1243, allocations: 0 / 0.599 GB, free: 1.254 MB / 0.5573 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.838e-05/0.1244, allocations: 112.7 kB / 0.5991 GB, free: 1.133 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.1244, allocations: 3.938 kB / 0.5991 GB, free: 1.129 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.763e-05/0.1245, allocations: 128.2 kB / 0.5993 GB, free: 0.9961 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.144e-05/0.1245, allocations: 184.2 kB / 0.5994 GB, free: 0.8086 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.22e-05/0.1245, allocations: 184.2 kB / 0.5996 GB, free: 0.6211 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.774e-05/0.1246, allocations: 180.2 kB / 0.5998 GB, free: 448 kB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.1247, allocations: 317.4 kB / 0.6001 GB, free: 104 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.729e-05/0.1247, allocations: 101 kB / 0.6002 GB, free: 16 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.703e-05/0.1248, allocations: 109 kB / 0.6003 GB, free: 15.88 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.523e-05/0.1248, allocations: 188.3 kB / 0.6005 GB, free: 15.69 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/0.1249, allocations: 180.2 kB / 0.6006 GB, free: 15.51 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.281e-05/0.1249, allocations: 188.2 kB / 0.6008 GB, free: 15.32 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.286e-05/0.1249, allocations: 180.3 kB / 0.601 GB, free: 15.13 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.125, allocations: 307.8 kB / 0.6013 GB, free: 14.81 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.1251, allocations: 105 kB / 0.6014 GB, free: 14.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.133e-05/0.1251, allocations: 184.1 kB / 0.6016 GB, free: 14.51 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.168e-05/0.1252, allocations: 113 kB / 0.6017 GB, free: 14.39 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.1253, allocations: 180.2 kB / 0.6018 GB, free: 14.21 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.1253, allocations: 105 kB / 0.6019 GB, free: 14.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 1.827e-05/0.1253, allocations: 12.84 kB / 0.6019 GB, free: 14.09 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1253, allocations: 0 / 0.6019 GB, free: 14.09 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.000212/0.1255, allocations: 59.73 kB / 0.602 GB, free: 14.03 MB / 0.573 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.0002602/0.1258, allocations: 235.3 kB / 0.6022 GB, free: 13.79 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 5.427e-05/0.1258, allocations: 12.8 kB / 0.6022 GB, free: 13.77 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.1258, allocations: 0 / 0.6022 GB, free: 13.77 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.1258, allocations: 4 kB / 0.6022 GB, free: 13.77 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.1261, allocations: 466.5 kB / 0.6027 GB, free: 13.31 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.1265, allocations: 197 kB / 0.6029 GB, free: 13.09 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.498e-05/0.1265, allocations: 55.36 kB / 0.6029 GB, free: 13.02 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.73e-05/0.1265, allocations: 8.266 kB / 0.6029 GB, free: 13.01 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.1266, allocations: 59.36 kB / 0.603 GB, free: 12.95 MB / 0.573 GB Notification: Performance of SimCode: time 1.102e-06/0.1266, allocations: 0 / 0.603 GB, free: 12.95 MB / 0.573 GB Notification: Performance of Templates: time 0.00294/0.1295, allocations: 1.426 MB / 0.6044 GB, free: 11.53 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.731678046286106]