Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterProperties.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.00168/0.00168, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.001629/0.001629, allocations: 158.9 kB / 23.01 MB, free: 4.949 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.453/1.453, allocations: 177.2 MB / 203.4 MB, free: 8.941 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.8253/0.8253, allocations: 101.3 MB / 361.1 MB, free: 9.504 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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") [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.002248/0.002248, allocations: 67.64 kB / 0.5357 GB, free: 5.188 MB / 446.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.1784/0.1807, allocations: 85.88 MB / 0.6195 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.008574/0.1893, allocations: 4.516 MB / 0.6239 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003477/0.1927, allocations: 2.465 MB / 0.6263 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.1929, allocations: 0 / 0.6263 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.1932, allocations: 47.67 kB / 0.6264 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.1935, allocations: 91.44 kB / 0.6265 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.1949, allocations: 0.5238 MB / 0.627 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.1952, allocations: 228 kB / 0.6272 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.84e-05/0.1953, allocations: 5.812 kB / 0.6272 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.1955, allocations: 131.5 kB / 0.6273 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.1957, allocations: 87.59 kB / 0.6274 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.1957, allocations: 8 kB / 0.6274 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006793/0.1964, allocations: 307.4 kB / 0.6277 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.177e-05/0.1965, allocations: 39.83 kB / 0.6278 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.1966, allocations: 75.7 kB / 0.6278 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006447/0.1972, allocations: 354.9 kB / 0.6282 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1972, allocations: 0 / 0.6282 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1972, allocations: 0 / 0.6282 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.1972, allocations: 0 / 0.6282 GB, free: 8.617 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008519/0.1981, allocations: 457.4 kB / 0.6286 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1981, allocations: 8.031 kB / 0.6286 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.1983, allocations: 20.84 kB / 0.6286 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.1986, allocations: 150.4 kB / 0.6288 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.1986, allocations: 16.64 kB / 0.6288 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.1986, allocations: 16.38 kB / 0.6288 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005692/0.1992, allocations: 480.3 kB / 0.6293 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1992, allocations: 0 / 0.6293 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.1993, allocations: 15.98 kB / 0.6293 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/0.1993, allocations: 15.92 kB / 0.6293 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005757/0.1999, allocations: 420.1 kB / 0.6297 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.2011, allocations: 0.774 MB / 0.6305 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/0.2014, allocations: 156 kB / 0.6306 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.2015, allocations: 52.88 kB / 0.6307 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000801/0.2023, allocations: 463.8 kB / 0.6311 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.2024, allocations: 38.55 kB / 0.6311 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.2024, allocations: 0 / 0.6311 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0003603/0.2027, allocations: 140.1 kB / 0.6313 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.2028, allocations: 51.41 kB / 0.6313 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.2029, allocations: 170.3 kB / 0.6315 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.203, allocations: 29.7 kB / 0.6315 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.2031, allocations: 144.1 kB / 0.6316 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.843e-05/0.2031, allocations: 55.52 kB / 0.6317 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.641e-05/0.2032, allocations: 57.59 kB / 0.6318 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2034, allocations: 326.8 kB / 0.6321 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.631e-05/0.2034, allocations: 43.91 kB / 0.6321 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.2036, allocations: 133.7 kB / 0.6322 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.2039, allocations: 193.5 kB / 0.6324 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.2039, allocations: 7.938 kB / 0.6324 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003637/0.2043, allocations: 212.1 kB / 0.6326 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2043, allocations: 8 kB / 0.6326 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2043, allocations: 4 kB / 0.6326 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.2043, allocations: 4 kB / 0.6326 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.2045, allocations: 59.91 kB / 0.6327 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.2045, allocations: 11.94 kB / 0.6327 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.2046, allocations: 27.78 kB / 0.6327 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.2047, allocations: 8 kB / 0.6327 GB, free: 3.566 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001314/0.2048, allocations: 145.9 kB / 0.6329 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.179e-05/0.2048, allocations: 23.88 kB / 0.6329 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.2052, allocations: 142.3 kB / 0.633 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.2052, allocations: 4 kB / 0.633 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.2052, allocations: 3.938 kB / 0.6331 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2052, allocations: 0 / 0.6331 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.2054, allocations: 153.2 kB / 0.6332 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.2054, allocations: 0 / 0.6332 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.2055, allocations: 31.92 kB / 0.6332 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2055, allocations: 0 / 0.6332 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.2055, allocations: 12 kB / 0.6332 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.2056, allocations: 7.969 kB / 0.6332 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2056, allocations: 0 / 0.6332 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.2058, allocations: 215.4 kB / 0.6335 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.369e-05/0.2059, allocations: 35.8 kB / 0.6335 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.2059, allocations: 0 / 0.6335 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.2061, allocations: 19.98 kB / 0.6335 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.2062, allocations: 7.984 kB / 0.6335 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.2062, allocations: 19.92 kB / 0.6335 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.706e-05/0.2063, allocations: 114.6 kB / 0.6336 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2063, allocations: 4 kB / 0.6336 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004065/0.2067, allocations: 83.77 kB / 0.6337 GB, free: 2.504 MB / 0.5294 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003351/0.207, allocations: 182.9 kB / 0.6339 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002696/0.2073, allocations: 114.3 kB / 0.634 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.2073, allocations: 4 kB / 0.634 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.525e-05/0.2074, allocations: 43.91 kB / 0.6341 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.2078, allocations: 27.98 kB / 0.6341 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007718/0.2085, allocations: 348.6 kB / 0.6344 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.2086, allocations: 102.9 kB / 0.6345 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001531/0.2088, allocations: 49.42 kB / 0.6346 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.2088, allocations: 24.5 kB / 0.6346 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/0.2088, allocations: 0 / 0.6346 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of Templates: time 0.007558/0.2164, allocations: 3.119 MB / 0.6376 GB, free: 14.53 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5255458320025355] Failed to read output from testmodel.py, exit status != 0: 0.2244399080518633 0.23992787200000001 0.039299516 Calling exit ...