Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.001528/0.001528, allocations: 110 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.001884/0.001884, allocations: 192 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.38/1.38, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00258/0.00258, allocations: 296.1 kB / 306.6 MB, free: 8.34 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.22/1.22, allocations: 180.9 MB / 0.53 GB, free: 14.4 MB / 382.1 MB
"
[Timeout remaining time 179]
Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo)
Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial")
translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002724/0.002724, allocations: 97.64 kB / 0.7308 GB, free: 38.79 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.183, allocations: 94.2 MB / 0.8228 GB, free: 1.809 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.06424/0.2473, allocations: 50.12 MB / 0.8718 GB, free: 15.51 MB / 0.6231 GB
Notification: Performance of NFInst.instExpressions: time 0.02353/0.2708, allocations: 13.96 MB / 0.8854 GB, free: 1.516 MB / 0.6231 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002569/0.2733, allocations: 95.25 kB / 0.8855 GB, free: 1.422 MB / 0.6231 GB
Notification: Performance of NFTyping.typeComponents: time 0.002799/0.2761, allocations: 0.8382 MB / 0.8863 GB, free: 0.5781 MB / 0.6231 GB
Notification: Performance of NFTyping.typeBindings: time 0.007575/0.2837, allocations: 2.394 MB / 0.8886 GB, free: 14.17 MB / 0.6387 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004084/0.2878, allocations: 1.359 MB / 0.89 GB, free: 12.82 MB / 0.6387 GB
Notification: Performance of NFFlatten.flatten: time 0.02568/0.3135, allocations: 20.13 MB / 0.9096 GB, free: 8.641 MB / 0.6544 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0104/0.3239, allocations: 6.439 MB / 0.9159 GB, free: 2.074 MB / 0.6544 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.01521/0.3391, allocations: 6.683 MB / 0.9224 GB, free: 11.41 MB / 0.67 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.01435/0.3534, allocations: 6.047 MB / 0.9283 GB, free: 5.344 MB / 0.67 GB
Notification: Performance of NFPackage.collectConstants: time 0.00346/0.3569, allocations: 0.8438 MB / 0.9292 GB, free: 4.5 MB / 0.67 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.007195/0.3641, allocations: 1.635 MB / 0.9308 GB, free: 2.863 MB / 0.67 GB
Notification: Performance of NFScalarize.scalarize: time 0.004239/0.3683, allocations: 2.2 MB / 0.9329 GB, free: 0.6562 MB / 0.67 GB
Notification: Performance of NFVerifyModel.verify: time 0.009612/0.3779, allocations: 4.295 MB / 0.9371 GB, free: 12.34 MB / 0.6856 GB
Notification: Performance of NFConvertDAE.convert: time 0.01938/0.3973, allocations: 12.11 MB / 0.9489 GB, free: 196 kB / 0.6856 GB
Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3973, allocations: 0 / 0.9489 GB, free: 196 kB / 0.6856 GB
Notification: Performance of FrontEnd: time 1.563e-06/0.3973, allocations: 0 / 0.9489 GB, free: 196 kB / 0.6856 GB
Notification: Performance of Transformations before backend: time 0.0004861/0.3978, allocations: 0 / 0.9489 GB, free: 196 kB / 0.6856 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1414
 * Number of variables: 1414
