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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001092, allocations: 104 kB / 16.37 MB, free: 6.363 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.001124/0.001124, allocations: 191.8 kB / 17.3 MB, free: 5.898 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.331/1.331, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.74/1.74, allocations: 292.3 MB / 0.5496 GB, free: 17.6 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.001541/0.001541, allocations: 67.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1905, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.Stratified): time 0.389/0.5795, allocations: 56.21 MB / 0.8397 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02498/0.6045, allocations: 17.37 MB / 0.8566 GB, free: 4 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003535/0.6081, allocations: 72.42 kB / 0.8567 GB, free: 15.98 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003587/0.6117, allocations: 0.9673 MB / 0.8576 GB, free: 15.4 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008325/0.6201, allocations: 2.437 MB / 0.86 GB, free: 13.95 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005833/0.6259, allocations: 1.796 MB / 0.8618 GB, free: 12.99 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.03275/0.6587, allocations: 29.21 MB / 0.8903 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01823/0.677, allocations: 14.61 MB / 0.9046 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02135/0.6984, allocations: 9.834 MB / 0.9142 GB, free: 5.93 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0165/0.7149, allocations: 8.802 MB / 0.9228 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00469/0.7196, allocations: 1.305 MB / 0.924 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01054/0.7302, allocations: 2.486 MB / 0.9265 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.005512/0.7357, allocations: 3.229 MB / 0.9296 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01448/0.7502, allocations: 6.501 MB / 0.936 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.02541/0.7757, allocations: 18.28 MB / 0.9538 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.7757, allocations: 0 / 0.9538 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7757, allocations: 0 / 0.9538 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0006134/0.7764, allocations: 0 / 0.9538 GB, free: 13.21 MB / 0.7481 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.02971/0.8061, allocations: 11.62 MB / 0.9652 GB, free: 1.473 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.8062, allocations: 8.031 kB / 0.9652 GB, free: 1.465 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005201/0.8114, allocations: 1.172 MB / 0.9663 GB, free: 288 kB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01761/0.829, allocations: 9.109 MB / 0.9752 GB, free: 7.098 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005927/0.8296, allocations: 0.6179 MB / 0.9758 GB, free: 6.477 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002823/0.8324, allocations: 0.8201 MB / 0.9766 GB, free: 5.656 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03174/0.8642, allocations: 12.51 MB / 0.9889 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003355/0.8646, allocations: 23.81 kB / 0.9889 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002276/0.8669, allocations: 360 kB / 0.9892 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002632/0.8672, allocations: 247.9 kB / 0.9895 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02205/0.8892, allocations: 10.42 MB / 0.9996 GB, free: 13.71 MB / 0.795 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.07499/0.9642, allocations: 48.87 MB / 1.047 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0103/0.9746, allocations: 6.263 MB / 1.053 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007946/0.9826, allocations: 4.939 MB / 1.058 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/0.984, allocations: 0.8203 MB / 1.059 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006554/0.9906, allocations: 3.428 MB / 1.062 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003316/0.9939, allocations: 466.4 kB / 1.063 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=449): time 1.36e-05/0.994, allocations: 4 kB / 1.063 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=449): time 0.01644/1.01, allocations: 8.904 MB / 1.072 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/1.011, allocations: 154.3 kB / 1.072 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01454/1.025, allocations: 7.593 MB / 1.079 GB, free: 9.297 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.001135/1.026, allocations: 117.7 kB / 1.079 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.004781/1.031, allocations: 4.282 MB / 1.083 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.00244/1.034, allocations: 1.564 MB / 1.085 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00327/1.037, allocations: 1.128 MB / 1.086 GB, free: 2.129 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.523e-05/1.037, allocations: 309.1 kB / 1.086 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00529/1.042, allocations: 3.046 MB / 1.089 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006538/1.049, allocations: 4.905 MB / 1.094 GB, free: 9.02 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01272/1.062, allocations: 8.612 MB / 1.103 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-05/1.062, allocations: 16 kB / 1.103 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01811/1.08, allocations: 8.889 MB / 1.111 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/1.08, allocations: 91.39 kB / 1.111 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001039/1.08, allocations: 62.39 kB / 1.111 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001209/1.08, allocations: 88 kB / 1.111 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005544/1.086, allocations: 1.369 MB / 1.113 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001564/1.086, allocations: 123.6 kB / 1.113 GB, free: 4.891 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006392/1.092, allocations: 379.2 kB / 1.113 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008992/1.093, allocations: 279.9 kB / 1.114 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01159/1.105, allocations: 6.132 MB / 1.12 GB, free: 14.1 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007104/1.112, allocations: 4.905 MB / 1.124 GB, free: 8.359 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.7613/1.873, allocations: 8.601 MB / 1.133 GB, free: 276.1 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.816e-05/1.873, allocations: 17.78 kB / 1.133 GB, free: 276.1 MB / 0.92 GB Notification: Performance of matching and sorting (n=754) (initialization_lambda0): time 0.0168/1.89, allocations: 8.881 MB / 1.141 GB, free: 275.9 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/1.89, allocations: 94 kB / 1.142 GB, free: 275.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.273e-05/1.89, allocations: 60.69 kB / 1.142 GB, free: 275.8 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001172/1.891, allocations: 91.44 kB / 1.142 GB, free: 275.8 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00591/1.897, allocations: 1.367 MB / 1.143 GB, free: 275.8 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002099/1.897, allocations: 126.3 kB / 1.143 GB, free: 275.8 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006752/1.903, allocations: 364 kB / 1.143 GB, free: 275.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001025/1.905, allocations: 278.4 kB / 1.144 GB, free: 275.8 MB / 0.92 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 (P.nextEventScaled,P.nextEvent,$PRE.P.nextEvent,P.last,P.b,P.a,TWat.nextEventScaled,TWat.nextEvent,$PRE.TWat.nextEvent,TWat.last,TWat.b,TWat.a,$whenCondition2,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001607/1.906, allocations: 0.6332 MB / 1.144 GB, free: 275.5 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002512/1.909, allocations: 0.7092 MB / 1.145 GB, free: 275.5 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01499/1.924, allocations: 7.133 MB / 1.152 GB, free: 273.1 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01039/1.934, allocations: 5.851 MB / 1.158 GB, free: 271 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/1.934, allocations: 1.406 kB / 1.158 GB, free: 271 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005367/1.94, allocations: 1.609 MB / 1.159 GB, free: 270.3 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002368/1.942, allocations: 94.78 kB / 1.159 GB, free: 270.3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005735/1.948, allocations: 277.8 kB / 1.16 GB, free: 270.2 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008552/1.949, allocations: 252.2 kB / 1.16 GB, free: 270.2 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01548/1.964, allocations: 7.066 MB / 1.167 GB, free: 267.7 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01999/1.984, allocations: 11.37 MB / 1.178 GB, free: 263.2 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005034/1.989, allocations: 3.212 MB / 1.181 GB, free: 262 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.01172/2.001, allocations: 5.337 MB / 1.186 GB, free: 260.3 MB / 0.92 GB Notification: Performance of Backend: time 1.022e-06/2.001, allocations: 0 / 1.186 GB, free: 260.3 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02266/2.024, allocations: 9.565 MB / 1.196 GB, free: 256.9 MB / 0.92 GB Notification: Performance of SimCode: time 0.04545/2.069, allocations: 20.93 MB / 1.216 GB, free: 246.7 MB / 0.92 GB Notification: Performance of Templates: time 0.2304/2.3, allocations: 181.7 MB / 1.393 GB, free: 66.84 MB / 0.92 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)