Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.001479/0.001479, allocations: 109.4 kB / 18.94 MB, free: 2.949 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.001648/0.001648, allocations: 219.2 kB / 22.26 MB, free: 5.125 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 8 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.002742/0.002742, allocations: 289.8 kB / 312.7 MB, free: 2.812 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.284/1.284, allocations: 180.6 MB / 0.5369 GB, free: 12.99 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.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") [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.00312/0.00312, allocations: 100.4 kB / 0.7401 GB, free: 27.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1995, allocations: 95.38 MB / 0.8332 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06588/0.2654, allocations: 57.19 MB / 0.8891 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02808/0.2935, allocations: 18.19 MB / 0.9068 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002871/0.2964, allocations: 103.2 kB / 0.9069 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002664/0.299, allocations: 0.9274 MB / 0.9078 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00831/0.3073, allocations: 2.679 MB / 0.9104 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004686/0.312, allocations: 1.602 MB / 0.912 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.02813/0.3401, allocations: 21.8 MB / 0.9333 GB, free: 1.328 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0126/0.3527, allocations: 7.101 MB / 0.9402 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01739/0.3701, allocations: 7.339 MB / 0.9474 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01396/0.3841, allocations: 6.67 MB / 0.9539 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002867/0.387, allocations: 0.9375 MB / 0.9548 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006517/0.3935, allocations: 1.779 MB / 0.9566 GB, free: 9.375 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.00363/0.3971, allocations: 2.434 MB / 0.9589 GB, free: 6.934 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.009535/0.4067, allocations: 4.707 MB / 0.9635 GB, free: 2.207 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.02028/0.4269, allocations: 13.29 MB / 0.9765 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.4269, allocations: 0 / 0.9765 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.454e-06/0.4269, allocations: 3.938 kB / 0.9765 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004005/0.4273, allocations: 4 kB / 0.9765 GB, free: 4.867 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.838/1.265, allocations: 8.625 MB / 0.9849 GB, free: 134.3 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/1.265, allocations: 15.09 kB / 0.985 GB, free: 134.3 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004614/1.27, allocations: 0.9561 MB / 0.9859 GB, free: 133.9 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01407/1.284, allocations: 6.763 MB / 0.9925 GB, free: 131.2 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000524/1.285, allocations: 457.4 kB / 0.9929 GB, free: 131 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002308/1.287, allocations: 0.6019 MB / 0.9935 GB, free: 130.8 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02383/1.311, allocations: 9.043 MB / 1.002 GB, free: 126.8 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001594/1.311, allocations: 20.81 kB / 1.002 GB, free: 126.8 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008672/1.312, allocations: 258.8 kB / 1.003 GB, free: 126.6 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002217/1.312, allocations: 179.3 kB / 1.003 GB, free: 126.6 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/1.327, allocations: 7.473 MB / 1.01 GB, free: 122.8 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.04865/1.375, allocations: 35.99 MB / 1.045 GB, free: 85.89 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005715/1.381, allocations: 4.002 MB / 1.049 GB, free: 81.9 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004094/1.385, allocations: 3.033 MB / 1.052 GB, free: 78.87 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/1.386, allocations: 216.9 kB / 1.052 GB, free: 78.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003821/1.39, allocations: 2.39 MB / 1.055 GB, free: 76.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003225/1.393, allocations: 400.3 kB / 1.055 GB, free: 75.92 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=317): time 1.493e-05/1.393, allocations: 0 / 1.055 GB, free: 75.92 MB / 0.7169 GB Notification: Performance of matching and sorting (n=317): time 0.013/1.406, allocations: 6.993 MB / 1.062 GB, free: 68.88 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/1.406, allocations: 93.89 kB / 1.062 GB, free: 68.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01004/1.417, allocations: 5.686 MB / 1.067 GB, free: 63.11 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0008973/1.417, allocations: 85.7 kB / 1.068 GB, free: 63.02 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00287/1.42, allocations: 3.275 MB / 1.071 GB, free: 59.71 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001476/1.422, allocations: 1.17 MB / 1.072 GB, free: 58.54 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/1.423, allocations: 0.8624 MB / 1.073 GB, free: 57.66 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.209e-05/1.423, allocations: 301.1 kB / 1.073 GB, free: 57.36 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00263/1.425, allocations: 2.163 MB / 1.075 GB, free: 55.19 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003126/1.429, allocations: 3.697 MB / 1.079 GB, free: 50.79 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006152/1.435, allocations: 6.315 MB / 1.085 GB, free: 43.76 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-05/1.435, allocations: 16 kB / 1.085 GB, free: 43.74 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01036/1.445, allocations: 6.79 MB / 1.092 GB, free: 36.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.775e-05/1.445, allocations: 59.2 kB / 1.092 GB, free: 36.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.532e-05/1.445, allocations: 51.98 kB / 1.092 GB, free: 36.79 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009402/1.446, allocations: 435.9 kB / 1.092 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003199/1.449, allocations: 1.002 MB / 1.093 GB, free: 35.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004507/1.454, allocations: 5.495 MB / 1.098 GB, free: 29.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005462/1.459, allocations: 283.6 kB / 1.099 GB, free: 29.37 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006949/1.46, allocations: 228 kB / 1.099 GB, free: 29.14 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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.004403/1.464, allocations: 2.476 MB / 1.101 GB, free: 26.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002121/1.467, allocations: 0.5552 MB / 1.102 GB, free: 26.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008981/1.476, allocations: 5.257 MB / 1.107 GB, free: 20.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.683e-05/1.476, allocations: 32 kB / 1.107 GB, free: 20.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/1.476, allocations: 4 kB / 1.107 GB, free: 20.77 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005838/1.481, allocations: 4.533 MB / 1.111 GB, free: 16.13 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02511/1.507, allocations: 12.01 MB / 1.123 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/1.507, allocations: 8.125 kB / 1.123 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00286/1.509, allocations: 0.6433 MB / 1.124 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008486/1.51, allocations: 373.2 kB / 1.124 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004229/1.511, allocations: 87.95 kB / 1.124 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005513/1.516, allocations: 5.404 MB / 1.13 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.516, allocations: 0 / 1.13 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01455/1.531, allocations: 7.787 MB / 1.137 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00453/1.535, allocations: 1.146 MB / 1.138 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001825/1.537, allocations: 67.98 kB / 1.138 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00409/1.541, allocations: 198.5 kB / 1.139 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005194/1.542, allocations: 214 kB / 1.139 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004408/1.542, allocations: 147.9 kB / 1.139 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.008107/1.55, allocations: 3.963 MB / 1.143 GB, free: 15.66 MB / 0.7482 GB Notification: Performance of sort global known variables: time 5.61e-07/1.55, allocations: 0 / 1.143 GB, free: 15.66 MB / 0.7482 GB Notification: Performance of remove unused functions: time 0.008209/1.559, allocations: 2.023 MB / 1.145 GB, free: 13.64 MB / 0.7482 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.001494/1.56, allocations: 488 kB / 1.145 GB, free: 13.16 MB / 0.7482 GB Notification: Performance of simCode: created initialization part: time 0.009858/1.57, allocations: 5.24 MB / 1.15 GB, free: 7.867 MB / 0.7482 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/1.57, allocations: 4 kB / 1.15 GB, free: 7.863 MB / 0.7482 GB Notification: Performance of simCode: created simulation system equations: time 0.004317/1.574, allocations: 2.374 MB / 1.153 GB, free: 5.461 MB / 0.7482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01812/1.592, allocations: 3.383 MB / 1.156 GB, free: 2.18 MB / 0.7482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02714/1.619, allocations: 14.17 MB / 1.17 GB, free: 3.949 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005391/1.625, allocations: 4.643 MB / 1.174 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.006689/1.632, allocations: 2.072 MB / 1.176 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001797/1.633, allocations: 471.1 kB / 1.177 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of SimCode: time 1.573e-06/1.633, allocations: 0 / 1.177 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of Templates: time 0.2164/1.85, allocations: 120.7 MB / 1.295 GB, free: 4.949 MB / 0.8888 GB " [Timeout remaining time 658] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.603874495020136] Failed to read output from testmodel.py, exit status != 0: 1.8595756979193538 1.876249414 1.445754379 Calling exit ...