Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Storage.Examples.Stratified.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Storage.Examples.Stratified") translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.574/0.574, allocations: 94.69 MB / 107.3 MB, free: 5.188 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001133/0.001133, allocations: 173.6 kB / 130.7 MB, free: 7.543 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.616/1.616, allocations: 170.5 MB / 324.5 MB, free: 4.004 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001909/0.00191, allocations: 110.7 kB / 386.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.629e-05/6.631e-05, allocations: 4 kB / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5887/0.5888, allocations: 61.51 MB / 0.5054 GB, free: 49.62 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.361/1.95, allocations: 426.7 MB / 0.9221 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/1.951, allocations: 90.95 kB / 0.9222 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.043/5.993, allocations: 0.8759 GB / 1.798 GB, free: 49.62 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.824e-06/5.993, allocations: 0 / 1.798 GB, free: 49.62 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.001567/5.995, allocations: 242.5 kB / 1.798 GB, free: 49.58 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1982 * Number of variables: 1982 Notification: Performance of Generate backend data structure: time 0.03577/6.031, allocations: 7.79 MB / 1.806 GB, free: 46.99 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 7.708e-05/6.031, allocations: 6.719 kB / 1.806 GB, free: 46.99 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/6.042, allocations: 1.079 MB / 1.807 GB, free: 46.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0312/6.073, allocations: 8.745 MB / 1.815 GB, free: 45.51 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001246/6.074, allocations: 0.5692 MB / 1.816 GB, free: 45.49 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006132/6.081, allocations: 0.7777 MB / 1.817 GB, free: 45.48 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05047/6.131, allocations: 10.99 MB / 1.828 GB, free: 44.79 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008193/6.132, allocations: 10.56 kB / 1.828 GB, free: 44.79 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005929/6.138, allocations: 324.1 kB / 1.828 GB, free: 44.79 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003197/6.138, allocations: 190.8 kB / 1.828 GB, free: 44.79 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03491/6.173, allocations: 9.772 MB / 1.838 GB, free: 44.73 MB / 0.5573 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.1157/6.289, allocations: 42.99 MB / 1.88 GB, free: 24.35 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01538/6.305, allocations: 7.18 MB / 1.887 GB, free: 21.48 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01149/6.316, allocations: 6.044 MB / 1.892 GB, free: 19.55 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001687/6.318, allocations: 0.8335 MB / 1.893 GB, free: 18.78 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01215/6.33, allocations: 4.271 MB / 1.897 GB, free: 17.21 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007577/6.338, allocations: 0.5975 MB / 1.898 GB, free: 16.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=539): time 3.012e-05/6.338, allocations: 0 / 1.898 GB, free: 16.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=599): time 0.1171/6.455, allocations: 28.17 MB / 1.926 GB, free: 15.75 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002836/6.455, allocations: 252 kB / 1.926 GB, free: 15.46 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02485/6.48, allocations: 6.355 MB / 1.932 GB, free: 9.93 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002799/6.483, allocations: 145.1 kB / 1.932 GB, free: 9.785 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.009018/6.492, allocations: 3.695 MB / 1.936 GB, free: 6.441 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.006465/6.499, allocations: 2.085 MB / 1.938 GB, free: 4.555 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002593/6.501, allocations: 136 kB / 1.938 GB, free: 4.422 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.00137/6.503, allocations: 0.5774 MB / 1.938 GB, free: 3.918 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01207/6.515, allocations: 3.741 MB / 1.942 GB, free: 0.6836 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5738/7.089, allocations: 6.379 MB / 1.948 GB, free: 61.94 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01178/7.101, allocations: 4.796 MB / 1.953 GB, free: 61.78 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001107/7.101, allocations: 11.47 kB / 1.953 GB, free: 61.78 MB / 0.573 GB Notification: Performance of matching and sorting (n=871) (initialization): time 0.02407/7.125, allocations: 10.3 MB / 1.963 GB, free: 61.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00597/7.131, allocations: 22.7 MB / 1.985 GB, free: 37.93 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002429/7.131, allocations: 42.97 kB / 1.985 GB, free: 37.93 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/7.132, allocations: 86.34 kB / 1.985 GB, free: 37.93 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01045/7.142, allocations: 1.673 MB / 1.987 GB, free: 37.93 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002633/7.142, allocations: 107.7 kB / 1.987 GB, free: 37.93 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01089/7.153, allocations: 0.5857 MB / 1.988 GB, free: 37.93 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002501/7.156, allocations: 298.7 kB / 1.988 GB, free: 37.93 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/7.156, allocations: 4.719 kB / 1.988 GB, free: 37.93 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02567/7.182, allocations: 9.699 MB / 1.997 GB, free: 37.68 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002358/7.182, allocations: 45.06 kB / 1.998 GB, free: 37.68 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001419/7.182, allocations: 85.78 kB / 1.998 GB, free: 37.68 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008377/7.19, allocations: 1.664 MB / 1.999 GB, free: 37.68 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002248/7.191, allocations: 111.5 kB / 1.999 GB, free: 37.68 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009516/7.2, allocations: 0.5715 MB / 2 GB, free: 37.68 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002107/7.202, allocations: 298.3 kB / 2 GB, free: 37.68 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 206 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (863): * Single equations (assignments): 861 * 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.002523/7.205, allocations: 0.5661 MB / 2.001 GB, free: 37.51 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002643/7.207, allocations: 0.7108 MB / 2.001 GB, free: 37.51 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01938/7.227, allocations: 9.127 MB / 2.01 GB, free: 37.14 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.468e-05/7.227, allocations: 56.91 kB / 2.01 GB, free: 37.14 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-05/7.227, allocations: 0 / 2.01 GB, free: 37.14 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001051/7.227, allocations: 25.92 kB / 2.01 GB, free: 37.14 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04848/7.276, allocations: 18.89 MB / 2.029 GB, free: 36.24 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-05/7.276, allocations: 0 / 2.029 GB, free: 36.24 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005943/7.282, allocations: 1.23 MB / 2.03 GB, free: 36.24 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.126e-05/7.282, allocations: 20.19 kB / 2.03 GB, free: 36.24 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009426/7.283, allocations: 168.3 kB / 2.03 GB, free: 36.24 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.942e-05/7.283, allocations: 28.38 kB / 2.03 GB, free: 36.24 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/7.283, allocations: 1.094 kB / 2.03 GB, free: 36.24 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02225/7.305, allocations: 13.99 MB / 2.044 GB, free: 35.61 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009041/7.314, allocations: 1.892 MB / 2.046 GB, free: 35.16 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004215/7.318, allocations: 132.5 kB / 2.046 GB, free: 35.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009069/7.328, allocations: 0.5018 MB / 2.046 GB, free: 35.14 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001497/7.329, allocations: 331.5 kB / 2.047 GB, free: 35.13 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008852/7.33, allocations: 219.4 kB / 2.047 GB, free: 35.13 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01105/7.341, allocations: 4.935 MB / 2.052 GB, free: 34.89 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.8e-07/7.341, allocations: 0 / 2.052 GB, free: 34.89 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0234/7.365, allocations: 4.023 MB / 2.056 GB, free: 34.89 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 45 (tanSim.vol[1].dynBal.medium.T,tanSim.vol[2].dynBal.medium.T,tanSim.vol[3].dynBal.medium.T,tanSim.vol[4].dynBal.medium.T,tanSim.vol[5].dynBal.medium.T,tanSim.vol[6].dynBal.medium.T,tanSim.vol[7].dynBal.medium.T,tanSim.vol[8].dynBal.medium.T,tanSim.vol[9].dynBal.medium.T,tanSim.vol[10].dynBal.medium.T,tanSim.hA_flow.h_out,tanSim.hVol_flow[1].h_out,tanSim.hVol_flow[2].h_out,tanSim.hVol_flow[3].h_out,tanSim.hVol_flow[4].h_out,tanSim.hVol_flow[5].h_out,tanSim.hVol_flow[6].h_out,tanSim.hVol_flow[7].h_out,tanSim.hVol_flow[8].h_out,tanSim.hVol_flow[9].h_out,tanSim.hB_flow.h_out,tanEnh.vol[1].dynBal.medium.T,tanEnh.vol[2].dynBal.medium.T,tanEnh.vol[3].dynBal.medium.T,tanEnh.vol[4].dynBal.medium.T,tanEnh.vol[5].dynBal.medium.T,tanEnh.vol[6].dynBal.medium.T,tanEnh.vol[7].dynBal.medium.T,tanEnh.vol[8].dynBal.medium.T,tanEnh.vol[9].dynBal.medium.T,tanEnh.vol[10].dynBal.medium.T,tanEnh.hA_flow.h_out,tanEnh.hVol_flow[1].h_out,tanEnh.hVol_flow[2].h_out,tanEnh.hVol_flow[3].h_out,tanEnh.hVol_flow[4].h_out,tanEnh.hVol_flow[5].h_out,tanEnh.hVol_flow[6].h_out,tanEnh.hVol_flow[7].h_out,tanEnh.hVol_flow[8].h_out,tanEnh.hVol_flow[9].h_out,tanEnh.hB_flow.h_out,HOut_flow.h_out,HOut_flow1.h_out,dH.y) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,P.a,P.b,P.last,P.nextEvent) * Number of discrete states: 10 (P.last,P.nextEvent,P.b,P.a,$whenCondition2,TWat.last,TWat.nextEvent,TWat.b,TWat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (595): * Single equations (assignments): 593 * 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 Backend phase and start with SimCode phase: time 0.005683/7.37, allocations: 1.026 MB / 2.057 GB, free: 34.75 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03556/7.406, allocations: 14.26 MB / 2.071 GB, free: 34.02 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/7.406, allocations: 5.219 kB / 2.071 GB, free: 34.02 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.009187/7.415, allocations: 4.225 MB / 2.075 GB, free: 33.76 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02841/7.444, allocations: 4.112 MB / 2.079 GB, free: 33.59 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05685/7.501, allocations: 19.27 MB / 2.098 GB, free: 26.69 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01584/7.516, allocations: 5.853 MB / 2.103 GB, free: 24.82 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.03357/7.55, allocations: 7.073 MB / 2.11 GB, free: 20.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005595/7.556, allocations: 0.5081 MB / 2.111 GB, free: 20.13 MB / 0.573 GB Notification: Performance of SimCode: time 1.814e-06/7.556, allocations: 4 kB / 2.111 GB, free: 20.13 MB / 0.573 GB Notification: Performance of Templates: time 0.8203/8.376, allocations: 161.3 MB / 2.268 GB, free: 67.22 MB / 0.5886 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Storage.Examples.Stratified.makefile (rm -f Buildings_1.6_Buildings.Fluid.Storage.Examples.Stratified.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Storage.Examples.Stratified.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Storage.Examples.Stratified.sim & ./Buildings_1.6_Buildings.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Storage.Examples.Stratified.pipe 2>&1)