Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001259/0.001259, allocations: 107.7 kB / 15.99 MB, free: 6.348 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.001233/0.001233, allocations: 191.3 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.1 MB / 222.8 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.681/1.681, allocations: 292.3 MB / 0.5492 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 65.05 kB / 0.6716 GB, free: 26.53 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2639, allocations: 114.6 MB / 0.7835 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05376/0.3178, allocations: 55.53 MB / 0.8377 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02553/0.3433, allocations: 17.72 MB / 0.855 GB, free: 4.441 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004512/0.3479, allocations: 63.62 kB / 0.8551 GB, free: 4.379 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00345/0.3515, allocations: 0.7576 MB / 0.8558 GB, free: 3.617 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0084/0.3599, allocations: 2.302 MB / 0.8581 GB, free: 1.305 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004402/0.3643, allocations: 1.394 MB / 0.8595 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.02491/0.3892, allocations: 21.2 MB / 0.8802 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01467/0.404, allocations: 10.57 MB / 0.8905 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0173/0.4213, allocations: 7.227 MB / 0.8975 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0125/0.4339, allocations: 6.541 MB / 0.9039 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00364/0.4375, allocations: 0.9297 MB / 0.9048 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007889/0.4455, allocations: 1.698 MB / 0.9065 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.004773/0.4503, allocations: 2.329 MB / 0.9088 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.01175/0.4621, allocations: 4.665 MB / 0.9133 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.5369/0.999, allocations: 10.7 MB / 0.9238 GB, free: 46.02 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.9991, allocations: 0 / 0.9238 GB, free: 46.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.265e-06/0.9991, allocations: 0 / 0.9238 GB, free: 46.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0004977/0.9996, allocations: 0.8438 kB / 0.9238 GB, free: 46.02 MB / 0.7325 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.02694/1.027, allocations: 8.447 MB / 0.932 GB, free: 43.23 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/1.027, allocations: 9.156 kB / 0.932 GB, free: 43.23 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005794/1.032, allocations: 0.8456 MB / 0.9329 GB, free: 42.83 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01592/1.048, allocations: 6.502 MB / 0.9392 GB, free: 41.88 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000629/1.049, allocations: 460.7 kB / 0.9396 GB, free: 41.86 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003031/1.052, allocations: 0.5976 MB / 0.9402 GB, free: 41.85 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02759/1.08, allocations: 9.024 MB / 0.949 GB, free: 40.89 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003238/1.08, allocations: 22.56 kB / 0.9491 GB, free: 40.89 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002176/1.082, allocations: 259.2 kB / 0.9493 GB, free: 40.89 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003241/1.083, allocations: 180.3 kB / 0.9495 GB, free: 40.89 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01867/1.101, allocations: 7.446 MB / 0.9568 GB, free: 40.84 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.05948/1.161, allocations: 35.89 MB / 0.9918 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007242/1.168, allocations: 4.28 MB / 0.996 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004593/1.173, allocations: 3.308 MB / 0.9992 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/1.174, allocations: 0.9525 MB / 1 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003815/1.178, allocations: 2.382 MB / 1.002 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00332/1.181, allocations: 413.1 kB / 1.003 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=317): time 1.526e-05/1.181, allocations: 0 / 1.003 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317): time 0.01199/1.193, allocations: 7.126 MB / 1.01 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/1.193, allocations: 92.17 kB / 1.01 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007963/1.201, allocations: 5.373 MB / 1.015 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001019/1.202, allocations: 97.7 kB / 1.015 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002618/1.205, allocations: 3.165 MB / 1.018 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001621/1.207, allocations: 1.12 MB / 1.019 GB, free: 172 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001522/1.208, allocations: 0.8559 MB / 1.02 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.208, allocations: 301.1 kB / 1.021 GB, free: 15 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003802/1.212, allocations: 2.17 MB / 1.023 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005282/1.217, allocations: 3.694 MB / 1.026 GB, free: 8.457 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009844/1.227, allocations: 6.33 MB / 1.032 GB, free: 1.617 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.922e-05/1.227, allocations: 12 kB / 1.032 GB, free: 1.605 MB / 0.7481 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01358/1.241, allocations: 6.765 MB / 1.039 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 9.595e-05/1.241, allocations: 53.88 kB / 1.039 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.371e-05/1.241, allocations: 56 kB / 1.039 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/1.242, allocations: 432.8 kB / 1.04 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004222/1.247, allocations: 1.006 MB / 1.041 GB, free: 9.613 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006785/1.253, allocations: 5.701 MB / 1.046 GB, free: 3.691 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006688/1.26, allocations: 470.7 kB / 1.047 GB, free: 3.23 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/1.261, allocations: 223.2 kB / 1.047 GB, free: 3.016 MB / 0.7637 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.005904/1.267, allocations: 2.45 MB / 1.049 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002066/1.269, allocations: 0.5172 MB / 1.05 GB, free: 100 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/1.28, allocations: 5.269 MB / 1.055 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.229e-05/1.28, allocations: 35.98 kB / 1.055 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/1.28, allocations: 4.812 kB / 1.055 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00764/1.288, allocations: 4.531 MB / 1.059 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02502/1.313, allocations: 11.93 MB / 1.071 GB, free: 10.13 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/1.313, allocations: 0 / 1.071 GB, free: 10.13 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002885/1.316, allocations: 0.6449 MB / 1.072 GB, free: 9.516 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008974/1.316, allocations: 376.3 kB / 1.072 GB, free: 9.145 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003528/1.317, allocations: 87.95 kB / 1.072 GB, free: 9.059 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005936/1.323, allocations: 5.617 MB / 1.078 GB, free: 3.207 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/1.323, allocations: 6.734 kB / 1.078 GB, free: 3.203 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/1.336, allocations: 7.757 MB / 1.085 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004103/1.341, allocations: 1.135 MB / 1.086 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001666/1.342, allocations: 60 kB / 1.086 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005084/1.347, allocations: 470.6 kB / 1.087 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005462/1.348, allocations: 197.4 kB / 1.087 GB, free: 9.504 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004029/1.348, allocations: 139.9 kB / 1.087 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.006919/1.355, allocations: 3.742 MB / 1.091 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.41e-07/1.355, allocations: 6.078 kB / 1.091 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.008483/1.364, allocations: 1.987 MB / 1.093 GB, free: 3.648 MB / 0.8106 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.00179/1.366, allocations: 475.2 kB / 1.093 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.02237/1.388, allocations: 11.63 MB / 1.104 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/1.388, allocations: 4.984 kB / 1.104 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004003/1.392, allocations: 2.543 MB / 1.107 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01736/1.409, allocations: 3.392 MB / 1.11 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0292/1.439, allocations: 16.53 MB / 1.126 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005989/1.445, allocations: 4.531 MB / 1.131 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002208/1.447, allocations: 484.5 kB / 1.131 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of SimCode: time 9.92e-07/1.447, allocations: 0 / 1.131 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of Templates: time 0.6398/2.087, allocations: 184.6 MB / 1.312 GB, free: 372.2 MB / 0.9981 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)