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.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.001338/0.001338, allocations: 82.05 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001474/0.001474, allocations: 165.3 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.445/1.445, allocations: 177.1 MB / 202.8 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002435/0.002435, allocations: 237.4 kB / 259.4 MB, free: 0.4922 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.108/1.108, allocations: 138.4 MB / 454.3 MB, free: 2.004 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(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 4.448e-06/4.448e-06, allocations: 3.984 kB / 0.6468 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.663e-05/4.108e-05, allocations: 13.81 kB / 0.6468 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.3831/0.3831, allocations: 45.03 MB / 0.6908 GB, free: 29.12 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01896/0.4021, allocations: 12.92 MB / 0.7034 GB, free: 20.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003088/0.4052, allocations: 95.34 kB / 0.7035 GB, free: 20.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002657/0.4078, allocations: 0.8132 MB / 0.7043 GB, free: 19.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007867/0.4157, allocations: 2.461 MB / 0.7067 GB, free: 18.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004296/0.42, allocations: 1.402 MB / 0.708 GB, free: 17.51 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02308/0.4431, allocations: 20.49 MB / 0.728 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01095/0.454, allocations: 6.483 MB / 0.7344 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03199/0.486, allocations: 9.196 MB / 0.7434 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01552/0.5015, allocations: 5.817 MB / 0.749 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003965/0.5055, allocations: 0.8477 MB / 0.7499 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009278/0.5148, allocations: 1.494 MB / 0.7513 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.007562/0.5223, allocations: 2.266 MB / 0.7535 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01531/0.5377, allocations: 3.037 MB / 0.7565 GB, free: 436 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02227/0.5599, allocations: 12.29 MB / 0.7685 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.5599, allocations: 0 / 0.7685 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5599, allocations: 0 / 0.7685 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0005473/0.5605, allocations: 0 / 0.7685 GB, free: 4.102 MB / 0.5919 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.02603/0.5865, allocations: 7.783 MB / 0.7761 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.5866, allocations: 13.34 kB / 0.7761 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005705/0.5923, allocations: 0.8867 MB / 0.777 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01829/0.6106, allocations: 6.361 MB / 0.7832 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006455/0.6112, allocations: 419.4 kB / 0.7836 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002485/0.6137, allocations: 0.5432 MB / 0.7841 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02309/0.6368, allocations: 9.132 MB / 0.793 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002764/0.6371, allocations: 19.77 kB / 0.7931 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00178/0.6388, allocations: 236 kB / 0.7933 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002306/0.6391, allocations: 167.9 kB / 0.7934 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01714/0.6562, allocations: 6.504 MB / 0.7998 GB, free: 3.395 MB / 0.6231 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.05132/0.7075, allocations: 22.44 MB / 0.8217 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006754/0.7143, allocations: 3.426 MB / 0.8251 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004707/0.719, allocations: 2.576 MB / 0.8276 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007769/0.7198, allocations: 146 kB / 0.8277 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.677e-05/0.7199, allocations: 68.67 kB / 0.8278 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=267): time 8.346e-06/0.7199, allocations: 4 kB / 0.8278 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of matching and sorting (n=267): time 0.01297/0.7328, allocations: 5.576 MB / 0.8332 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.938e-05/0.7329, allocations: 80.42 kB / 0.8333 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01026/0.7432, allocations: 4.555 MB / 0.8378 GB, free: 12.05 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007668/0.7439, allocations: 81.7 kB / 0.8378 GB, free: 11.96 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.003328/0.7473, allocations: 2.918 MB / 0.8407 GB, free: 9.02 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001786/0.7491, allocations: 0.9683 MB / 0.8416 GB, free: 8.043 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002545/0.7516, allocations: 0.7117 MB / 0.8423 GB, free: 7.324 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.7517, allocations: 305.1 kB / 0.8426 GB, free: 7.023 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003672/0.7554, allocations: 1.673 MB / 0.8442 GB, free: 5.352 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004929/0.7603, allocations: 3.036 MB / 0.8472 GB, free: 1.734 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008501/0.7688, allocations: 4.959 MB / 0.8521 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.742e-05/0.7689, allocations: 12 kB / 0.8521 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01298/0.7819, allocations: 5.389 MB / 0.8573 GB, free: 6.727 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.919e-05/0.782, allocations: 27.98 kB / 0.8574 GB, free: 6.699 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.703e-05/0.782, allocations: 36 kB / 0.8574 GB, free: 6.664 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.7833, allocations: 429.3 kB / 0.8578 GB, free: 6.242 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003675/0.787, allocations: 0.858 MB / 0.8586 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007101/0.7941, allocations: 5.36 MB / 0.8639 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004846/0.7989, allocations: 472.9 kB / 0.8643 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009282/0.7998, allocations: 184.9 kB / 0.8645 GB, free: 15.18 MB / 0.7012 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.005868/0.8057, allocations: 2.284 MB / 0.8667 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002288/0.808, allocations: 445.2 kB / 0.8672 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009824/0.8178, allocations: 4.117 MB / 0.8712 GB, free: 8.273 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.886e-05/0.8179, allocations: 31.98 kB / 0.8712 GB, free: 8.242 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-05/0.8179, allocations: 4 kB / 0.8712 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006669/0.8245, allocations: 3.628 MB / 0.8748 GB, free: 4.496 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02383/0.8484, allocations: 8.877 MB / 0.8834 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.199e-05/0.8484, allocations: 7.938 kB / 0.8834 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002602/0.851, allocations: 0.4954 MB / 0.8839 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/0.852, allocations: 372.4 kB / 0.8843 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004417/0.8525, allocations: 83.89 kB / 0.8843 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006833/0.8593, allocations: 5.304 MB / 0.8895 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-05/0.8593, allocations: 8 kB / 0.8895 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01307/0.8724, allocations: 6.175 MB / 0.8956 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003463/0.8758, allocations: 0.9866 MB / 0.8965 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00144/0.8773, allocations: 64.27 kB / 0.8966 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003706/0.881, allocations: 171.5 kB / 0.8968 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005701/0.8816, allocations: 185.5 kB / 0.8969 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005291/0.8821, allocations: 127.9 kB / 0.8971 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.007122/0.8892, allocations: 3.116 MB / 0.9001 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8892, allocations: 0 / 0.9001 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.007646/0.8969, allocations: 1.89 MB / 0.9019 GB, free: 8.121 MB / 0.7325 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.001801/0.8987, allocations: 481.8 kB / 0.9024 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008946/0.9076, allocations: 4.13 MB / 0.9064 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.588e-05/0.9076, allocations: 11.84 kB / 0.9064 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004009/0.9116, allocations: 1.922 MB / 0.9083 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01587/0.9275, allocations: 2.614 MB / 0.9109 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02589/0.9534, allocations: 12.22 MB / 0.9228 GB, free: 2.676 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004815/0.9582, allocations: 3.805 MB / 0.9265 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.005693/0.9639, allocations: 1.664 MB / 0.9281 GB, free: 13.19 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001337/0.9652, allocations: 376.3 kB / 0.9285 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of SimCode: time 1.202e-06/0.9652, allocations: 4 kB / 0.9285 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of Templates: time 0.4622/1.427, allocations: 93.97 MB / 1.02 GB, free: 197.6 MB / 0.7637 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: 9.603586990386248] Failed to read output from testmodel.py, exit status != 0: 1.4374159015715122 1.445985442 0.883502946 Calling exit ...