Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.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.001321/0.001321, allocations: 110.2 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.001416/0.001416, allocations: 192.4 kB / 22.23 MB, free: 5.16 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.525/1.525, allocations: 225.6 MB / 251 MB, free: 13.01 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.8899/0.8899, allocations: 134 MB / 440.3 MB, free: 0.6719 MB / 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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck")
translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 71.97 kB / 0.6107 GB, free: 13.71 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2037, allocations: 84.73 MB / 0.6934 GB, free: 9.059 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002528/0.2062, allocations: 1.269 MB / 0.6947 GB, free: 7.777 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.004305/0.2105, allocations: 3.299 MB / 0.6979 GB, free: 4.461 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.956e-05/0.2106, allocations: 0 / 0.6979 GB, free: 4.461 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.2106, allocations: 7.922 kB / 0.6979 GB, free: 4.453 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 5.268e-05/0.2107, allocations: 4 kB / 0.6979 GB, free: 4.449 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.2112, allocations: 115.5 kB / 0.698 GB, free: 4.336 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 8.58e-05/0.2113, allocations: 35.91 kB / 0.6981 GB, free: 4.301 MB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.2113, allocations: 3.938 kB / 0.6981 GB, free: 4.297 MB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.733e-05/0.2114, allocations: 19.92 kB / 0.6981 GB, free: 4.277 MB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.235e-05/0.2115, allocations: 19.97 kB / 0.6981 GB, free: 4.258 MB / 0.5137 GB
Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.2115, allocations: 3.938 kB / 0.6981 GB, free: 4.254 MB / 0.5137 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.2117, allocations: 75.81 kB / 0.6982 GB, free: 4.18 MB / 0.5137 GB
Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.2117, allocations: 15.91 kB / 0.6982 GB, free: 4.164 MB / 0.5137 GB
Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.2118, allocations: 15.94 kB / 0.6982 GB, free: 4.148 MB / 0.5137 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.212, allocations: 75.84 kB / 0.6983 GB, free: 4.074 MB / 0.5137 GB
Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.212, allocations: 0 / 0.6983 GB, free: 4.074 MB / 0.5137 GB
Notification: Performance of FrontEnd: time 1.273e-06/0.212, allocations: 0 / 0.6983 GB, free: 4.074 MB / 0.5137 GB
Notification: Performance of Transformations before backend: time 5.992e-06/0.212, allocations: 0 / 0.6983 GB, free: 4.074 MB / 0.5137 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0004326/0.2124, allocations: 274.2 kB / 0.6985 GB, free: 3.777 MB / 0.5137 GB
Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.2125, allocations: 12.03 kB / 0.6986 GB, free: 3.766 MB / 0.5137 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.2126, allocations: 12.92 kB / 0.6986 GB, free: 3.754 MB / 0.5137 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.2127, allocations: 106.5 kB / 0.6987 GB, free: 3.625 MB / 0.5137 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.2127, allocations: 4.375 kB / 0.6987 GB, free: 3.621 MB / 0.5137 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.2127, allocations: 12.31 kB / 0.6987 GB, free: 3.609 MB / 0.5137 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.2129, allocations: 53.8 kB / 0.6987 GB, free: 3.551 MB / 0.5137 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.2129, allocations: 7.984 kB / 0.6987 GB, free: 3.543 MB / 0.5137 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.2129, allocations: 0 / 0.6987 GB, free: 3.543 MB / 0.5137 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2129, allocations: 0 / 0.6987 GB, free: 3.543 MB / 0.5137 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.673e-05/0.213, allocations: 19.98 kB / 0.6988 GB, free: 3.523 MB / 0.5137 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.2132, allocations: 144.7 kB / 0.6989 GB, free: 3.34 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.2133, allocations: 54.48 kB / 0.699 GB, free: 3.277 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.847e-05/0.2133, allocations: 12.86 kB / 0.699 GB, free: 3.262 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006109/0.2139, allocations: 241.9 kB / 0.6992 GB, free: 3.004 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.214, allocations: 34.56 kB / 0.6992 GB, free: 2.961 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.214, allocations: 0 / 0.6992 GB, free: 2.961 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=7): time 0.0006241/0.2146, allocations: 233.4 kB / 0.6995 GB, free: 2.699 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.2146, allocations: 55.41 kB / 0.6995 GB, free: 2.633 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.429e-05/0.2147, allocations: 93.86 kB / 0.6996 GB, free: 2.531 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.2148, allocations: 29.7 kB / 0.6996 GB, free: 2.496 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.2148, allocations: 84.09 kB / 0.6997 GB, free: 2.41 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.2148, allocations: 31.73 kB / 0.6997 GB, free: 2.379 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/0.2149, allocations: 29.7 kB / 0.6998 GB, free: 2.344 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001497/0.215, allocations: 322.7 kB / 0.7001 GB, free: 2.02 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.187e-05/0.2151, allocations: 12 kB / 0.7001 GB, free: 2.008 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-05/0.2151, allocations: 59.16 kB / 0.7001 GB, free: 1.934 MB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.2153, allocations: 77.08 kB / 0.7002 GB, free: 1.84 MB / 0.5137 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.2153, allocations: 0 / 0.7002 GB, free: 1.84 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001446/0.2154, allocations: 89.55 kB / 0.7003 GB, free: 1.746 MB / 0.5137 GB
Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2154, allocations: 11.94 kB / 0.7003 GB, free: 1.734 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2154, allocations: 0 / 0.7003 GB, free: 1.734 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2154, allocations: 0 / 0.7003 GB, free: 1.734 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.371e-05/0.2155, allocations: 27.92 kB / 0.7003 GB, free: 1.707 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.2155, allocations: 128 / 0.7003 GB, free: 1.707 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.457e-05/0.2156, allocations: 15.94 kB / 0.7004 GB, free: 1.691 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.2156, allocations: 4.438 kB / 0.7004 GB, free: 1.688 MB / 0.5137 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 6
 * 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 (12):
 * Single equations (assignments): 12
 * 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 9.905e-05/0.2157, allocations: 109.8 kB / 0.7005 GB, free: 1.57 MB / 0.5137 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.2157, allocations: 7.953 kB / 0.7005 GB, free: 1.562 MB / 0.5137 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.723e-05/0.2158, allocations: 8.062 kB / 0.7005 GB, free: 1.547 MB / 0.5137 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2158, allocations: 4.281 kB / 0.7005 GB, free: 1.543 MB / 0.5137 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2158, allocations: 0 / 0.7005 GB, free: 1.543 MB / 0.5137 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.2158, allocations: 11.92 kB / 0.7005 GB, free: 1.531 MB / 0.5137 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.216, allocations: 148.7 kB / 0.7006 GB, free: 1.344 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.216, allocations: 0 / 0.7006 GB, free: 1.344 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.069e-05/0.2161, allocations: 19.98 kB / 0.7007 GB, free: 1.324 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2161, allocations: 0 / 0.7007 GB, free: 1.324 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.2161, allocations: 4 kB / 0.7007 GB, free: 1.32 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.2161, allocations: 0 / 0.7007 GB, free: 1.32 MB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2161, allocations: 0 / 0.7007 GB, free: 1.32 MB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.2163, allocations: 171.5 kB / 0.7008 GB, free: 1.137 MB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.2164, allocations: 7.953 kB / 0.7008 GB, free: 1.129 MB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.2164, allocations: 4 kB / 0.7008 GB, free: 1.125 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.2165, allocations: 12.03 kB / 0.7008 GB, free: 1.113 MB / 0.5137 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.2165, allocations: 3.938 kB / 0.7008 GB, free: 1.109 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.2165, allocations: 7.938 kB / 0.7009 GB, free: 1.102 MB / 0.5137 GB
