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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002134/0.002134, allocations: 191.4 kB / 22.23 MB, free: 5.156 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.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.921/0.921, allocations: 134 MB / 440.3 MB, free: 180 kB / 334.1 MB
"
[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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002011/0.002011, allocations: 71.61 kB / 0.6108 GB, free: 13.61 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1848, allocations: 84.73 MB / 0.6935 GB, free: 8.953 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.007242/0.1921, allocations: 4.779 MB / 0.6982 GB, free: 4.145 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.003491/0.1956, allocations: 2.722 MB / 0.7008 GB, free: 1.414 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.1957, allocations: 0 / 0.7008 GB, free: 1.414 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 0.00034/0.196, allocations: 47.67 kB / 0.7009 GB, free: 1.367 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003492/0.1964, allocations: 99.34 kB / 0.701 GB, free: 1.27 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.1979, allocations: 0.5248 MB / 0.7015 GB, free: 0.75 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 0.0003658/0.1983, allocations: 228 kB / 0.7017 GB, free: 0.5234 MB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.883e-05/0.1984, allocations: 9.734 kB / 0.7017 GB, free: 0.5078 MB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.1986, allocations: 123.5 kB / 0.7018 GB, free: 396 kB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.1988, allocations: 95.59 kB / 0.7019 GB, free: 300 kB / 0.5137 GB
Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.1989, allocations: 8 kB / 0.7019 GB, free: 292 kB / 0.5137 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0009273/0.1998, allocations: 379.4 kB / 0.7023 GB, free: 15.91 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 9.054e-05/0.1999, allocations: 39.83 kB / 0.7023 GB, free: 15.87 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.2001, allocations: 83.64 kB / 0.7024 GB, free: 15.79 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.0008647/0.2009, allocations: 366.6 kB / 0.7028 GB, free: 15.43 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2009, allocations: 3.938 kB / 0.7028 GB, free: 15.43 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 2.114e-06/0.2009, allocations: 0 / 0.7028 GB, free: 15.43 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 9.648e-06/0.2009, allocations: 0 / 0.7028 GB, free: 15.43 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.00087/0.2018, allocations: 437.5 kB / 0.7032 GB, free: 14.97 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.2018, allocations: 8.031 kB / 0.7032 GB, free: 14.96 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.202, allocations: 32.77 kB / 0.7032 GB, free: 14.93 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.2023, allocations: 158.2 kB / 0.7034 GB, free: 14.75 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.2024, allocations: 16.7 kB / 0.7034 GB, free: 14.73 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.2024, allocations: 12.38 kB / 0.7034 GB, free: 14.72 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004375/0.2028, allocations: 252.3 kB / 0.7036 GB, free: 14.46 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.2028, allocations: 3.938 kB / 0.7036 GB, free: 14.45 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.2029, allocations: 8 kB / 0.7036 GB, free: 14.45 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.2029, allocations: 4 kB / 0.7036 GB, free: 14.44 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005762/0.2035, allocations: 447.5 kB / 0.7041 GB, free: 14 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.2048, allocations: 0.9206 MB / 0.705 GB, free: 13 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.2051, allocations: 150.2 kB / 0.7051 GB, free: 12.85 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.2053, allocations: 56.81 kB / 0.7052 GB, free: 12.79 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0008274/0.2061, allocations: 471.8 kB / 0.7056 GB, free: 12.31 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.2061, allocations: 42.56 kB / 0.7057 GB, free: 12.26 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.2061, allocations: 0 / 0.7057 GB, free: 12.26 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=15): time 0.0003647/0.2065, allocations: 141.5 kB / 0.7058 GB, free: 12.11 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.2066, allocations: 63.28 kB / 0.7059 GB, free: 12.04 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.2067, allocations: 167.3 kB / 0.706 GB, free: 11.86 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.2068, allocations: 33.7 kB / 0.706 GB, free: 11.82 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.2069, allocations: 144 kB / 0.7062 GB, free: 11.68 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 5.634e-05/0.2069, allocations: 55.52 kB / 0.7062 GB, free: 11.62 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.37e-05/0.207, allocations: 57.66 kB / 0.7063 GB, free: 11.56 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001567/0.2072, allocations: 330.8 kB / 0.7066 GB, free: 11.23 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.671e-05/0.2072, allocations: 31.98 kB / 0.7066 GB, free: 11.2 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.2074, allocations: 137.7 kB / 0.7068 GB, free: 11.02 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.2077, allocations: 200.7 kB / 0.707 GB, free: 10.77 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2077, allocations: 0 / 0.707 GB, free: 10.77 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003755/0.2081, allocations: 213.6 kB / 0.7072 GB, free: 10.56 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.2081, allocations: 8.031 kB / 0.7072 GB, free: 10.55 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.2081, allocations: 4 kB / 0.7072 GB, free: 10.55 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.2081, allocations: 8 kB / 0.7072 GB, free: 10.54 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.2083, allocations: 59.84 kB / 0.7072 GB, free: 10.48 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.159e-05/0.2083, allocations: 7.938 kB / 0.7073 GB, free: 10.47 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.2084, allocations: 27.78 kB / 0.7073 GB, free: 10.45 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.2085, allocations: 16 kB / 0.7073 GB, free: 10.43 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.0001275/0.2086, allocations: 133.7 kB / 0.7074 GB, free: 10.29 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.2086, allocations: 15.91 kB / 0.7074 GB, free: 10.27 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/0.209, allocations: 155 kB / 0.7076 GB, free: 10.12 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.209, allocations: 3.938 kB / 0.7076 GB, free: 10.12 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.209, allocations: 4 kB / 0.7076 GB, free: 10.11 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.209, allocations: 0 / 0.7076 GB, free: 10.11 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.2093, allocations: 192.6 kB / 0.7078 GB, free: 9.883 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2093, allocations: 3.938 kB / 0.7078 GB, free: 9.879 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.912e-05/0.2094, allocations: 27.92 kB / 0.7078 GB, free: 9.852 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2094, allocations: 0 / 0.7078 GB, free: 9.852 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.2094, allocations: 4 kB / 0.7078 GB, free: 9.848 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.2094, allocations: 7.938 kB / 0.7078 GB, free: 9.84 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2094, allocations: 4 kB / 0.7078 GB, free: 9.836 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.2097, allocations: 218 kB / 0.708 GB, free: 9.609 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/0.2098, allocations: 31.81 kB / 0.7081 GB, free: 9.578 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.2098, allocations: 7.938 kB / 0.7081 GB, free: 9.57 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.21, allocations: 19.92 kB / 0.7081 GB, free: 9.551 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.2101, allocations: 7.984 kB / 0.7081 GB, free: 9.543 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.2101, allocations: 11.98 kB / 0.7081 GB, free: 9.531 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 9.775e-05/0.2102, allocations: 124.9 kB / 0.7082 GB, free: 9.41 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 7e-08/0.2102, allocations: 0 / 0.7082 GB, free: 9.41 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0004051/0.2106, allocations: 75.88 kB / 0.7083 GB, free: 9.336 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.0003417/0.2109, allocations: 171 kB / 0.7085 GB, free: 9.156 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.0002706/0.2112, allocations: 123.7 kB / 0.7086 GB, free: 9.035 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2112, allocations: 0 / 0.7086 GB, free: 9.035 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 7.408e-05/0.2113, allocations: 43.91 kB / 0.7086 GB, free: 8.992 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.2117, allocations: 52.84 kB / 0.7087 GB, free: 8.941 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007563/0.2125, allocations: 342.6 kB / 0.709 GB, free: 8.586 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.2129, allocations: 0.7128 MB / 0.7097 GB, free: 7.848 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 0.0001629/0.213, allocations: 45.91 kB / 0.7097 GB, free: 7.801 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.2131, allocations: 23.44 kB / 0.7098 GB, free: 7.777 MB / 0.5294 GB
Notification: Performance of SimCode: time 3.21e-07/0.2131, allocations: 0 / 0.7098 GB, free: 7.777 MB / 0.5294 GB
Notification: Performance of Templates: time 0.00848/0.2216, allocations: 3.567 MB / 0.7132 GB, free: 4.25 MB / 0.5294 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 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.000794822350144]
Failed to read output from testmodel.py, exit status != 0:
0.22921807132661343 0.24566388799999994 0.041494322
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f85e96c17b0>