Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.001336/0.001336, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.00143/0.00143, allocations: 190.2 kB / 22.23 MB, free: 5.137 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.496/1.496, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180]
"[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo.
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9363/0.9363, allocations: 145 MB / 451.3 MB, free: 5.461 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck")
translateModel(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 68.05 kB / 0.6253 GB, free: 15.54 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2025, allocations: 86.7 MB / 0.71 GB, free: 8.836 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002474/0.205, allocations: 1.266 MB / 0.7112 GB, free: 7.559 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.004279/0.2093, allocations: 3.315 MB / 0.7144 GB, free: 4.219 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.716e-05/0.2093, allocations: 0 / 0.7144 GB, free: 4.219 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.2093, allocations: 0 / 0.7144 GB, free: 4.219 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 5.167e-05/0.2094, allocations: 7.922 kB / 0.7144 GB, free: 4.211 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.2099, allocations: 111.5 kB / 0.7146 GB, free: 4.102 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.0001009/0.21, allocations: 47.78 kB / 0.7146 GB, free: 4.055 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.868e-05/0.2101, allocations: 0 / 0.7146 GB, free: 4.055 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.886e-05/0.2101, allocations: 23.98 kB / 0.7146 GB, free: 4.031 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.523e-05/0.2102, allocations: 15.91 kB / 0.7146 GB, free: 4.016 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.2102, allocations: 4 kB / 0.7146 GB, free: 4.012 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000244/0.2104, allocations: 79.75 kB / 0.7147 GB, free: 3.934 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.2105, allocations: 11.97 kB / 0.7147 GB, free: 3.922 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 3.782e-05/0.2105, allocations: 15.94 kB / 0.7147 GB, free: 3.906 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.2107, allocations: 71.8 kB / 0.7148 GB, free: 3.836 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2107, allocations: 3.984 kB / 0.7148 GB, free: 3.832 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.423e-06/0.2107, allocations: 0 / 0.7148 GB, free: 3.832 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 5.37e-06/0.2107, allocations: 0 / 0.7148 GB, free: 3.832 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.000433/0.2112, allocations: 274.2 kB / 0.7151 GB, free: 3.535 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.2112, allocations: 12.03 kB / 0.7151 GB, free: 3.523 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.038e-05/0.2113, allocations: 0.9375 kB / 0.7151 GB, free: 3.523 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.2114, allocations: 114.5 kB / 0.7152 GB, free: 3.387 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.2114, allocations: 384 / 0.7152 GB, free: 3.387 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.2114, allocations: 8.375 kB / 0.7152 GB, free: 3.379 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.2116, allocations: 57.73 kB / 0.7153 GB, free: 3.316 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.2116, allocations: 0 / 0.7153 GB, free: 3.316 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.2116, allocations: 8 kB / 0.7153 GB, free: 3.309 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2116, allocations: 4 kB / 0.7153 GB, free: 3.305 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.37e-05/0.2117, allocations: 15.98 kB / 0.7153 GB, free: 3.289 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001909/0.2118, allocations: 136.7 kB / 0.7154 GB, free: 3.113 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.959e-05/0.2119, allocations: 50.55 kB / 0.7155 GB, free: 3.055 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.821e-05/0.212, allocations: 8.859 kB / 0.7155 GB, free: 3.043 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006185/0.2126, allocations: 258 kB / 0.7157 GB, free: 2.77 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.2126, allocations: 34.56 kB / 0.7158 GB, free: 2.727 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.2126, allocations: 0 / 0.7158 GB, free: 2.727 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=7): time 0.0006302/0.2133, allocations: 229.5 kB / 0.716 GB, free: 2.469 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.2133, allocations: 59.34 kB / 0.716 GB, free: 2.398 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.604e-05/0.2134, allocations: 101.8 kB / 0.7161 GB, free: 2.289 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.2134, allocations: 29.7 kB / 0.7162 GB, free: 2.254 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.2135, allocations: 84.17 kB / 0.7162 GB, free: 2.168 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.2135, allocations: 35.72 kB / 0.7163 GB, free: 2.133 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.2135, allocations: 25.72 kB / 0.7163 GB, free: 2.102 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001513/0.2137, allocations: 318.8 kB / 0.7166 GB, free: 1.781 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.879e-05/0.2137, allocations: 12 kB / 0.7166 GB, free: 1.77 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.708e-05/0.2138, allocations: 61.08 kB / 0.7167 GB, free: 1.691 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 9.953e-05/0.2139, allocations: 73.08 kB / 0.7167 GB, free: 1.602 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.2139, allocations: 0 / 0.7167 GB, free: 1.602 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001464/0.214, allocations: 93.78 kB / 0.7168 GB, free: 1.504 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2141, allocations: 4 kB / 0.7168 GB, free: 1.5 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.2141, allocations: 4.047 kB / 0.7168 GB, free: 1.496 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.2141, allocations: 3.984 kB / 0.7168 GB, free: 1.492 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.503e-05/0.2142, allocations: 24 kB / 0.7169 GB, free: 1.469 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2142, allocations: 3.938 kB / 0.7169 GB, free: 1.465 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.206e-05/0.2142, allocations: 11.92 kB / 0.7169 GB, free: 1.453 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.2142, allocations: 4 kB / 0.7169 GB, free: 1.449 MB / 0.5294 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 0.000103/0.2143, allocations: 121.9 kB / 0.717 GB, free: 1.32 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.2144, allocations: 7.953 kB / 0.717 GB, free: 1.312 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.2144, allocations: 8.062 kB / 0.717 GB, free: 1.309 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2144, allocations: 0 / 0.717 GB, free: 1.309 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.2144, allocations: 4 kB / 0.717 GB, free: 1.305 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2144, allocations: 3.938 kB / 0.717 GB, free: 1.301 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.2147, allocations: 144.7 kB / 0.7172 GB, free: 1.117 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2147, allocations: 0 / 0.7172 GB, free: 1.117 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.267e-05/0.2148, allocations: 19.92 kB / 0.7172 GB, free: 1.098 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2148, allocations: 0 / 0.7172 GB, free: 1.098 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.2148, allocations: 4 kB / 0.7172 GB, free: 1.094 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2148, allocations: 4 kB / 0.7172 GB, free: 1.09 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2148, allocations: 0 / 0.7172 GB, free: 1.09 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.215, allocations: 175.4 kB / 0.7174 GB, free: 0.9023 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.405e-05/0.215, allocations: 4 kB / 0.7174 GB, free: 0.8984 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.2151, allocations: 0 / 0.7174 GB, free: 0.8984 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.2152, allocations: 8 kB / 0.7174 GB, free: 0.8906 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.2152, allocations: 4.031 kB / 0.7174 GB, free: 0.8867 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.2152, allocations: 16 kB / 0.7174 GB, free: 0.8711 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 4.472e-05/0.2153, allocations: 75.28 kB / 0.7175 GB, free: 0.7969 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.2153, allocations: 0 / 0.7175 GB, free: 0.7969 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0002636/0.2155, allocations: 19.94 kB / 0.7175 GB, free: 0.7773 MB / 0.5294 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.0001519/0.2157, allocations: 107.2 kB / 0.7176 GB, free: 0.6602 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.0001354/0.2158, allocations: 36.17 kB / 0.7176 GB, free: 0.625 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2158, allocations: 4 kB / 0.7176 GB, free: 0.6211 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 2.654e-05/0.2158, allocations: 16 kB / 0.7176 GB, free: 0.6055 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.2161, allocations: 7.984 kB / 0.7176 GB, free: 0.5977 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006833/0.2168, allocations: 322.8 kB / 0.7179 GB, free: 260 kB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.2172, allocations: 0.6924 MB / 0.7186 GB, free: 15.54 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 4.436e-05/0.2172, allocations: 4 kB / 0.7186 GB, free: 15.53 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.2173, allocations: 11.44 kB / 0.7186 GB, free: 15.52 MB / 0.545 GB
Notification: Performance of SimCode: time 3.2e-07/0.2173, allocations: 3.938 kB / 0.7186 GB, free: 15.52 MB / 0.545 GB
Notification: Performance of Templates: time 0.003795/0.2211, allocations: 0.6756 MB / 0.7193 GB, free: 14.84 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660]
(rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.878061931580305]
Failed to read output from testmodel.py, exit status != 0:
0.2289123935624957 0.24531021500000003 0.031204606000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fd62e5517b0>