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.0009773/0.0009773, 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.001864/0.001864, allocations: 177.4 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.9245/0.9245, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.85/0.85, allocations: 154.6 MB / 414.9 MB, free: 0.5 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 480 MB, free: 6.883 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.714e-05, allocations: 2.312 kB / 480 MB, free: 6.879 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004939/0.004956, allocations: 4.872 MB / 484.9 MB, free: 2.051 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.007012, allocations: 2.85 MB / 487.7 MB, free: 15.21 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.333e-05/0.007106, allocations: 5 kB / 487.8 MB, free: 15.2 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.007356, allocations: 43.69 kB / 487.8 MB, free: 15.16 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.007598, allocations: 105.4 kB / 487.9 MB, free: 15.06 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.008713, allocations: 0.5748 MB / 488.5 MB, free: 14.49 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.008963, allocations: 247.8 kB / 488.7 MB, free: 14.24 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.624e-05/0.009009, allocations: 11.22 kB / 488.7 MB, free: 14.23 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.00921, allocations: 168 kB / 488.9 MB, free: 14.07 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.009326, allocations: 72.45 kB / 489 MB, free: 14 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.009347, allocations: 8 kB / 489 MB, free: 13.99 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005024/0.009849, allocations: 331.9 kB / 489.3 MB, free: 13.66 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.409e-05/0.009923, allocations: 43.81 kB / 489.3 MB, free: 13.62 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 7.563e-05/0.009999, allocations: 60.84 kB / 489.4 MB, free: 13.56 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000467/0.01047, allocations: 362.8 kB / 489.7 MB, free: 13.21 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.01047, allocations: 1.219 kB / 489.7 MB, free: 13.21 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01047, allocations: 0 / 489.7 MB, free: 13.21 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.01047, allocations: 0 / 489.7 MB, free: 13.21 MB / 458.7 MB 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.0007881/0.01126, allocations: 424.5 kB / 490.2 MB, free: 12.77 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.01129, allocations: 9.031 kB / 490.2 MB, free: 12.76 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.01141, allocations: 44.78 kB / 490.2 MB, free: 12.71 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.01157, allocations: 155.3 kB / 490.4 MB, free: 12.54 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.01159, allocations: 12.7 kB / 490.4 MB, free: 12.53 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.01161, allocations: 20.38 kB / 490.4 MB, free: 12.51 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.01185, allocations: 410.7 kB / 490.8 MB, free: 12.03 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.01186, allocations: 192 / 490.8 MB, free: 12.03 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.01188, allocations: 14.47 kB / 490.8 MB, free: 12.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.073e-05/0.01191, allocations: 7.938 kB / 490.8 MB, free: 12.01 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/0.01212, allocations: 243 kB / 491.1 MB, free: 11.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006338/0.01275, allocations: 0.6833 MB / 491.7 MB, free: 11.06 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.01292, allocations: 164.9 kB / 491.9 MB, free: 10.89 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/0.01296, allocations: 32.84 kB / 491.9 MB, free: 10.86 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004627/0.01342, allocations: 471.9 kB / 492.4 MB, free: 10.38 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.01345, allocations: 38.5 kB / 492.4 MB, free: 10.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.01345, allocations: 4 kB / 492.4 MB, free: 10.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001582/0.01361, allocations: 130.3 kB / 492.6 MB, free: 10.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.01364, allocations: 59.34 kB / 492.6 MB, free: 10.13 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.285e-05/0.01372, allocations: 156.3 kB / 492.8 MB, free: 9.965 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.01373, allocations: 29.7 kB / 492.8 MB, free: 9.93 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.0138, allocations: 152 kB / 493 MB, free: 9.777 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.01382, allocations: 55.52 kB / 493 MB, free: 9.723 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.01387, allocations: 53.64 kB / 493.1 MB, free: 9.664 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.901e-05/0.01395, allocations: 335.7 kB / 493.4 MB, free: 9.328 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.49e-05/0.01397, allocations: 18.83 kB / 493.4 MB, free: 9.309 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.018e-05/0.01404, allocations: 124.6 kB / 493.5 MB, free: 9.141 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.01417, allocations: 187.6 kB / 493.7 MB, free: 8.914 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.01417, allocations: 0 / 493.7 MB, free: 8.914 MB / 458.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001527/0.01432, allocations: 161.2 kB / 493.9 MB, free: 8.754 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.01434, allocations: 10.75 kB / 493.9 MB, free: 8.746 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.01434, allocations: 4 kB / 493.9 MB, free: 8.742 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.01436, allocations: 4 kB / 493.9 MB, free: 8.738 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.01447, allocations: 61.34 kB / 493.9 MB, free: 8.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.01448, allocations: 7.938 kB / 494 MB, free: 8.672 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.995e-05/0.01454, allocations: 27.78 kB / 494 MB, free: 8.645 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.01455, allocations: 13.09 kB / 494 MB, free: 8.633 MB / 458.7 MB 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 7.074e-05/0.01462, allocations: 136.5 kB / 494.1 MB, free: 8.488 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.01464, allocations: 16.7 kB / 494.1 MB, free: 8.473 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.0148, allocations: 106.4 kB / 494.2 MB, free: 8.363 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.01481, allocations: 4.844 kB / 494.3 MB, free: 8.359 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01481, allocations: 0 / 494.3 MB, free: 8.359 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.01482, allocations: 4.625 kB / 494.3 MB, free: 8.355 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.01494, allocations: 105.8 kB / 494.4 MB, free: 8.234 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.01494, allocations: 9.078 kB / 494.4 MB, free: 8.227 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.228e-05/0.015, allocations: 35.92 kB / 494.4 MB, free: 8.191 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01501, allocations: 0 / 494.4 MB, free: 8.191 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.01501, allocations: 0.7188 kB / 494.4 MB, free: 8.191 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01501, allocations: 0 / 494.4 MB, free: 8.191 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01502, allocations: 1.844 kB / 494.4 MB, free: 8.191 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.01513, allocations: 230.1 kB / 494.6 MB, free: 7.949 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.01518, allocations: 31.8 kB / 494.7 MB, free: 7.918 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.01519, allocations: 7.938 kB / 494.7 MB, free: 7.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.066e-05/0.01527, allocations: 10.66 kB / 494.7 MB, free: 7.902 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.01529, allocations: 11.98 kB / 494.7 MB, free: 7.891 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.0153, allocations: 7.984 kB / 494.7 MB, free: 7.883 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.613e-05/0.01533, allocations: 32.28 kB / 494.7 MB, free: 7.852 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01533, allocations: 4 kB / 494.7 MB, free: 7.848 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002381/0.01556, allocations: 79.81 kB / 494.8 MB, free: 7.77 MB / 458.7 MB 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.0002334/0.0158, allocations: 171.2 kB / 495 MB, free: 7.602 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001227/0.01592, allocations: 100.2 kB / 495.1 MB, free: 7.504 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.01593, allocations: 0 / 495.1 MB, free: 7.504 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.045e-05/0.01596, allocations: 42.17 kB / 495.1 MB, free: 7.461 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.01615, allocations: 41.84 kB / 495.2 MB, free: 7.422 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006472/0.0168, allocations: 335.7 kB / 495.5 MB, free: 7.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.114e-05/0.01684, allocations: 68.72 kB / 495.6 MB, free: 6.984 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.709e-05/0.01694, allocations: 45.42 kB / 495.6 MB, free: 6.949 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.01709, allocations: 121.2 kB / 495.7 MB, free: 6.828 MB / 458.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01709, allocations: 1.031 kB / 495.7 MB, free: 6.828 MB / 458.7 MB Notification: Performance of Templates: time 0.005391/0.02248, allocations: 3.413 MB / 499.1 MB, free: 3.734 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.708935688249767]