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.001406/0.001406, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.00162/0.00162, allocations: 212.4 kB / 22.24 MB, free: 5.242 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.797 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.002619/0.002619, allocations: 276.4 kB / 312.7 MB, free: 2.703 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.309/1.309, allocations: 180.6 MB / 0.5369 GB, free: 14.45 MB / 382.1 MB " [Timeout remaining time 178] 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.002973/0.002973, allocations: 101.7 kB / 0.74 GB, free: 27.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2268, allocations: 95.37 MB / 0.8331 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05453/0.2813, allocations: 45.39 MB / 0.8774 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02228/0.3036, allocations: 12.95 MB / 0.8901 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003361/0.307, allocations: 95.25 kB / 0.8902 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002573/0.3096, allocations: 0.8071 MB / 0.891 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008074/0.3176, allocations: 2.391 MB / 0.8933 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004082/0.3217, allocations: 1.351 MB / 0.8946 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02559/0.3473, allocations: 20.31 MB / 0.9145 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01101/0.3583, allocations: 6.463 MB / 0.9208 GB, free: 13.69 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01671/0.375, allocations: 6.726 MB / 0.9273 GB, free: 6.988 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01356/0.3886, allocations: 6.347 MB / 0.9335 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.003326/0.3919, allocations: 0.8477 MB / 0.9344 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007255/0.3992, allocations: 1.483 MB / 0.9358 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004284/0.4034, allocations: 2.204 MB / 0.938 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.009301/0.4127, allocations: 3.514 MB / 0.9414 GB, free: 8.547 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0197/0.4324, allocations: 12.19 MB / 0.9533 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4325, allocations: 0 / 0.9533 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4325, allocations: 0 / 0.9533 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004535/0.4329, allocations: 4 kB / 0.9533 GB, free: 12.31 MB / 0.7012 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.02225/0.4552, allocations: 7.849 MB / 0.961 GB, free: 4.395 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.4552, allocations: 9.938 kB / 0.961 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005127/0.4603, allocations: 0.879 MB / 0.9618 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01897/0.4793, allocations: 6.378 MB / 0.9681 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000486/0.4798, allocations: 415.4 kB / 0.9685 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00228/0.482, allocations: 0.5467 MB / 0.969 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01925/0.5013, allocations: 9.131 MB / 0.9779 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001388/0.5014, allocations: 11.94 kB / 0.9779 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007034/0.5021, allocations: 236 kB / 0.9781 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001936/0.5023, allocations: 175.9 kB / 0.9783 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4884/0.9907, allocations: 6.503 MB / 0.9847 GB, free: 133.4 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.04194/1.033, allocations: 22.46 MB / 1.007 GB, free: 120.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004788/1.037, allocations: 3.426 MB / 1.01 GB, free: 119.1 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003259/1.041, allocations: 2.591 MB / 1.012 GB, free: 117.9 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005856/1.041, allocations: 147.9 kB / 1.013 GB, free: 117.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.059e-05/1.041, allocations: 72.3 kB / 1.013 GB, free: 117.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 5.611e-06/1.041, allocations: 0 / 1.013 GB, free: 117.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.009002/1.05, allocations: 5.569 MB / 1.018 GB, free: 114.2 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/1.05, allocations: 78.92 kB / 1.018 GB, free: 114.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005426/1.056, allocations: 4.546 MB / 1.023 GB, free: 109.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005022/1.056, allocations: 81.7 kB / 1.023 GB, free: 109.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001686/1.058, allocations: 2.928 MB / 1.026 GB, free: 106.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001089/1.059, allocations: 0.9902 MB / 1.027 GB, free: 106.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007987/1.06, allocations: 0.7195 MB / 1.027 GB, free: 105.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.436e-05/1.06, allocations: 301.1 kB / 1.028 GB, free: 105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002034/1.062, allocations: 1.679 MB / 1.029 GB, free: 103.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002476/1.064, allocations: 3.028 MB / 1.032 GB, free: 99.76 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004691/1.069, allocations: 4.966 MB / 1.037 GB, free: 94.26 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.919e-05/1.069, allocations: 12 kB / 1.037 GB, free: 94.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007353/1.076, allocations: 5.389 MB / 1.042 GB, free: 88.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/1.077, allocations: 20 kB / 1.042 GB, free: 88.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.066e-05/1.077, allocations: 43.98 kB / 1.042 GB, free: 88.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008287/1.077, allocations: 423 kB / 1.043 GB, free: 88.36 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002652/1.08, allocations: 0.8541 MB / 1.044 GB, free: 87.51 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004316/1.084, allocations: 5.375 MB / 1.049 GB, free: 81.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004294/1.089, allocations: 468.8 kB / 1.049 GB, free: 81.58 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005901/1.089, allocations: 178.7 kB / 1.049 GB, free: 81.41 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.003732/1.093, allocations: 2.285 MB / 1.052 GB, free: 79.11 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/1.094, allocations: 449.1 kB / 1.052 GB, free: 78.67 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005565/1.1, allocations: 4.109 MB / 1.056 GB, free: 74.51 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/1.1, allocations: 31.94 kB / 1.056 GB, free: 74.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/1.1, allocations: 4 kB / 1.056 GB, free: 74.47 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004098/1.104, allocations: 3.625 MB / 1.06 GB, free: 70.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01875/1.123, allocations: 8.886 MB / 1.068 GB, free: 61.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/1.123, allocations: 4 kB / 1.068 GB, free: 61.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002076/1.125, allocations: 0.5037 MB / 1.069 GB, free: 61.26 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007599/1.126, allocations: 372.1 kB / 1.069 GB, free: 60.89 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002836/1.126, allocations: 83.64 kB / 1.069 GB, free: 60.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004537/1.131, allocations: 5.295 MB / 1.074 GB, free: 55.33 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.131, allocations: 11.88 kB / 1.074 GB, free: 55.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008828/1.139, allocations: 6.184 MB / 1.08 GB, free: 48.96 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003304/1.143, allocations: 0.9944 MB / 1.081 GB, free: 47.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001277/1.144, allocations: 59.98 kB / 1.082 GB, free: 47.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003356/1.147, allocations: 178 kB / 1.082 GB, free: 47.73 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003375/1.148, allocations: 181.5 kB / 1.082 GB, free: 47.55 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003899/1.148, allocations: 131.9 kB / 1.082 GB, free: 47.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.005723/1.154, allocations: 3.108 MB / 1.085 GB, free: 44.31 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/1.154, allocations: 4 kB / 1.085 GB, free: 44.31 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.007195/1.161, allocations: 1.894 MB / 1.087 GB, free: 42.41 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.001398/1.162, allocations: 462.9 kB / 1.087 GB, free: 41.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006614/1.169, allocations: 4.136 MB / 1.091 GB, free: 37.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/1.169, allocations: 4 kB / 1.091 GB, free: 37.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002943/1.172, allocations: 1.923 MB / 1.093 GB, free: 35.84 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01541/1.187, allocations: 2.625 MB / 1.096 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02204/1.209, allocations: 12.53 MB / 1.108 GB, free: 20.71 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006014/1.215, allocations: 3.801 MB / 1.112 GB, free: 16.87 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.005692/1.221, allocations: 1.662 MB / 1.113 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/1.222, allocations: 379.3 kB / 1.114 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of SimCode: time 1.753e-06/1.223, allocations: 0 / 1.114 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of Templates: time 0.1692/1.392, allocations: 103.9 MB / 1.215 GB, free: 8.344 MB / 0.8106 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.270290415734053] Failed to read output from testmodel.py, exit status != 0: 1.4012797642499208 1.416472196 0.980661641 Calling exit ...