Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Examples.Stratified.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Examples.Stratified") translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.071/2.071, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001299/0.001299, allocations: 184.7 kB / 326.3 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.255/2.255, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.0009391/0.0009386, allocations: 79.83 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007813/0.0007815, allocations: 11.25 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2027, allocations: 106.3 MB / 0.8995 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.Stratified): time 0.06733/0.2701, allocations: 51.74 MB / 0.95 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03056/0.3007, allocations: 16.25 MB / 0.9659 GB, free: 13.41 MB / 0.6199 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003044/0.3038, allocations: 67.56 kB / 0.966 GB, free: 13.34 MB / 0.6199 GB Notification: Performance of NFTyping.typeComponents: time 0.003517/0.3074, allocations: 0.695 MB / 0.9666 GB, free: 12.64 MB / 0.6199 GB Notification: Performance of NFTyping.typeBindings: time 0.008649/0.3161, allocations: 1.957 MB / 0.9685 GB, free: 10.68 MB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.006565/0.3227, allocations: 1.268 MB / 0.9698 GB, free: 9.418 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 0.05227/0.375, allocations: 32.47 MB / 1.001 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03439/0.4094, allocations: 10.69 MB / 1.012 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01881/0.4283, allocations: 7.195 MB / 1.019 GB, free: 6.863 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01824/0.4466, allocations: 7.539 MB / 1.026 GB, free: 15.29 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 0.003402/0.4501, allocations: 472 kB / 1.027 GB, free: 14.83 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009372/0.4595, allocations: 1.334 MB / 1.028 GB, free: 13.5 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.005491/0.465, allocations: 2.074 MB / 1.03 GB, free: 11.41 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 0.00627/0.4714, allocations: 2.207 MB / 1.032 GB, free: 9.195 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.02653/0.4979, allocations: 14.26 MB / 1.046 GB, free: 10.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.248e-06/0.498, allocations: 4 kB / 1.046 GB, free: 10.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.207e-06/0.498, allocations: 0 / 1.046 GB, free: 10.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0006585/0.4987, allocations: 0 / 1.046 GB, free: 10.9 MB / 0.698 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.03472/0.5334, allocations: 9.49 MB / 1.055 GB, free: 1.301 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.5335, allocations: 8.031 kB / 1.055 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006948/0.5405, allocations: 1.164 MB / 1.057 GB, free: 120 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.17/1.711, allocations: 8.87 MB / 1.065 GB, free: 137.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00071/1.711, allocations: 0.613 MB / 1.066 GB, free: 137.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003165/1.714, allocations: 0.8177 MB / 1.067 GB, free: 137.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0386/1.753, allocations: 12.33 MB / 1.079 GB, free: 133 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003092/1.753, allocations: 26.31 kB / 1.079 GB, free: 133 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001728/1.755, allocations: 354.3 kB / 1.079 GB, free: 132.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003512/1.756, allocations: 249.7 kB / 1.079 GB, free: 132.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03129/1.787, allocations: 10.38 MB / 1.089 GB, free: 127.3 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.08484/1.872, allocations: 48.38 MB / 1.137 GB, free: 77.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01949/1.891, allocations: 6.288 MB / 1.143 GB, free: 71.31 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01593/1.907, allocations: 5.081 MB / 1.148 GB, free: 66.24 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002687/1.91, allocations: 0.8542 MB / 1.149 GB, free: 65.26 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0118/1.922, allocations: 3.36 MB / 1.152 GB, free: 61.86 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00739/1.929, allocations: 0.4983 MB / 1.152 GB, free: 61.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=455): time 1.979e-05/1.929, allocations: 0 / 1.152 GB, free: 61.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=455): time 0.02558/1.955, allocations: 8.893 MB / 1.161 GB, free: 52.44 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.5e-05/1.955, allocations: 158.3 kB / 1.161 GB, free: 52.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01548/1.971, allocations: 7.233 MB / 1.168 GB, free: 45.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001096/1.972, allocations: 109.7 kB / 1.168 GB, free: 44.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004915/1.977, allocations: 4.277 MB / 1.173 GB, free: 40.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002668/1.979, allocations: 1.577 MB / 1.174 GB, free: 39.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005793/1.98, allocations: 116 kB / 1.174 GB, free: 38.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003656/1.98, allocations: 0.5498 MB / 1.175 GB, free: 38.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007224/1.988, allocations: 3.002 MB / 1.178 GB, free: 35.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008954/1.997, allocations: 4.875 MB / 1.182 GB, free: 29.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009693/2.006, allocations: 4.048 MB / 1.186 GB, free: 25.63 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.883e-05/2.006, allocations: 16 kB / 1.186 GB, free: 25.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02378/2.03, allocations: 8.843 MB / 1.195 GB, free: 16.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001039/2.031, allocations: 1.874 MB / 1.197 GB, free: 14.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.602e-05/2.031, allocations: 56 kB / 1.197 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001169/2.032, allocations: 91.94 kB / 1.197 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01054/2.042, allocations: 1.373 MB / 1.198 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001672/2.042, allocations: 123.6 kB / 1.198 GB, free: 12.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01102/2.053, allocations: 0.6154 MB / 1.199 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001361/2.055, allocations: 280 kB / 1.199 GB, free: 11.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/2.055, allocations: 5.719 kB / 1.199 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02122/2.076, allocations: 8.276 MB / 1.207 GB, free: 3.234 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001156/2.076, allocations: 59.98 kB / 1.207 GB, free: 3.176 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.376e-05/2.076, allocations: 88 kB / 1.208 GB, free: 3.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0105/2.087, allocations: 1.366 MB / 1.209 GB, free: 1.723 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001653/2.087, allocations: 123.6 kB / 1.209 GB, free: 1.602 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01063/2.098, allocations: 0.6039 MB / 1.21 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001366/2.099, allocations: 272 kB / 1.21 GB, free: 0.7305 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (748): * Single equations (assignments): 746 * 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.009415/2.108, allocations: 3.563 MB / 1.213 GB, free: 13.14 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002605/2.111, allocations: 0.7024 MB / 1.214 GB, free: 12.43 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02222/2.133, allocations: 7.155 MB / 1.221 GB, free: 5.246 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01726/2.151, allocations: 5.844 MB / 1.227 GB, free: 15.36 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/2.151, allocations: 0 / 1.227 GB, free: 15.36 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007128/2.158, allocations: 1.679 MB / 1.228 GB, free: 13.66 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002707/2.161, allocations: 99.92 kB / 1.228 GB, free: 13.56 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01037/2.171, allocations: 0.5202 MB / 1.229 GB, free: 13.04 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001094/2.172, allocations: 255.2 kB / 1.229 GB, free: 12.79 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.024/2.196, allocations: 7.139 MB / 1.236 GB, free: 5.668 MB / 0.7293 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03663/2.233, allocations: 11.38 MB / 1.247 GB, free: 10.23 MB / 0.7449 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01268/2.246, allocations: 3.201 MB / 1.25 GB, free: 7.027 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 0.02073/2.266, allocations: 5.05 MB / 1.255 GB, free: 2.004 MB / 0.7449 GB Notification: Performance of Backend: time 1.723e-06/2.266, allocations: 4 kB / 1.255 GB, free: 2 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.04834/2.315, allocations: 9.509 MB / 1.265 GB, free: 8.504 MB / 0.7605 GB Notification: Performance of SimCode: time 0.1055/2.42, allocations: 24.22 MB / 1.288 GB, free: 248 kB / 0.7762 GB Notification: Performance of Templates: time 1.006/3.427, allocations: 174.3 MB / 1.459 GB, free: 234.7 MB / 0.8699 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Storage.Examples.Stratified.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Storage.Examples.Stratified.sim & ./Buildings_7.0.0_Buildings.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe 2>&1)