Notification: Performance of Generate backend data structure: time 0.02898/0.4268, allocations: 7.846 MB / 0.9566 GB, free: 8.273 MB / 0.7012 GB
Notification: Performance of prepare preOptimizeDAE: time 8.818e-05/0.4269, allocations: 12.03 kB / 0.9566 GB, free: 8.262 MB / 0.7012 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006968/0.4339, allocations: 0.8243 MB / 0.9574 GB, free: 7.434 MB / 0.7012 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01772/0.4516, allocations: 6.373 MB / 0.9636 GB, free: 0.9844 MB / 0.7012 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004948/0.4521, allocations: 415.4 kB / 0.964 GB, free: 0.5781 MB / 0.7012 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.002295/0.4544, allocations: 0.5467 MB / 0.9646 GB, free: 32 kB / 0.7012 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02254/0.4769, allocations: 8.073 MB / 0.9725 GB, free: 7.719 MB / 0.7169 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0002866/0.4772, allocations: 19.83 kB / 0.9725 GB, free: 7.699 MB / 0.7169 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001827/0.479, allocations: 236 kB / 0.9727 GB, free: 7.469 MB / 0.7169 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002061/0.4792, allocations: 164 kB / 0.9729 GB, free: 7.309 MB / 0.7169 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01639/0.4956, allocations: 6.528 MB / 0.9792 GB, free: 0.7695 MB / 0.7169 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5013/0.997, allocations: 31.17 MB / 1.01 GB, free: 165.5 MB / 0.7481 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.006966/1.004, allocations: 3.437 MB / 1.013 GB, free: 165.5 MB / 0.7481 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.004314/1.008, allocations: 2.577 MB / 1.016 GB, free: 165.4 MB / 0.7481 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0007431/1.009, allocations: 162.7 kB / 1.016 GB, free: 165.4 MB / 0.7481 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.162e-05/1.009, allocations: 72.02 kB / 1.016 GB, free: 165.4 MB / 0.7481 GB
Notification: Performance of pre-optimization done (n=267): time 4.449e-06/1.009, allocations: 1.562 kB / 1.016 GB, free: 165.4 MB / 0.7481 GB
Notification: Performance of matching and sorting (n=267): time 0.0122/1.021, allocations: 5.624 MB / 1.021 GB, free: 164.4 MB / 0.7481 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/1.021, allocations: 88.95 kB / 1.021 GB, free: 164.3 MB / 0.7481 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007695/1.029, allocations: 5.24 MB / 1.026 GB, free: 162.6 MB / 0.7481 GB
Notification: Performance of collectPreVariables (initialization): time 0.0006883/1.03, allocations: 81.42 kB / 1.027 GB, free: 162.5 MB / 0.7481 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001956/1.032, allocations: 2.939 MB / 1.029 GB, free: 160.9 MB / 0.7481 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001289/1.033, allocations: 0.9762 MB / 1.03 GB, free: 160.2 MB / 0.7481 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009965/1.034, allocations: 0.7188 MB / 1.031 GB, free: 159.9 MB / 0.7481 GB
Notification: Performance of setup shared object (initialization): time 4.693e-05/1.034, allocations: 302.1 kB / 1.031 GB, free: 159.6 MB / 0.7481 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002215/1.036, allocations: 1.677 MB / 1.033 GB, free: 159 MB / 0.7481 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00247/1.039, allocations: 2.934 MB / 1.036 GB, free: 156.9 MB / 0.7481 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.004643/1.043, allocations: 4.967 MB / 1.041 GB, free: 153.5 MB / 0.7481 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.213e-05/1.043, allocations: 10.81 kB / 1.041 GB, free: 153.5 MB / 0.7481 GB
Notification: Performance of matching and sorting (n=475) (initialization): time 0.007613/1.051, allocations: 5.448 MB / 1.046 GB, free: 150.7 MB / 0.7481 GB
Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/1.051, allocations: 21.62 kB / 1.046 GB, free: 150.7 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.164e-05/1.051, allocations: 42.72 kB / 1.046 GB, free: 150.7 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0008627/1.052, allocations: 414.6 kB / 1.046 GB, free: 150.5 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002558/1.054, allocations: 0.8648 MB / 1.047 GB, free: 150.3 MB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004257/1.059, allocations: 5.493 MB / 1.053 GB, free: 144.7 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004292/1.063, allocations: 0.5327 MB / 1.053 GB, free: 144.3 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005418/1.064, allocations: 184 kB / 1.053 GB, free: 144.2 MB / 0.7481 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 181
 * Number of states: 0 ()
 * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (447):
 * Single equations (assignments): 445
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,14,100.0%), (1,14,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.003525/1.067, allocations: 2.289 MB / 1.056 GB, free: 141.9 MB / 0.7481 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001394/1.068, allocations: 0.5047 MB / 1.056 GB, free: 141.4 MB / 0.7481 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005501/1.074, allocations: 4.16 MB / 1.06 GB, free: 137.2 MB / 0.7481 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.889e-05/1.074, allocations: 28 kB / 1.06 GB, free: 137.1 MB / 0.7481 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/1.074, allocations: 4 kB / 1.06 GB, free: 137.1 MB / 0.7481 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003797/1.078, allocations: 3.63 MB / 1.064 GB, free: 133.4 MB / 0.7481 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01547/1.093, allocations: 10.29 MB / 1.074 GB, free: 123 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/1.093, allocations: 8.062 kB / 1.074 GB, free: 123 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/1.095, allocations: 0.4954 MB / 1.074 GB, free: 122.5 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0007014/1.096, allocations: 385.2 kB / 1.075 GB, free: 122.2 MB / 0.7481 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/1.096, allocations: 71.97 kB / 1.075 GB, free: 122.1 MB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004079/1.1, allocations: 5.434 MB / 1.08 GB, free: 116.5 MB / 0.7481 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.1, allocations: 16 kB / 1.08 GB, free: 116.5 MB / 0.7481 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00782/1.108, allocations: 6.261 MB / 1.086 GB, free: 110 MB / 0.7481 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.003023/1.111, allocations: 1.082 MB / 1.087 GB, free: 109 MB / 0.7481 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001179/1.112, allocations: 60.64 kB / 1.087 GB, free: 108.9 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002856/1.115, allocations: 176.2 kB / 1.087 GB, free: 108.8 MB / 0.7481 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002731/1.115, allocations: 185.5 kB / 1.088 GB, free: 108.6 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002189/1.115, allocations: 131.8 kB / 1.088 GB, free: 108.5 MB / 0.7481 GB
Notification: Performance of sorting global known variables: time 0.004996/1.12, allocations: 3.847 MB / 1.092 GB, free: 104.6 MB / 0.7481 GB
Notification: Performance of sort global known variables: time 1e-07/1.12, allocations: 0 / 1.092 GB, free: 104.6 MB / 0.7481 GB
Notification: Performance of remove unused functions: time 0.005466/1.126, allocations: 1.813 MB / 1.093 GB, free: 102.9 MB / 0.7481 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 19
 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y)
 * 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 (242):
 * Single equations (assignments): 237
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 3
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,14,100.0%), (1,14,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.001184/1.127, allocations: 494.4 kB / 1.094 GB, free: 102.5 MB / 0.7481 GB
Notification: Performance of simCode: created initialization part: time 0.005557/1.133, allocations: 4.136 MB / 1.098 GB, free: 98.3 MB / 0.7481 GB
Notification: Performance of simCode: created event and clocks part: time 1.022e-05/1.133, allocations: 3.781 kB / 1.098 GB, free: 98.3 MB / 0.7481 GB
Notification: Performance of simCode: created simulation system equations: time 0.002209/1.135, allocations: 1.924 MB / 1.1 GB, free: 96.35 MB / 0.7481 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01367/1.149, allocations: 3.458 MB / 1.103 GB, free: 93.05 MB / 0.7481 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/1.165, allocations: 12.75 MB / 1.116 GB, free: 80.22 MB / 0.7481 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002813/1.168, allocations: 4.303 MB / 1.12 GB, free: 75.88 MB / 0.7481 GB
Notification: Performance of simCode: alias equations: time 0.004575/1.172, allocations: 1.846 MB / 1.122 GB, free: 74.05 MB / 0.7481 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/1.173, allocations: 423.2 kB / 1.122 GB, free: 73.64 MB / 0.7481 GB
Notification: Performance of SimCode: time 1.122e-06/1.173, allocations: 0 / 1.122 GB, free: 73.64 MB / 0.7481 GB
Notification: Performance of Templates: time 0.1647/1.338, allocations: 116.8 MB / 1.236 GB, free: 6.039 MB / 0.795 GB
"
[Timeout remaining time 659]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 10.015465762466192]
Failed to read output from testmodel.py, exit status != 0:
1.3473022859543562 1.3631064800000001 0.962236403
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7faed56c57b0>