Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified") translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.976/1.976, allocations: 288.4 MB / 304.3 MB, free: 8.148 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.000914/0.0009143, allocations: 176.4 kB / 372.9 MB, free: 10.16 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.351/1.351, allocations: 205.4 MB / 0.6316 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007191/0.0007191, allocations: 90.3 kB / 0.745 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003386, allocations: 12.03 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1675, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.Stratified): time 0.04016/0.2077, allocations: 51.75 MB / 1.031 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02022/0.2279, allocations: 16.29 MB / 1.047 GB, free: 7.16 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00203/0.23, allocations: 71.56 kB / 1.047 GB, free: 7.09 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.2319, allocations: 0.6794 MB / 1.048 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005193/0.2371, allocations: 2.095 MB / 1.05 GB, free: 4.301 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003651/0.2407, allocations: 1.329 MB / 1.051 GB, free: 2.984 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.4115/0.6523, allocations: 32.5 MB / 1.083 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01655/0.6688, allocations: 11.43 MB / 1.094 GB, free: 27.09 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01454/0.6834, allocations: 7.18 MB / 1.101 GB, free: 27.09 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01712/0.7006, allocations: 7.55 MB / 1.109 GB, free: 26.15 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.002781/0.7034, allocations: 475.8 kB / 1.109 GB, free: 26.15 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008394/0.7118, allocations: 1.497 MB / 1.11 GB, free: 26.08 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.005333/0.7171, allocations: 2.093 MB / 1.112 GB, free: 25.71 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0132/0.7304, allocations: 5.112 MB / 1.117 GB, free: 24.32 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01425/0.7446, allocations: 14.42 MB / 1.132 GB, free: 19.77 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.7447, allocations: 0 / 1.132 GB, free: 19.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.043e-06/0.7447, allocations: 4 kB / 1.132 GB, free: 19.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005545/0.7453, allocations: 0 / 1.132 GB, free: 19.77 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.01977/0.765, allocations: 9.393 MB / 1.141 GB, free: 14.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.7651, allocations: 6.719 kB / 1.141 GB, free: 14.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005261/0.7704, allocations: 1.173 MB / 1.142 GB, free: 13.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01567/0.7861, allocations: 9.036 MB / 1.151 GB, free: 10.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004203/0.7865, allocations: 0.6106 MB / 1.151 GB, free: 10.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002317/0.7888, allocations: 0.8189 MB / 1.152 GB, free: 10.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0255/0.8143, allocations: 12.46 MB / 1.164 GB, free: 2.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001685/0.8145, allocations: 27.72 kB / 1.164 GB, free: 2.793 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001034/0.8156, allocations: 355.7 kB / 1.165 GB, free: 2.449 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002166/0.8158, allocations: 243.9 kB / 1.165 GB, free: 2.211 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02061/0.8364, allocations: 10.37 MB / 1.175 GB, free: 7.836 MB / 0.7136 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.07065/0.9071, allocations: 48.86 MB / 1.223 GB, free: 4.668 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009387/0.9165, allocations: 6.229 MB / 1.229 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007191/0.9238, allocations: 5.069 MB / 1.234 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/0.9251, allocations: 0.8449 MB / 1.235 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007057/0.9322, allocations: 3.416 MB / 1.238 GB, free: 4.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005365/0.9376, allocations: 0.4984 MB / 1.238 GB, free: 4.477 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=449): time 1.697e-05/0.9377, allocations: 0 / 1.238 GB, free: 4.477 MB / 0.7761 GB Notification: Performance of matching and sorting (n=449): time 0.01594/0.9536, allocations: 8.848 MB / 1.247 GB, free: 11.6 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.475e-05/0.9537, allocations: 154.2 kB / 1.247 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01182/0.9656, allocations: 7.241 MB / 1.254 GB, free: 4.207 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.001159/0.9668, allocations: 117.7 kB / 1.254 GB, free: 4.086 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.004659/0.9715, allocations: 4.293 MB / 1.259 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.002776/0.9743, allocations: 1.561 MB / 1.26 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004869/0.9748, allocations: 120 kB / 1.26 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000449/0.9752, allocations: 0.5459 MB / 1.261 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004982/0.9802, allocations: 2.99 MB / 1.264 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007062/0.9873, allocations: 4.878 MB / 1.268 GB, free: 4.863 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01304/1, allocations: 8.559 MB / 1.277 GB, free: 11.48 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.741e-05/1.001, allocations: 20 kB / 1.277 GB, free: 11.46 MB / 0.823 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01647/1.017, allocations: 8.827 MB / 1.285 GB, free: 2.605 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001265/1.018, allocations: 1.906 MB / 1.287 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.708e-05/1.018, allocations: 56 kB / 1.287 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.061e-05/1.018, allocations: 88 kB / 1.287 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005598/1.024, allocations: 1.365 MB / 1.289 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001151/1.024, allocations: 123.6 kB / 1.289 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007601/1.032, allocations: 0.6257 MB / 1.289 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00127/1.033, allocations: 276 kB / 1.29 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/1.033, allocations: 4 kB / 1.29 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01542/1.049, allocations: 8.247 MB / 1.298 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001089/1.049, allocations: 63.94 kB / 1.298 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.854e-05/1.049, allocations: 88 kB / 1.298 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005747/1.055, allocations: 1.361 MB / 1.299 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001459/1.055, allocations: 123.6 kB / 1.299 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007486/1.062, allocations: 0.6079 MB / 1.3 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/1.063, allocations: 272 kB / 1.3 GB, free: 2.586 MB / 0.8386 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 () * Number of clocked 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.008107/1.072, allocations: 3.561 MB / 1.304 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00279/1.074, allocations: 0.7063 MB / 1.304 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/1.087, allocations: 7.09 MB / 1.311 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009284/1.097, allocations: 5.821 MB / 1.317 GB, free: 1.316 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/1.097, allocations: 0 / 1.317 GB, free: 1.316 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006117/1.103, allocations: 1.705 MB / 1.319 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002336/1.105, allocations: 95.98 kB / 1.319 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006344/1.112, allocations: 0.5187 MB / 1.319 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007239/1.112, allocations: 251.1 kB / 1.32 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01327/1.126, allocations: 7.076 MB / 1.326 GB, free: 7.668 MB / 0.8698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01572/1.141, allocations: 11.31 MB / 1.337 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003955/1.145, allocations: 3.186 MB / 1.341 GB, free: 9.105 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.008986/1.154, allocations: 5.058 MB / 1.346 GB, free: 4.074 MB / 0.8855 GB Notification: Performance of Backend: time 7.71e-07/1.154, allocations: 0 / 1.346 GB, free: 4.074 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01967/1.174, allocations: 9.495 MB / 1.355 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of SimCode: time 0.04849/1.223, allocations: 24.03 MB / 1.378 GB, free: 2.598 MB / 0.9167 GB Notification: Performance of Templates: time 0.9459/2.169, allocations: 177 MB / 1.551 GB, free: 249.4 MB / 0.9637 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe 2>&1)