Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Examples.Stratified.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.Stratified") translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.528/1.528, allocations: 289.9 MB / 297.4 MB, free: 6.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009847/0.0009849, allocations: 172.8 kB / 366.7 MB, free: 1.637 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.2 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000856/0.0008562, allocations: 82.66 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.582e-05/1.584e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6233/0.6233, allocations: 116.3 MB / 0.9732 GB, free: 76.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.981/1.604, allocations: 411.8 MB / 1.375 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/1.605, allocations: 87.67 kB / 1.375 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 9.673/11.28, allocations: 2.902 GB / 4.278 GB, free: 136.4 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.793e-06/11.28, allocations: 2.312 kB / 4.278 GB, free: 136.4 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.001677/11.28, allocations: 252.5 kB / 4.278 GB, free: 136.3 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2145 * Number of variables: 2145 Notification: Performance of Generate backend data structure: time 0.0298/11.31, allocations: 8.286 MB / 4.286 GB, free: 133.6 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/11.31, allocations: 13.56 kB / 4.286 GB, free: 133.6 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008631/11.32, allocations: 1.161 MB / 4.287 GB, free: 133 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02827/11.35, allocations: 10.75 MB / 4.298 GB, free: 131.9 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004678/11.35, allocations: 269.6 kB / 4.298 GB, free: 131.9 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003384/11.35, allocations: 496.8 kB / 4.298 GB, free: 131.9 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01964/11.37, allocations: 8.894 MB / 4.307 GB, free: 131.9 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02625/11.4, allocations: 10.35 MB / 4.317 GB, free: 130.7 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002479/11.4, allocations: 25.75 kB / 4.317 GB, free: 130.7 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001399/11.4, allocations: 18.62 kB / 4.317 GB, free: 130.7 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002073/11.4, allocations: 254.1 kB / 4.318 GB, free: 130.7 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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.06327/11.46, allocations: 44.97 MB / 4.361 GB, free: 111.5 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009412/11.47, allocations: 5.999 MB / 4.367 GB, free: 111.2 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00703/11.48, allocations: 4.642 MB / 4.372 GB, free: 111.2 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001359/11.48, allocations: 0.8248 MB / 4.373 GB, free: 110.4 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00519/11.48, allocations: 3.177 MB / 4.376 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00518/11.49, allocations: 399.8 kB / 4.376 GB, free: 110 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=449): time 8.316e-06/11.49, allocations: 0 / 4.376 GB, free: 110 MB / 0.9792 GB Notification: Performance of matching and sorting (n=449): time 0.01092/11.5, allocations: 6.115 MB / 4.382 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.175e-05/11.5, allocations: 158.6 kB / 4.382 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.014/11.51, allocations: 5.828 MB / 4.388 GB, free: 109 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001496/11.52, allocations: 33.27 kB / 4.388 GB, free: 109 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.005325/11.52, allocations: 4.285 MB / 4.392 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.002689/11.52, allocations: 1.496 MB / 4.394 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/11.53, allocations: 3.688 kB / 4.394 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0006081/11.53, allocations: 0.5429 MB / 4.394 GB, free: 105.9 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004948/11.53, allocations: 2.779 MB / 4.397 GB, free: 105.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005774/11.54, allocations: 4.62 MB / 4.401 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0069/11.54, allocations: 4.061 MB / 4.405 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-05/11.54, allocations: 19 kB / 4.405 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01677/11.56, allocations: 8.227 MB / 4.413 GB, free: 103.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.005578/11.57, allocations: 27.94 MB / 4.441 GB, free: 73.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001241/11.57, allocations: 57.78 kB / 4.441 GB, free: 73.73 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001605/11.57, allocations: 101 kB / 4.441 GB, free: 73.73 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006208/11.57, allocations: 1.442 MB / 4.442 GB, free: 73.68 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001588/11.57, allocations: 128.8 kB / 4.442 GB, free: 73.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008919/11.58, allocations: 0.5113 MB / 4.443 GB, free: 73.62 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001516/11.58, allocations: 281.5 kB / 4.443 GB, free: 73.57 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/11.58, allocations: 4.5 kB / 4.443 GB, free: 73.57 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0157/11.6, allocations: 7.6 MB / 4.451 GB, free: 71.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002189/11.6, allocations: 58.19 kB / 4.451 GB, free: 71.36 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001394/11.6, allocations: 97.69 kB / 4.451 GB, free: 71.36 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005977/11.61, allocations: 1.446 MB / 4.452 GB, free: 71.21 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001776/11.61, allocations: 130.4 kB / 4.452 GB, free: 71.19 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008245/11.61, allocations: 490.4 kB / 4.453 GB, free: 71.14 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001372/11.62, allocations: 279.5 kB / 4.453 GB, free: 71.1 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 264 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent,P.nextEventScaled,dH.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 742 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002706/11.62, allocations: 361.8 kB / 4.453 GB, free: 70.77 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003343/11.62, allocations: 0.6379 MB / 4.454 GB, free: 70.45 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01568/11.64, allocations: 6.764 MB / 4.461 GB, free: 68.14 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.613e-05/11.64, allocations: 40.75 kB / 4.461 GB, free: 68.14 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.018e-05/11.64, allocations: 0 / 4.461 GB, free: 68.14 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008976/11.65, allocations: 5.638 MB / 4.466 GB, free: 66.29 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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.03627/11.68, allocations: 15.37 MB / 4.481 GB, free: 60.58 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/11.68, allocations: 0 / 4.481 GB, free: 60.58 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004234/11.69, allocations: 0.9118 MB / 4.482 GB, free: 60.51 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-05/11.69, allocations: 19 kB / 4.482 GB, free: 60.51 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006609/11.69, allocations: 63.58 kB / 4.482 GB, free: 60.49 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-05/11.69, allocations: 14.41 kB / 4.482 GB, free: 60.49 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/11.69, allocations: 3.906 kB / 4.482 GB, free: 60.49 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01613/11.7, allocations: 10.32 MB / 4.492 GB, free: 56.42 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006182/11.71, allocations: 1.665 MB / 4.494 GB, free: 55.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00303/11.71, allocations: 26.08 kB / 4.494 GB, free: 55.56 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01021/11.72, allocations: 0.4956 MB / 4.494 GB, free: 55.52 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001475/11.72, allocations: 248.9 kB / 4.495 GB, free: 55.49 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001412/11.73, allocations: 208.6 kB / 4.495 GB, free: 55.45 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.01043/11.74, allocations: 4.435 MB / 4.499 GB, free: 53.8 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.91e-07/11.74, allocations: 0 / 4.499 GB, free: 53.8 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.02371/11.76, allocations: 4.767 MB / 4.504 GB, free: 51.82 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 21 (tanSim.vol[1].dynBal.U,tanSim.vol[2].dynBal.U,tanSim.vol[3].dynBal.U,tanSim.vol[4].dynBal.U,tanSim.vol[5].dynBal.U,tanSim.vol[6].dynBal.U,tanSim.vol[7].dynBal.U,tanSim.vol[8].dynBal.U,tanSim.vol[9].dynBal.U,tanSim.vol[10].dynBal.U,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,tanEnh.vol[8].dynBal.U,tanEnh.vol[9].dynBal.U,tanEnh.vol[10].dynBal.U,dH.y) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,P.nextEvent,P.nextEventScaled) * Number of discrete states: 12 (P.nextEvent,P.last,P.nextEventScaled,P.b,P.a,$whenCondition2,TWat.nextEvent,TWat.last,TWat.nextEventScaled,TWat.b,TWat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (445): * Single equations (assignments): 441 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00332/11.76, allocations: 0.8687 MB / 4.505 GB, free: 51.17 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01845/11.78, allocations: 10.87 MB / 4.515 GB, free: 41.44 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/11.78, allocations: 5.375 kB / 4.515 GB, free: 41.43 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.004899/11.79, allocations: 3.03 MB / 4.518 GB, free: 38.7 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02034/11.81, allocations: 3.485 MB / 4.522 GB, free: 36.25 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03988/11.85, allocations: 16.11 MB / 4.537 GB, free: 22.17 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01035/11.86, allocations: 6.261 MB / 4.543 GB, free: 17.52 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.01941/11.88, allocations: 5.811 MB / 4.549 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002084/11.88, allocations: 469.1 kB / 4.55 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of SimCode: time 1.332e-06/11.88, allocations: 0 / 4.55 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of Templates: time 1.38/13.26, allocations: 129.9 MB / 4.676 GB, free: 121.5 MB / 0.9949 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.Stratified.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.Stratified.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.Stratified.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.Stratified.sim & ./Buildings_8_Buildings.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Examples.Stratified.pipe 2>&1)