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.001708/0.001708, allocations: 78.58 kB / 19.01 MB, free: 2.859 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.002072/0.002072, allocations: 158.4 kB / 22.26 MB, free: 5.105 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.457/1.457, allocations: 177.2 MB / 202.6 MB, free: 9.277 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.002505/0.002505, allocations: 240.5 kB / 259.3 MB, free: 0.5977 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.052/1.052, allocations: 138.5 MB / 454.2 MB, free: 2.039 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: 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.00303/0.00303, allocations: 108.3 kB / 0.6466 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4733/0.4763, allocations: 95.35 MB / 0.7397 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05182/0.5281, allocations: 45.17 MB / 0.7838 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02223/0.5504, allocations: 12.92 MB / 0.7964 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002706/0.5531, allocations: 91.25 kB / 0.7965 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002362/0.5554, allocations: 0.8071 MB / 0.7973 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006691/0.5621, allocations: 2.413 MB / 0.7997 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003456/0.5656, allocations: 1.332 MB / 0.801 GB, free: 268 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.02336/0.5889, allocations: 20.32 MB / 0.8208 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01006/0.599, allocations: 6.466 MB / 0.8271 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02384/0.6228, allocations: 9.432 MB / 0.8363 GB, free: 11.88 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01247/0.6353, allocations: 6.351 MB / 0.8425 GB, free: 5.508 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002917/0.6382, allocations: 0.8438 MB / 0.8434 GB, free: 4.664 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006584/0.6448, allocations: 1.479 MB / 0.8448 GB, free: 3.184 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.004789/0.6496, allocations: 2.212 MB / 0.847 GB, free: 0.9648 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01044/0.66, allocations: 3.502 MB / 0.8504 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02007/0.6801, allocations: 12.19 MB / 0.8623 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.6801, allocations: 4 kB / 0.8623 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6801, allocations: 0 / 0.8623 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004825/0.6806, allocations: 0 / 0.8623 GB, free: 1.219 MB / 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.02484/0.7054, allocations: 7.853 MB / 0.87 GB, free: 9.293 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.7055, allocations: 17.34 kB / 0.87 GB, free: 9.277 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005165/0.7107, allocations: 0.879 MB / 0.8708 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01579/0.7264, allocations: 6.374 MB / 0.8771 GB, free: 1.945 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007046/0.7271, allocations: 415.4 kB / 0.8775 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003175/0.7303, allocations: 0.5506 MB / 0.878 GB, free: 0.9883 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02381/0.7541, allocations: 9.131 MB / 0.8869 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000297/0.7544, allocations: 19.86 kB / 0.8869 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001964/0.7564, allocations: 236 kB / 0.8872 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002366/0.7566, allocations: 156 kB / 0.8873 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01655/0.7732, allocations: 6.516 MB / 0.8937 GB, free: 440 kB / 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.05065/0.8238, allocations: 22.46 MB / 0.9156 GB, free: 9.59 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007117/0.831, allocations: 3.434 MB / 0.919 GB, free: 6.16 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005014/0.836, allocations: 2.573 MB / 0.9215 GB, free: 3.578 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000816/0.8368, allocations: 150 kB / 0.9216 GB, free: 3.43 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.8369, allocations: 80.55 kB / 0.9217 GB, free: 3.34 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=267): time 6.342e-06/0.8369, allocations: 0 / 0.9217 GB, free: 3.34 MB / 0.7481 GB Notification: Performance of matching and sorting (n=267): time 0.01391/0.8508, allocations: 5.557 MB / 0.9271 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/0.8509, allocations: 81.5 kB / 0.9272 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0107/0.8616, allocations: 4.559 MB / 0.9316 GB, free: 9.043 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.001099/0.8627, allocations: 77.7 kB / 0.9317 GB, free: 8.961 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.004957/0.8676, allocations: 2.926 MB / 0.9346 GB, free: 6.016 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.002822/0.8705, allocations: 0.9761 MB / 0.9355 GB, free: 5.031 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003091/0.8735, allocations: 0.7195 MB / 0.9362 GB, free: 4.305 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.8737, allocations: 309.1 kB / 0.9365 GB, free: 4 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003962/0.8777, allocations: 1.674 MB / 0.9382 GB, free: 2.324 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.421/1.299, allocations: 3.032 MB / 0.9411 GB, free: 179.3 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007386/1.306, allocations: 4.963 MB / 0.946 GB, free: 177.4 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.632e-05/1.306, allocations: 13.28 kB / 0.946 GB, free: 177.4 MB / 0.7637 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01188/1.318, allocations: 5.385 MB / 0.9512 GB, free: 175.6 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/1.318, allocations: 24.39 kB / 0.9513 GB, free: 175.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.71e-05/1.318, allocations: 39.44 kB / 0.9513 GB, free: 175.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009721/1.319, allocations: 427 kB / 0.9517 GB, free: 175.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0032/1.322, allocations: 0.8562 MB / 0.9525 GB, free: 175.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004755/1.327, allocations: 5.365 MB / 0.9578 GB, free: 171.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004403/1.331, allocations: 477.4 kB / 0.9582 GB, free: 171.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004866/1.332, allocations: 176.4 kB / 0.9584 GB, free: 171.5 MB / 0.7637 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.003618/1.336, allocations: 2.288 MB / 0.9606 GB, free: 170.6 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001296/1.337, allocations: 452.2 kB / 0.9611 GB, free: 170.6 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005816/1.343, allocations: 4.119 MB / 0.9651 GB, free: 169 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/1.343, allocations: 26.41 kB / 0.9651 GB, free: 169 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/1.343, allocations: 7.344 kB / 0.9651 GB, free: 169 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004112/1.347, allocations: 3.624 MB / 0.9687 GB, free: 166.9 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/1.361, allocations: 8.884 MB / 0.9773 GB, free: 158.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/1.361, allocations: 8 kB / 0.9773 GB, free: 158.2 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00192/1.363, allocations: 0.4991 MB / 0.9778 GB, free: 157.7 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007486/1.364, allocations: 370.5 kB / 0.9782 GB, free: 157.3 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001782/1.364, allocations: 79.95 kB / 0.9783 GB, free: 157.3 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004077/1.368, allocations: 5.309 MB / 0.9834 GB, free: 151.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.368, allocations: 7.938 kB / 0.9835 GB, free: 151.8 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007757/1.376, allocations: 6.189 MB / 0.9895 GB, free: 145.4 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002566/1.378, allocations: 0.983 MB / 0.9905 GB, free: 144.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007283/1.379, allocations: 63.8 kB / 0.9905 GB, free: 144.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002419/1.381, allocations: 165.4 kB / 0.9907 GB, free: 144.3 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002819/1.382, allocations: 185.5 kB / 0.9909 GB, free: 144.1 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002149/1.382, allocations: 131.9 kB / 0.991 GB, free: 144 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003604/1.386, allocations: 3.108 MB / 0.994 GB, free: 140.8 MB / 0.7637 GB Notification: Performance of sort global known variables: time 7e-08/1.386, allocations: 0 / 0.994 GB, free: 140.8 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.005459/1.391, allocations: 1.896 MB / 0.9959 GB, free: 139.1 MB / 0.7637 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.001005/1.392, allocations: 471 kB / 0.9963 GB, free: 138.7 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005452/1.397, allocations: 4.126 MB / 1 GB, free: 134.6 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/1.397, allocations: 4.766 kB / 1 GB, free: 134.6 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002203/1.4, allocations: 1.933 MB / 1.002 GB, free: 132.6 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01243/1.412, allocations: 2.623 MB / 1.005 GB, free: 130.1 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01744/1.43, allocations: 12.51 MB / 1.017 GB, free: 117.6 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003256/1.433, allocations: 3.801 MB / 1.021 GB, free: 113.7 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004548/1.437, allocations: 1.661 MB / 1.022 GB, free: 112.1 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/1.439, allocations: 388.3 kB / 1.023 GB, free: 111.7 MB / 0.7637 GB Notification: Performance of SimCode: time 1.723e-06/1.439, allocations: 0 / 1.023 GB, free: 111.7 MB / 0.7637 GB Notification: Performance of Templates: time 0.1209/1.559, allocations: 94.84 MB / 1.115 GB, free: 18.33 MB / 0.7637 GB " [Timeout remaining time 658] 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.702864289283752] Failed to read output from testmodel.py, exit status != 0: 1.5684234742075205 1.577500026 0.894974293 Calling exit ...