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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002/0.002, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002406/0.002406, allocations: 289 kB / 304.8 MB, free: 3.496 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.111/1.111, allocations: 180.9 MB / 0.5282 GB, free: 1.918 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002737/0.002737, allocations: 100.1 kB / 0.7283 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6243/0.627, allocations: 94.16 MB / 0.8203 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06542/0.6924, allocations: 56.94 MB / 0.8759 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02735/0.7198, allocations: 18.15 MB / 0.8936 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003602/0.7234, allocations: 79.56 kB / 0.8937 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003021/0.7264, allocations: 0.9158 MB / 0.8946 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008272/0.7347, allocations: 2.628 MB / 0.8971 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005383/0.74, allocations: 1.542 MB / 0.8986 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02558/0.7656, allocations: 21.3 MB / 0.9194 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0117/0.7773, allocations: 7.081 MB / 0.9264 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01645/0.7938, allocations: 7.254 MB / 0.9334 GB, free: 9.586 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01448/0.8082, allocations: 6.662 MB / 0.9399 GB, free: 2.898 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0045/0.8127, allocations: 0.9375 MB / 0.9409 GB, free: 1.961 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008341/0.8211, allocations: 1.725 MB / 0.9425 GB, free: 240 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00505/0.8261, allocations: 2.433 MB / 0.9449 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.01188/0.838, allocations: 4.711 MB / 0.9495 GB, free: 9.062 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02069/0.8587, allocations: 13.23 MB / 0.9625 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8587, allocations: 0 / 0.9625 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8587, allocations: 0 / 0.9625 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004775/0.8592, allocations: 4 kB / 0.9625 GB, free: 11.78 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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02408/0.8833, allocations: 8.705 MB / 0.971 GB, free: 2.973 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.8833, allocations: 12.03 kB / 0.971 GB, free: 2.961 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004129/0.8874, allocations: 0.8981 MB / 0.9718 GB, free: 2.059 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01416/0.9016, allocations: 6.737 MB / 0.9784 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004252/0.902, allocations: 468.3 kB / 0.9789 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002327/0.9044, allocations: 0.5936 MB / 0.9794 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02072/0.9251, allocations: 9.04 MB / 0.9883 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001431/0.9252, allocations: 23.81 kB / 0.9883 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008224/0.926, allocations: 260 kB / 0.9885 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001771/0.9262, allocations: 183.9 kB / 0.9887 GB, free: 400 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0161/0.9423, allocations: 7.465 MB / 0.996 GB, free: 8.918 MB / 0.7325 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.06783/1.01, allocations: 36.08 MB / 1.031 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007641/1.018, allocations: 3.998 MB / 1.035 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005252/1.023, allocations: 3.032 MB / 1.038 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/1.025, allocations: 0.9622 MB / 1.039 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004547/1.029, allocations: 2.398 MB / 1.041 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002771/1.032, allocations: 397 kB / 1.042 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=317): time 8.966e-06/1.032, allocations: 0 / 1.042 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=317): time 0.01455/1.046, allocations: 7.143 MB / 1.049 GB, free: 0.5391 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.42e-05/1.046, allocations: 81.91 kB / 1.049 GB, free: 456 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01035/1.057, allocations: 5.674 MB / 1.054 GB, free: 10.79 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0008838/1.058, allocations: 85.7 kB / 1.054 GB, free: 10.7 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003814/1.062, allocations: 3.271 MB / 1.058 GB, free: 7.402 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.002101/1.064, allocations: 1.17 MB / 1.059 GB, free: 6.223 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001471/1.065, allocations: 0.8624 MB / 1.06 GB, free: 5.348 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.065, allocations: 309.1 kB / 1.06 GB, free: 5.043 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003854/1.069, allocations: 2.16 MB / 1.062 GB, free: 2.875 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005165/1.074, allocations: 3.701 MB / 1.066 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00968/1.084, allocations: 6.315 MB / 1.072 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-05/1.084, allocations: 20 kB / 1.072 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01285/1.097, allocations: 6.778 MB / 1.078 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.852e-05/1.097, allocations: 53.7 kB / 1.079 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.527e-05/1.097, allocations: 51.98 kB / 1.079 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/1.098, allocations: 442 kB / 1.079 GB, free: 48 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003727/1.102, allocations: 1.002 MB / 1.08 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006765/1.109, allocations: 5.719 MB / 1.086 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005805/1.114, allocations: 283.7 kB / 1.086 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008837/1.115, allocations: 220 kB / 1.086 GB, free: 8.559 MB / 0.8262 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.005583/1.121, allocations: 2.479 MB / 1.088 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001931/1.123, allocations: 0.5513 MB / 1.089 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00951/1.132, allocations: 5.251 MB / 1.094 GB, free: 220 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-05/1.132, allocations: 32 kB / 1.094 GB, free: 188 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/1.132, allocations: 7.984 kB / 1.094 GB, free: 180 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4651/1.597, allocations: 4.52 MB / 1.099 GB, free: 244.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02197/1.619, allocations: 11.96 MB / 1.11 GB, free: 240 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/1.619, allocations: 1.688 kB / 1.11 GB, free: 240 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002776/1.622, allocations: 0.6429 MB / 1.111 GB, free: 239.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008343/1.623, allocations: 375 kB / 1.111 GB, free: 239.8 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002934/1.623, allocations: 83.52 kB / 1.111 GB, free: 239.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004696/1.628, allocations: 5.619 MB / 1.117 GB, free: 235.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.628, allocations: 3 kB / 1.117 GB, free: 235.1 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/1.639, allocations: 7.781 MB / 1.124 GB, free: 231.1 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00267/1.642, allocations: 1.187 MB / 1.126 GB, free: 230.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009194/1.643, allocations: 63.11 kB / 1.126 GB, free: 230.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002801/1.646, allocations: 200.1 kB / 1.126 GB, free: 230.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004134/1.646, allocations: 195 kB / 1.126 GB, free: 230.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002797/1.646, allocations: 140 kB / 1.126 GB, free: 230.3 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.005424/1.652, allocations: 3.961 MB / 1.13 GB, free: 228.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.61e-07/1.652, allocations: 0 / 1.13 GB, free: 228.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.006221/1.658, allocations: 2.027 MB / 1.132 GB, free: 228 MB / 0.8262 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.001237/1.659, allocations: 0.4971 MB / 1.132 GB, free: 227.8 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.006769/1.666, allocations: 5.248 MB / 1.138 GB, free: 223.6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/1.666, allocations: 4 kB / 1.138 GB, free: 223.6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002764/1.669, allocations: 2.371 MB / 1.14 GB, free: 221.2 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01452/1.683, allocations: 3.389 MB / 1.143 GB, free: 218 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01882/1.702, allocations: 14.16 MB / 1.157 GB, free: 203.9 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003061/1.705, allocations: 4.639 MB / 1.162 GB, free: 199.2 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005692/1.711, allocations: 2.085 MB / 1.164 GB, free: 197.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/1.712, allocations: 459.2 kB / 1.164 GB, free: 196.7 MB / 0.8262 GB Notification: Performance of SimCode: time 1.272e-06/1.712, allocations: 3.391 kB / 1.164 GB, free: 196.7 MB / 0.8262 GB Notification: Performance of Templates: time 0.1625/1.875, allocations: 119 MB / 1.28 GB, free: 78.79 MB / 0.8262 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: 10.82324514258653]