Notification: Performance of sorting global known variables: time 4.596e-05/0.2166, allocations: 79.27 kB / 0.7009 GB, free: 1.023 MB / 0.5137 GB
Notification: Performance of sort global known variables: time 9e-08/0.2166, allocations: 0 / 0.7009 GB, free: 1.023 MB / 0.5137 GB
Notification: Performance of remove unused functions: time 0.0002438/0.2168, allocations: 19.94 kB / 0.7009 GB, free: 1.004 MB / 0.5137 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 3 (hLiqSym,cpSym,cvSym)
 * 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 (7):
 * Single equations (assignments): 7
 * 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.0001489/0.217, allocations: 99.25 kB / 0.701 GB, free: 0.8945 MB / 0.5137 GB
Notification: Performance of simCode: created initialization part: time 0.0001312/0.2171, allocations: 39.92 kB / 0.7011 GB, free: 0.8555 MB / 0.5137 GB
Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2171, allocations: 0 / 0.7011 GB, free: 0.8555 MB / 0.5137 GB
Notification: Performance of simCode: created simulation system equations: time 3.171e-05/0.2171, allocations: 19.92 kB / 0.7011 GB, free: 0.8359 MB / 0.5137 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.2174, allocations: 8 kB / 0.7011 GB, free: 0.8281 MB / 0.5137 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006599/0.2181, allocations: 323.2 kB / 0.7014 GB, free: 500 kB / 0.5137 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.2185, allocations: 0.6846 MB / 0.7021 GB, free: 15.78 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 4.493e-05/0.2185, allocations: 7.984 kB / 0.7021 GB, free: 15.77 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.2185, allocations: 15.38 kB / 0.7021 GB, free: 15.76 MB / 0.5294 GB
Notification: Performance of SimCode: time 3.41e-07/0.2185, allocations: 4 kB / 0.7021 GB, free: 15.75 MB / 0.5294 GB
Notification: Performance of Templates: time 0.003523/0.2221, allocations: 0.6609 MB / 0.7028 GB, free: 15.09 MB / 0.5294 GB
"
[Timeout remaining time 660]
make -j1 -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.793594320304692]
Failed to read output from testmodel.py, exit status != 0:
0.22961026709526777 0.24570702900000002 0.030489876000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f0dbc7457b0>