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.001342/0.001342, allocations: 104.4 kB / 19.7 MB, free: 2.137 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.001452/0.001452, allocations: 217.4 kB / 22.99 MB, free: 4.965 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.44/1.44, allocations: 230.6 MB / 256.8 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.002482/0.002482, allocations: 300.3 kB / 313.5 MB, free: 2.609 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.243/1.243, allocations: 180.6 MB / 0.5377 GB, free: 14.36 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.002878/0.002878, allocations: 122.3 kB / 0.7407 GB, free: 27.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1853, allocations: 95.37 MB / 0.8339 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05269/0.238, allocations: 45.4 MB / 0.8782 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02117/0.2592, allocations: 12.95 MB / 0.8908 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002549/0.2617, allocations: 95.25 kB / 0.8909 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002887/0.2646, allocations: 0.8032 MB / 0.8917 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007306/0.2719, allocations: 2.394 MB / 0.894 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003951/0.2759, allocations: 1.348 MB / 0.8954 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02328/0.2991, allocations: 20.31 MB / 0.9152 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01134/0.3105, allocations: 6.459 MB / 0.9215 GB, free: 13.66 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01461/0.3251, allocations: 6.716 MB / 0.9281 GB, free: 6.969 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01227/0.3374, allocations: 6.351 MB / 0.9343 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.003156/0.3405, allocations: 0.8477 MB / 0.9351 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006901/0.3474, allocations: 1.479 MB / 0.9365 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004486/0.3519, allocations: 2.212 MB / 0.9387 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.008705/0.3606, allocations: 3.506 MB / 0.9421 GB, free: 8.527 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01972/0.3803, allocations: 12.19 MB / 0.954 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/0.3803, allocations: 8 kB / 0.954 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.785e-06/0.3803, allocations: 0 / 0.954 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004726/0.3808, allocations: 0 / 0.954 GB, free: 12.29 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.02288/0.4037, allocations: 7.849 MB / 0.9617 GB, free: 4.371 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.4037, allocations: 13.34 kB / 0.9617 GB, free: 4.359 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004424/0.4082, allocations: 0.875 MB / 0.9626 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01403/0.4222, allocations: 6.382 MB / 0.9688 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004788/0.4227, allocations: 415.4 kB / 0.9692 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001966/0.4246, allocations: 0.5467 MB / 0.9697 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02147/0.4461, allocations: 9.127 MB / 0.9786 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001733/0.4463, allocations: 19.92 kB / 0.9787 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009824/0.4473, allocations: 236 kB / 0.9789 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001879/0.4475, allocations: 167.9 kB / 0.9791 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3933/0.8408, allocations: 6.51 MB / 0.9854 GB, free: 133.3 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.04015/0.8809, allocations: 22.46 MB / 1.007 GB, free: 120.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004935/0.8859, allocations: 3.423 MB / 1.011 GB, free: 119.1 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003248/0.8891, allocations: 2.587 MB / 1.013 GB, free: 117.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005903/0.8897, allocations: 142.7 kB / 1.013 GB, free: 117.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.8897, allocations: 69.86 kB / 1.013 GB, free: 117.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 5.019e-06/0.8898, allocations: 7.688 kB / 1.013 GB, free: 117.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.009251/0.899, allocations: 5.57 MB / 1.019 GB, free: 114.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.899, allocations: 79.77 kB / 1.019 GB, free: 114.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006234/0.9053, allocations: 4.55 MB / 1.023 GB, free: 109.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0007009/0.906, allocations: 81.64 kB / 1.023 GB, free: 109.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001833/0.9078, allocations: 2.922 MB / 1.026 GB, free: 106.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001394/0.9092, allocations: 0.9876 MB / 1.027 GB, free: 106 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008982/0.9101, allocations: 0.7195 MB / 1.028 GB, free: 105.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.208e-05/0.9102, allocations: 307.2 kB / 1.028 GB, free: 105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002017/0.9122, allocations: 1.674 MB / 1.03 GB, free: 103.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002403/0.9146, allocations: 3.024 MB / 1.033 GB, free: 99.71 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004667/0.9193, allocations: 4.972 MB / 1.038 GB, free: 94.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.551e-05/0.9193, allocations: 15.22 kB / 1.038 GB, free: 94.19 MB / 0.7169 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007497/0.9268, allocations: 5.387 MB / 1.043 GB, free: 88.78 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.496e-05/0.9268, allocations: 20 kB / 1.043 GB, free: 88.76 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.02e-05/0.9268, allocations: 40 kB / 1.043 GB, free: 88.72 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007942/0.9276, allocations: 421.8 kB / 1.043 GB, free: 88.31 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002619/0.9303, allocations: 0.858 MB / 1.044 GB, free: 87.45 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004235/0.9345, allocations: 5.372 MB / 1.05 GB, free: 81.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004353/0.9388, allocations: 470 kB / 1.05 GB, free: 81.53 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007253/0.9396, allocations: 184 kB / 1.05 GB, free: 81.35 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.004094/0.9437, allocations: 2.283 MB / 1.052 GB, free: 79.05 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001567/0.9452, allocations: 453.1 kB / 1.053 GB, free: 78.61 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005741/0.951, allocations: 4.108 MB / 1.057 GB, free: 74.45 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/0.951, allocations: 28 kB / 1.057 GB, free: 74.42 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.951, allocations: 4 kB / 1.057 GB, free: 74.41 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003891/0.9549, allocations: 3.626 MB / 1.06 GB, free: 70.67 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/0.9706, allocations: 8.882 MB / 1.069 GB, free: 61.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.9706, allocations: 4 kB / 1.069 GB, free: 61.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/0.9725, allocations: 0.4958 MB / 1.07 GB, free: 61.21 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007233/0.9732, allocations: 379.2 kB / 1.07 GB, free: 60.83 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00022/0.9735, allocations: 83.77 kB / 1.07 GB, free: 60.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004019/0.9775, allocations: 5.298 MB / 1.075 GB, free: 55.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.9775, allocations: 11.88 kB / 1.075 GB, free: 55.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007912/0.9854, allocations: 6.184 MB / 1.081 GB, free: 48.89 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003181/0.9886, allocations: 0.9866 MB / 1.082 GB, free: 47.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001139/0.9897, allocations: 71.92 kB / 1.082 GB, free: 47.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002828/0.9926, allocations: 174.2 kB / 1.082 GB, free: 47.67 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/0.9928, allocations: 181.5 kB / 1.083 GB, free: 47.49 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002334/0.9931, allocations: 127.9 kB / 1.083 GB, free: 47.37 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003935/0.997, allocations: 3.116 MB / 1.086 GB, free: 44.25 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.997, allocations: 0 / 1.086 GB, free: 44.25 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005039/1.002, allocations: 1.89 MB / 1.088 GB, free: 42.35 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.0009044/1.003, allocations: 467.6 kB / 1.088 GB, free: 41.91 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005394/1.008, allocations: 4.137 MB / 1.092 GB, free: 37.73 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.008, allocations: 0 / 1.092 GB, free: 37.73 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002357/1.011, allocations: 1.922 MB / 1.094 GB, free: 35.78 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01089/1.022, allocations: 2.62 MB / 1.097 GB, free: 33.25 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0169/1.038, allocations: 12.58 MB / 1.109 GB, free: 20.59 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002879/1.041, allocations: 3.737 MB / 1.112 GB, free: 16.82 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/1.043, allocations: 403.3 kB / 1.113 GB, free: 16.42 MB / 0.7169 GB Notification: Performance of SimCode: time 1.202e-06/1.043, allocations: 0 / 1.113 GB, free: 16.42 MB / 0.7169 GB Notification: Performance of Templates: time 0.2204/1.263, allocations: 166.2 MB / 1.275 GB, free: 10.49 MB / 0.8731 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: 22.126666258089244] Failed to read output from testmodel.py, exit status != 0: 1.2727347728796303 1.288557043 0.904645376 Calling exit ...