Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009814/0.0009815, allocations: 98.19 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008096/0.008096, allocations: 169.8 kB / 16.27 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.3 MB / 240.3 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.976/2.976, allocations: 473.4 MB / 0.7469 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003921, allocations: 8.594 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3748, allocations: 162.2 MB / 1.074 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05703/0.4319, allocations: 54.55 MB / 1.127 GB, free: 0.8359 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02521/0.4572, allocations: 17.74 MB / 1.145 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00352/0.4607, allocations: 67.56 kB / 1.145 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002963/0.4637, allocations: 0.7224 MB / 1.145 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008979/0.4727, allocations: 2.321 MB / 1.148 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004694/0.4774, allocations: 1.387 MB / 1.149 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.029/0.5065, allocations: 27.8 MB / 1.176 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0131/0.5196, allocations: 8.421 MB / 1.184 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01339/0.533, allocations: 5.205 MB / 1.19 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01313/0.5462, allocations: 5.791 MB / 1.195 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.002724/0.549, allocations: 348 kB / 1.196 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007199/0.5562, allocations: 1.026 MB / 1.197 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0046/0.5609, allocations: 1.591 MB / 1.198 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.01192/0.5728, allocations: 3.897 MB / 1.202 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.02044/0.5933, allocations: 12.29 MB / 1.214 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.5934, allocations: 7.984 kB / 1.214 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.427e-06/0.5934, allocations: 0 / 1.214 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0005108/0.5939, allocations: 0 / 1.214 GB, free: 7.883 MB / 0.9669 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.01913/0.613, allocations: 6.878 MB / 1.221 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.6131, allocations: 8.031 kB / 1.221 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005267/0.6184, allocations: 0.8586 MB / 1.221 GB, free: 40 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01512/0.6335, allocations: 6.61 MB / 1.228 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006732/0.6343, allocations: 464.3 kB / 1.228 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003511/0.6378, allocations: 0.6014 MB / 1.229 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02829/0.6661, allocations: 9.032 MB / 1.238 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004061/0.6666, allocations: 15.88 kB / 1.238 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002196/0.6688, allocations: 260 kB / 1.238 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002526/0.6691, allocations: 180 kB / 1.238 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01897/0.6881, allocations: 7.465 MB / 1.246 GB, free: 7.035 MB / 0.9981 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 1.299/1.987, allocations: 35.97 MB / 1.281 GB, free: 143.1 MB / 0.9982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009174/1.997, allocations: 4.293 MB / 1.285 GB, free: 141.5 MB / 0.9982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007291/2.004, allocations: 3.329 MB / 1.288 GB, free: 140.4 MB / 0.9982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001491/2.006, allocations: 0.9865 MB / 1.289 GB, free: 139.5 MB / 0.9982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006214/2.012, allocations: 2.397 MB / 1.291 GB, free: 138.6 MB / 0.9982 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00422/2.016, allocations: 441.4 kB / 1.292 GB, free: 138.4 MB / 0.9982 GB Notification: Performance of pre-optimization done (n=317): time 3.807e-05/2.016, allocations: 1.031 kB / 1.292 GB, free: 138.4 MB / 0.9982 GB Notification: Performance of matching and sorting (n=317): time 0.01765/2.034, allocations: 7.14 MB / 1.299 GB, free: 135.8 MB / 0.9982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.018e-05/2.034, allocations: 84.62 kB / 1.299 GB, free: 135.7 MB / 0.9982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01442/2.048, allocations: 5.47 MB / 1.304 GB, free: 133.2 MB / 0.9982 GB Notification: Performance of collectPreVariables (initialization): time 0.001017/2.049, allocations: 90.39 kB / 1.304 GB, free: 133.2 MB / 0.9982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003644/2.053, allocations: 3.189 MB / 1.307 GB, free: 130.4 MB / 0.9982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001962/2.055, allocations: 1.12 MB / 1.309 GB, free: 129.5 MB / 0.9982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001198/2.056, allocations: 366.2 kB / 1.309 GB, free: 129.2 MB / 0.9982 GB Notification: Performance of setup shared object (initialization): time 4.643e-05/2.056, allocations: 301.1 kB / 1.309 GB, free: 129 MB / 0.9982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004212/2.061, allocations: 2.158 MB / 1.311 GB, free: 127.8 MB / 0.9982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004847/2.065, allocations: 3.692 MB / 1.315 GB, free: 124.7 MB / 0.9982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008446/2.074, allocations: 6.315 MB / 1.321 GB, free: 120 MB / 0.9982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-05/2.074, allocations: 16.69 kB / 1.321 GB, free: 120 MB / 0.9982 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01364/2.088, allocations: 6.76 MB / 1.328 GB, free: 116.5 MB / 0.9982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/2.088, allocations: 55.8 kB / 1.328 GB, free: 116.5 MB / 0.9982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.837e-05/2.088, allocations: 52.19 kB / 1.328 GB, free: 116.5 MB / 0.9982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/2.089, allocations: 439.9 kB / 1.328 GB, free: 116.3 MB / 0.9982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004038/2.093, allocations: 1.007 MB / 1.329 GB, free: 116.1 MB / 0.9982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004957/2.098, allocations: 5.267 MB / 1.334 GB, free: 111.6 MB / 0.9982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007302/2.105, allocations: 470.6 kB / 1.335 GB, free: 111.1 MB / 0.9982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009088/2.106, allocations: 216 kB / 1.335 GB, free: 110.9 MB / 0.9982 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.005467/2.112, allocations: 2.48 MB / 1.337 GB, free: 108.4 MB / 0.9982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002112/2.114, allocations: 0.5249 MB / 1.338 GB, free: 107.9 MB / 0.9982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009889/2.124, allocations: 5.267 MB / 1.343 GB, free: 102.5 MB / 0.9982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-05/2.124, allocations: 31.98 kB / 1.343 GB, free: 102.5 MB / 0.9982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.26e-05/2.124, allocations: 4 kB / 1.343 GB, free: 102.5 MB / 0.9982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006069/2.13, allocations: 4.536 MB / 1.347 GB, free: 97.87 MB / 0.9982 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.0249/2.155, allocations: 11.98 MB / 1.359 GB, free: 85.77 MB / 0.9982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/2.155, allocations: 0 / 1.359 GB, free: 85.77 MB / 0.9982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002779/2.158, allocations: 0.6516 MB / 1.36 GB, free: 85.12 MB / 0.9982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008272/2.159, allocations: 375.2 kB / 1.36 GB, free: 84.75 MB / 0.9982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004422/2.159, allocations: 83.95 kB / 1.36 GB, free: 84.67 MB / 0.9982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004639/2.164, allocations: 5.191 MB / 1.365 GB, free: 79.22 MB / 0.9982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/2.164, allocations: 0 / 1.365 GB, free: 79.22 MB / 0.9982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01257/2.176, allocations: 7.63 MB / 1.373 GB, free: 71.5 MB / 0.9982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003926/2.18, allocations: 1.221 MB / 1.374 GB, free: 70.25 MB / 0.9982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002191/2.182, allocations: 67.98 kB / 1.374 GB, free: 70.19 MB / 0.9982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005479/2.188, allocations: 475.1 kB / 1.374 GB, free: 69.73 MB / 0.9982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005762/2.189, allocations: 198.2 kB / 1.375 GB, free: 69.53 MB / 0.9982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004558/2.189, allocations: 135.9 kB / 1.375 GB, free: 69.4 MB / 0.9982 GB Notification: Performance of sorting global known variables: time 0.007095/2.196, allocations: 3.811 MB / 1.379 GB, free: 65.61 MB / 0.9982 GB Notification: Performance of sort global known variables: time 4.11e-07/2.196, allocations: 0 / 1.379 GB, free: 65.61 MB / 0.9982 GB Notification: Performance of remove unused functions: time 0.007464/2.204, allocations: 1.986 MB / 1.38 GB, free: 63.64 MB / 0.9982 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.001546/2.205, allocations: 493.2 kB / 1.381 GB, free: 63.19 MB / 0.9982 GB Notification: Performance of simCode: created initialization part: time 0.008336/2.214, allocations: 5.389 MB / 1.386 GB, free: 57.75 MB / 0.9982 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/2.214, allocations: 0 / 1.386 GB, free: 57.75 MB / 0.9982 GB Notification: Performance of simCode: created simulation system equations: time 0.003706/2.217, allocations: 2.518 MB / 1.389 GB, free: 55.2 MB / 0.9982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01947/2.237, allocations: 3.227 MB / 1.392 GB, free: 52.05 MB / 0.9982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02944/2.266, allocations: 16.68 MB / 1.408 GB, free: 35.32 MB / 0.9982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006581/2.273, allocations: 4.631 MB / 1.413 GB, free: 30.65 MB / 0.9982 GB Notification: Performance of simCode: alias equations: time 0.01127/2.284, allocations: 1.982 MB / 1.415 GB, free: 28.67 MB / 0.9982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003092/2.287, allocations: 459.2 kB / 1.415 GB, free: 28.22 MB / 0.9982 GB Notification: Performance of SimCode: time 2.154e-06/2.287, allocations: 0 / 1.415 GB, free: 28.22 MB / 0.9982 GB Notification: Performance of Templates: time 0.1956/2.483, allocations: 114.9 MB / 1.527 GB, free: 10.34 MB / 1.092 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)