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.001286/0.001286, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001394/0.001394, allocations: 219.7 kB / 23.01 MB, free: 4.609 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.383/1.383, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.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.002608/0.002608, allocations: 295 kB / 313.5 MB, free: 2.828 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.175/1.175, allocations: 180.6 MB / 0.5377 GB, free: 12.93 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 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002815/0.002815, allocations: 103.3 kB / 0.7408 GB, free: 27.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1749, allocations: 95.38 MB / 0.8339 GB, free: 8.148 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05618/0.231, allocations: 50.34 MB / 0.8831 GB, free: 5.625 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02056/0.2516, allocations: 13.97 MB / 0.8967 GB, free: 7.613 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002439/0.254, allocations: 91.25 kB / 0.8968 GB, free: 7.523 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 0.002508/0.2566, allocations: 0.8382 MB / 0.8977 GB, free: 6.68 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 0.006999/0.2636, allocations: 2.414 MB / 0.9 GB, free: 4.254 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.003687/0.2672, allocations: 1.379 MB / 0.9014 GB, free: 2.883 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.02399/0.2912, allocations: 20.11 MB / 0.921 GB, free: 14.72 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01039/0.3016, allocations: 6.451 MB / 0.9273 GB, free: 8.141 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01394/0.3156, allocations: 6.673 MB / 0.9338 GB, free: 1.488 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01094/0.3265, allocations: 6.043 MB / 0.9397 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002939/0.3294, allocations: 0.8476 MB / 0.9405 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006897/0.3363, allocations: 1.674 MB / 0.9422 GB, free: 8.898 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004325/0.3407, allocations: 2.204 MB / 0.9443 GB, free: 6.688 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.01049/0.3511, allocations: 4.295 MB / 0.9485 GB, free: 2.375 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02022/0.3714, allocations: 12.16 MB / 0.9604 GB, free: 6.172 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.3714, allocations: 3.938 kB / 0.9604 GB, free: 6.168 MB / 0.7013 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3714, allocations: 0 / 0.9604 GB, free: 6.168 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 0.0005049/0.3719, allocations: 0 / 0.9604 GB, free: 6.168 MB / 0.7013 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.0256/0.3975, allocations: 7.85 MB / 0.9681 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.3975, allocations: 9.344 kB / 0.9681 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005125/0.4026, allocations: 0.8828 MB / 0.9689 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01583/0.4185, allocations: 6.381 MB / 0.9752 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004875/0.419, allocations: 422.5 kB / 0.9756 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002051/0.421, allocations: 0.5429 MB / 0.9761 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4526/0.8736, allocations: 8.065 MB / 0.984 GB, free: 131.3 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001638/0.8738, allocations: 23.89 kB / 0.984 GB, free: 131.3 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006505/0.8744, allocations: 234.4 kB / 0.9842 GB, free: 131.3 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000221/0.8746, allocations: 165.8 kB / 0.9844 GB, free: 131.3 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01358/0.8882, allocations: 6.525 MB / 0.9908 GB, free: 129.2 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.04809/0.9363, allocations: 31.17 MB / 1.021 GB, free: 105.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005166/0.9415, allocations: 3.442 MB / 1.025 GB, free: 104.2 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003629/0.9451, allocations: 2.568 MB / 1.027 GB, free: 103 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006831/0.9458, allocations: 169.6 kB / 1.027 GB, free: 102.9 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.034e-05/0.9459, allocations: 72.77 kB / 1.027 GB, free: 102.9 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 4.899e-06/0.9459, allocations: 0 / 1.027 GB, free: 102.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.01037/0.9562, allocations: 5.619 MB / 1.033 GB, free: 99.97 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.9563, allocations: 85.45 kB / 1.033 GB, free: 99.87 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009045/0.9653, allocations: 5.251 MB / 1.038 GB, free: 94.65 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0006934/0.966, allocations: 73.7 kB / 1.038 GB, free: 94.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002462/0.9685, allocations: 2.934 MB / 1.041 GB, free: 91.93 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001438/0.9699, allocations: 0.977 MB / 1.042 GB, free: 91.09 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00178/0.9717, allocations: 0.7273 MB / 1.043 GB, free: 90.36 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.032e-05/0.9717, allocations: 305.1 kB / 1.043 GB, free: 90.05 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002475/0.9742, allocations: 1.674 MB / 1.045 GB, free: 88.38 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002874/0.9771, allocations: 2.927 MB / 1.047 GB, free: 84.92 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00527/0.9824, allocations: 4.976 MB / 1.052 GB, free: 79.36 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.084e-05/0.9824, allocations: 12 kB / 1.052 GB, free: 79.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008586/0.991, allocations: 5.452 MB / 1.058 GB, free: 73.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.991, allocations: 20 kB / 1.058 GB, free: 73.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-05/0.9911, allocations: 40 kB / 1.058 GB, free: 73.78 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009178/0.992, allocations: 415.5 kB / 1.058 GB, free: 73.37 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002696/0.9947, allocations: 0.8675 MB / 1.059 GB, free: 72.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004504/0.9992, allocations: 5.496 MB / 1.064 GB, free: 66.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00425/1.003, allocations: 0.5325 MB / 1.065 GB, free: 66.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005873/1.004, allocations: 180 kB / 1.065 GB, free: 66.23 MB / 0.7169 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.003993/1.008, allocations: 2.284 MB / 1.067 GB, free: 63.95 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001833/1.01, allocations: 0.4969 MB / 1.068 GB, free: 63.45 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006786/1.017, allocations: 4.176 MB / 1.072 GB, free: 59.22 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/1.017, allocations: 28 kB / 1.072 GB, free: 59.19 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/1.017, allocations: 4.766 kB / 1.072 GB, free: 59.19 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004255/1.021, allocations: 3.621 MB / 1.075 GB, free: 55.45 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01861/1.04, allocations: 10.29 MB / 1.085 GB, free: 45.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/1.04, allocations: 4 kB / 1.085 GB, free: 45.05 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001912/1.041, allocations: 0.5076 MB / 1.086 GB, free: 44.55 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007578/1.042, allocations: 369.3 kB / 1.086 GB, free: 44.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002333/1.042, allocations: 75.95 kB / 1.086 GB, free: 44.11 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004274/1.047, allocations: 5.435 MB / 1.092 GB, free: 38.46 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.047, allocations: 7.938 kB / 1.092 GB, free: 38.45 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008037/1.055, allocations: 6.276 MB / 1.098 GB, free: 32.01 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003064/1.058, allocations: 1.072 MB / 1.099 GB, free: 30.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00131/1.059, allocations: 63.92 kB / 1.099 GB, free: 30.87 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003241/1.062, allocations: 182.4 kB / 1.099 GB, free: 30.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002722/1.063, allocations: 177.5 kB / 1.099 GB, free: 30.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002992/1.063, allocations: 131.9 kB / 1.099 GB, free: 30.39 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.006005/1.069, allocations: 3.851 MB / 1.103 GB, free: 26.56 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/1.069, allocations: 0 / 1.103 GB, free: 26.56 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005664/1.075, allocations: 1.809 MB / 1.105 GB, free: 24.75 MB / 0.7169 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.001073/1.076, allocations: 469.2 kB / 1.105 GB, free: 24.31 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005805/1.082, allocations: 4.141 MB / 1.109 GB, free: 20.12 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/1.082, allocations: 7.656 kB / 1.109 GB, free: 20.12 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002414/1.084, allocations: 1.934 MB / 1.111 GB, free: 18.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01434/1.098, allocations: 3.444 MB / 1.115 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/1.118, allocations: 12.77 MB / 1.127 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005313/1.123, allocations: 4.232 MB / 1.131 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002/1.125, allocations: 447.3 kB / 1.132 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of SimCode: time 1.273e-06/1.125, allocations: 3.938 kB / 1.132 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of Templates: time 0.2484/1.373, allocations: 174.8 MB / 1.302 GB, free: 14.79 MB / 0.9044 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: 25.16581009910442] Failed to read output from testmodel.py, exit status != 0: 1.382506821071729 1.3981978499999999 1.02343558 Calling exit ...