Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.451/1.451, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001101/0.001101, allocations: 176.4 kB / 326.5 MB, free: 2.703 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.769/1.769, allocations: 205 MB / 0.5766 GB, free: 21.03 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.0008595/0.0008596, allocations: 81.25 kB / 0.6803 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003218, allocations: 9.281 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2233, allocations: 105.4 MB / 0.8967 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.03821/0.2616, allocations: 48.67 MB / 0.9443 GB, free: 19.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01502/0.2766, allocations: 13.72 MB / 0.9577 GB, free: 5.621 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00283/0.2795, allocations: 55.69 kB / 0.9577 GB, free: 5.566 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002546/0.2821, allocations: 0.6525 MB / 0.9583 GB, free: 4.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00627/0.2884, allocations: 2.065 MB / 0.9604 GB, free: 2.836 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003109/0.2915, allocations: 1.149 MB / 0.9615 GB, free: 1.695 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.02798/0.3195, allocations: 25.49 MB / 0.9864 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01318/0.3327, allocations: 7.731 MB / 0.9939 GB, free: 284 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01293/0.3457, allocations: 4.804 MB / 0.9986 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009924/0.3557, allocations: 5.227 MB / 1.004 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.002127/0.3578, allocations: 304 kB / 1.004 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005783/0.3637, allocations: 0.9866 MB / 1.005 GB, free: 4.918 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.003251/0.3669, allocations: 1.408 MB / 1.006 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.008323/0.3753, allocations: 3.479 MB / 1.01 GB, free: 8 kB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01213/0.3875, allocations: 9.399 MB / 1.019 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3875, allocations: 0 / 1.019 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.395e-06/0.3875, allocations: 0 / 1.019 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004771/0.388, allocations: 0 / 1.019 GB, free: 6.586 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.01574/0.4037, allocations: 6.202 MB / 1.025 GB, free: 316 kB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.4038, allocations: 8.031 kB / 1.025 GB, free: 308 kB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004421/0.4082, allocations: 0.7737 MB / 1.026 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01366/0.4219, allocations: 6.164 MB / 1.032 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005076/0.4225, allocations: 411.4 kB / 1.032 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001946/0.4244, allocations: 0.5467 MB / 1.033 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01757/0.442, allocations: 7.969 MB / 1.04 GB, free: 160 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001622/0.4422, allocations: 19.84 kB / 1.04 GB, free: 140 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007672/0.443, allocations: 236 kB / 1.041 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001769/0.4432, allocations: 159.9 kB / 1.041 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01365/0.4569, allocations: 6.559 MB / 1.047 GB, free: 9.176 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.4619/0.9188, allocations: 30.55 MB / 1.077 GB, free: 126.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006302/0.9251, allocations: 3.761 MB / 1.081 GB, free: 126.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003818/0.929, allocations: 2.853 MB / 1.084 GB, free: 126 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007465/0.9298, allocations: 0.8386 MB / 1.084 GB, free: 125.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.9298, allocations: 66.3 kB / 1.084 GB, free: 125 MB / 0.698 GB Notification: Performance of pre-optimization done (n=275): time 4.939e-06/0.9298, allocations: 0 / 1.084 GB, free: 125 MB / 0.698 GB Notification: Performance of matching and sorting (n=275): time 0.009439/0.9393, allocations: 5.855 MB / 1.09 GB, free: 122.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.9393, allocations: 79.06 kB / 1.09 GB, free: 122.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00824/0.9476, allocations: 4.951 MB / 1.095 GB, free: 119.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006419/0.9483, allocations: 82.95 kB / 1.095 GB, free: 119.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001895/0.9502, allocations: 2.823 MB / 1.098 GB, free: 117.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001095/0.9513, allocations: 0.9752 MB / 1.099 GB, free: 116.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003126/0.9516, allocations: 307.6 kB / 1.099 GB, free: 116.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.708e-05/0.9516, allocations: 305.1 kB / 1.099 GB, free: 116.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002096/0.9537, allocations: 1.7 MB / 1.101 GB, free: 115.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002395/0.9561, allocations: 2.913 MB / 1.104 GB, free: 112.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004668/0.9608, allocations: 4.973 MB / 1.109 GB, free: 109.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.946e-05/0.9609, allocations: 11.25 kB / 1.109 GB, free: 109.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.007608/0.9685, allocations: 5.477 MB / 1.114 GB, free: 104.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.9685, allocations: 23.94 kB / 1.114 GB, free: 104.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.186e-05/0.9686, allocations: 40 kB / 1.114 GB, free: 104.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008223/0.9694, allocations: 422 kB / 1.115 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002719/0.9721, allocations: 0.8658 MB / 1.115 GB, free: 102.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004041/0.9762, allocations: 5.26 MB / 1.121 GB, free: 97.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004788/0.981, allocations: 0.6433 MB / 1.121 GB, free: 96.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005204/0.9815, allocations: 180 kB / 1.121 GB, free: 96.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 173 * Number of states: 0 () * Number of discrete variables: 2 (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 (455): * Single equations (assignments): 453 * Array equations: 0 * Algorithm blocks: 0 * 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.003651/0.9852, allocations: 2.261 MB / 1.124 GB, free: 94.33 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001353/0.9866, allocations: 482.2 kB / 1.124 GB, free: 93.85 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005689/0.9923, allocations: 4.241 MB / 1.128 GB, free: 89.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/0.9923, allocations: 35.22 kB / 1.128 GB, free: 89.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.9923, allocations: 4 kB / 1.128 GB, free: 89.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003976/0.9963, allocations: 3.676 MB / 1.132 GB, free: 85.74 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/1.014, allocations: 10.54 MB / 1.142 GB, free: 75.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/1.014, allocations: 12 kB / 1.142 GB, free: 75.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/1.016, allocations: 0.5117 MB / 1.143 GB, free: 74.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006955/1.016, allocations: 381.2 kB / 1.143 GB, free: 74.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/1.016, allocations: 75.97 kB / 1.143 GB, free: 74.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003864/1.02, allocations: 5.214 MB / 1.148 GB, free: 68.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.02, allocations: 7.938 kB / 1.148 GB, free: 68.58 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007726/1.028, allocations: 6.344 MB / 1.154 GB, free: 62.03 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002672/1.031, allocations: 1.057 MB / 1.155 GB, free: 60.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009382/1.032, allocations: 67.92 kB / 1.155 GB, free: 60.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002936/1.035, allocations: 342.1 kB / 1.156 GB, free: 60.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002816/1.035, allocations: 181.6 kB / 1.156 GB, free: 60.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/1.035, allocations: 119.9 kB / 1.156 GB, free: 60.26 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004482/1.04, allocations: 3.626 MB / 1.16 GB, free: 56.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/1.04, allocations: 0 / 1.16 GB, free: 56.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005227/1.045, allocations: 1.78 MB / 1.161 GB, free: 54.88 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 20 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.001135/1.046, allocations: 494.9 kB / 1.162 GB, free: 54.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00544/1.051, allocations: 4.311 MB / 1.166 GB, free: 50.08 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.051, allocations: 0 / 1.166 GB, free: 50.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002272/1.054, allocations: 2.071 MB / 1.168 GB, free: 47.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01713/1.071, allocations: 3.276 MB / 1.171 GB, free: 44.77 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01741/1.088, allocations: 15.11 MB / 1.186 GB, free: 29.56 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002762/1.091, allocations: 4.214 MB / 1.19 GB, free: 25.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/1.093, allocations: 439.2 kB / 1.191 GB, free: 24.89 MB / 0.698 GB Notification: Performance of SimCode: time 9.92e-07/1.093, allocations: 3.938 kB / 1.191 GB, free: 24.88 MB / 0.698 GB Notification: Performance of Templates: time 0.2124/1.305, allocations: 170 MB / 1.357 GB, free: 14.85 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)