Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.688/1.688, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 174.9 kB / 327.6 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.942/1.942, allocations: 205.4 MB / 0.5786 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008698/0.0008699, allocations: 85.88 kB / 0.6832 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00043/0.00043, allocations: 13.62 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2291, allocations: 106.3 MB / 0.9014 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.03755/0.2667, allocations: 54.55 MB / 0.9547 GB, free: 8.809 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01975/0.2864, allocations: 17.62 MB / 0.9719 GB, free: 7.141 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003244/0.2897, allocations: 63.56 kB / 0.972 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002585/0.2923, allocations: 0.7263 MB / 0.9727 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008501/0.3009, allocations: 2.298 MB / 0.9749 GB, free: 4.039 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00369/0.3046, allocations: 1.343 MB / 0.9762 GB, free: 2.703 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.02442/0.329, allocations: 27.67 MB / 1.003 GB, free: 6.961 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01093/0.34, allocations: 8.39 MB / 1.011 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01121/0.3512, allocations: 5.33 MB / 1.017 GB, free: 9.117 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01057/0.3619, allocations: 5.803 MB / 1.022 GB, free: 3.289 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001985/0.3639, allocations: 348 kB / 1.023 GB, free: 2.949 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005661/0.3696, allocations: 1.03 MB / 1.024 GB, free: 1.918 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002891/0.3725, allocations: 1.576 MB / 1.025 GB, free: 344 kB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.008472/0.381, allocations: 3.854 MB / 1.029 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01232/0.3933, allocations: 10.26 MB / 1.039 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3934, allocations: 3.938 kB / 1.039 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.113e-06/0.3934, allocations: 0 / 1.039 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004376/0.3938, allocations: 4 kB / 1.039 GB, free: 2.164 MB / 0.6823 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.01723/0.4111, allocations: 6.846 MB / 1.046 GB, free: 11.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.4111, allocations: 8.031 kB / 1.046 GB, free: 11.22 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004445/0.4156, allocations: 0.847 MB / 1.047 GB, free: 10.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0141/0.4297, allocations: 6.548 MB / 1.053 GB, free: 3.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006133/0.4304, allocations: 464.6 kB / 1.053 GB, free: 3.293 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002481/0.4329, allocations: 0.5936 MB / 1.054 GB, free: 2.699 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4877/0.9206, allocations: 8.923 MB / 1.063 GB, free: 137.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000309/0.921, allocations: 19.25 kB / 1.063 GB, free: 137.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001531/0.9225, allocations: 263.9 kB / 1.063 GB, free: 137.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001918/0.9227, allocations: 177.4 kB / 1.063 GB, free: 137.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01957/0.9423, allocations: 7.494 MB / 1.07 GB, free: 137.1 MB / 0.698 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.05144/0.9938, allocations: 35.12 MB / 1.105 GB, free: 110.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006419/1, allocations: 4.421 MB / 1.109 GB, free: 108.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004603/1.005, allocations: 3.377 MB / 1.112 GB, free: 105.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/1.006, allocations: 0.9897 MB / 1.113 GB, free: 104.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003805/1.01, allocations: 2.398 MB / 1.116 GB, free: 102.4 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002987/1.013, allocations: 441 kB / 1.116 GB, free: 101.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=329): time 1.186e-05/1.013, allocations: 0 / 1.116 GB, free: 101.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=329): time 0.01441/1.027, allocations: 7.247 MB / 1.123 GB, free: 94.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/1.028, allocations: 91.47 kB / 1.123 GB, free: 94.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008915/1.036, allocations: 5.352 MB / 1.128 GB, free: 89.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007174/1.037, allocations: 89.7 kB / 1.129 GB, free: 89.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002641/1.04, allocations: 3.135 MB / 1.132 GB, free: 85.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001405/1.041, allocations: 1.161 MB / 1.133 GB, free: 84.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004989/1.042, allocations: 96 kB / 1.133 GB, free: 84.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002752/1.042, allocations: 495.8 kB / 1.133 GB, free: 84.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00328/1.045, allocations: 2.191 MB / 1.135 GB, free: 81.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003824/1.049, allocations: 3.68 MB / 1.139 GB, free: 77.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007224/1.056, allocations: 6.335 MB / 1.145 GB, free: 70.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-05/1.057, allocations: 16 kB / 1.145 GB, free: 70.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01055/1.067, allocations: 6.81 MB / 1.152 GB, free: 63.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.562e-05/1.067, allocations: 53.7 kB / 1.152 GB, free: 63.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.469e-05/1.067, allocations: 48 kB / 1.152 GB, free: 63.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/1.068, allocations: 435.3 kB / 1.152 GB, free: 63.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003759/1.072, allocations: 1.025 MB / 1.153 GB, free: 62.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004656/1.077, allocations: 5.249 MB / 1.159 GB, free: 56.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005603/1.082, allocations: 470.8 kB / 1.159 GB, free: 56.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007103/1.083, allocations: 220 kB / 1.159 GB, free: 55.98 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 214 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (548): * Single equations (assignments): 545 * 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.004269/1.087, allocations: 2.452 MB / 1.162 GB, free: 53.51 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001584/1.089, allocations: 0.525 MB / 1.162 GB, free: 52.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009354/1.098, allocations: 5.36 MB / 1.167 GB, free: 47.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.019e-05/1.098, allocations: 32 kB / 1.167 GB, free: 47.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.09e-05/1.098, allocations: 7.938 kB / 1.167 GB, free: 47.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00607/1.104, allocations: 4.611 MB / 1.172 GB, free: 42.82 MB / 0.698 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 postOpt removeSimpleEquations (simulation): time 0.02261/1.127, allocations: 12.08 MB / 1.184 GB, free: 30.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/1.127, allocations: 0 / 1.184 GB, free: 30.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00293/1.13, allocations: 0.6711 MB / 1.184 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008197/1.131, allocations: 371.7 kB / 1.185 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004099/1.131, allocations: 91.95 kB / 1.185 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004186/1.136, allocations: 5.176 MB / 1.19 GB, free: 24.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.136, allocations: 0 / 1.19 GB, free: 24.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01091/1.147, allocations: 7.746 MB / 1.197 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00345/1.15, allocations: 1.205 MB / 1.199 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001607/1.152, allocations: 64 kB / 1.199 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00489/1.157, allocations: 478.9 kB / 1.199 GB, free: 14.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005917/1.157, allocations: 210.2 kB / 1.199 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004307/1.158, allocations: 131.9 kB / 1.199 GB, free: 14.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.006484/1.164, allocations: 3.729 MB / 1.203 GB, free: 10.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.02e-07/1.164, allocations: 0 / 1.203 GB, free: 10.45 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006813/1.171, allocations: 1.99 MB / 1.205 GB, free: 8.473 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (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,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,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 (308): * Single equations (assignments): 301 * 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.001419/1.172, allocations: 483.4 kB / 1.205 GB, free: 8.039 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008171/1.181, allocations: 5.446 MB / 1.211 GB, free: 2.543 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/1.181, allocations: 8.25 kB / 1.211 GB, free: 2.535 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003861/1.185, allocations: 2.557 MB / 1.213 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01879/1.203, allocations: 3.234 MB / 1.216 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03211/1.235, allocations: 16.93 MB / 1.233 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006144/1.242, allocations: 4.528 MB / 1.237 GB, free: 7.223 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002558/1.244, allocations: 491.2 kB / 1.238 GB, free: 6.742 MB / 0.7292 GB Notification: Performance of SimCode: time 1.112e-06/1.244, allocations: 0 / 1.238 GB, free: 6.742 MB / 0.7292 GB Notification: Performance of Templates: time 0.6271/1.871, allocations: 183.3 MB / 1.417 GB, free: 283.2 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)