Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7848/0.7848, allocations: 127.4 MB / 134.9 MB, free: 3.48 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002228/0.002228, allocations: 177.4 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.2 MB / 399.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009584/0.0009584, allocations: 89.28 kB / 476.7 MB, free: 1.527 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.093e-05/2.095e-05, allocations: 3.031 kB / 0.5466 GB, free: 95.44 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1513, allocations: 76.76 MB / 0.6215 GB, free: 43.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7048/0.8561, allocations: 371.9 MB / 0.9847 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.8564, allocations: 91.58 kB / 0.9848 GB, free: 4.203 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 9.746/10.6, allocations: 2.789 GB / 3.774 GB, free: 54.46 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.694e-06/10.6, allocations: 0 / 3.774 GB, free: 54.46 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.001712/10.6, allocations: 257.5 kB / 3.774 GB, free: 54.41 MB / 0.6823 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.02828/10.63, allocations: 8.232 MB / 3.782 GB, free: 46.46 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/10.63, allocations: 8.031 kB / 3.782 GB, free: 46.46 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007807/10.64, allocations: 1.151 MB / 3.783 GB, free: 45.29 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02997/10.67, allocations: 12.02 MB / 3.795 GB, free: 33.39 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006663/10.67, allocations: 276 kB / 3.795 GB, free: 33.12 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004002/10.68, allocations: 491.9 kB / 3.796 GB, free: 32.64 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02206/10.7, allocations: 8.849 MB / 3.804 GB, free: 23.79 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03362/10.73, allocations: 10.14 MB / 3.814 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005892/10.73, allocations: 27.72 kB / 3.814 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00359/10.74, allocations: 19.7 kB / 3.814 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003171/10.74, allocations: 247.9 kB / 3.814 GB, free: 12.99 MB / 0.6823 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.5642/11.3, allocations: 44.8 MB / 3.858 GB, free: 53.82 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/11.31, allocations: 5.935 MB / 3.864 GB, free: 53.59 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007403/11.32, allocations: 4.607 MB / 3.868 GB, free: 53.54 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/11.32, allocations: 0.8193 MB / 3.869 GB, free: 52.79 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005775/11.33, allocations: 3.039 MB / 3.872 GB, free: 52.62 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005432/11.33, allocations: 380.8 kB / 3.873 GB, free: 52.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=452): time 1.537e-05/11.33, allocations: 2 kB / 3.873 GB, free: 52.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=452): time 0.01464/11.35, allocations: 6.143 MB / 3.879 GB, free: 52.06 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/11.35, allocations: 153.9 kB / 3.879 GB, free: 51.93 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01467/11.36, allocations: 5.634 MB / 3.884 GB, free: 51.55 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.001301/11.36, allocations: 31.86 kB / 3.884 GB, free: 51.52 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.005324/11.37, allocations: 4.244 MB / 3.888 GB, free: 50.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.002948/11.37, allocations: 1.513 MB / 3.89 GB, free: 49.41 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001178/11.37, allocations: 0 / 3.89 GB, free: 49.41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0006433/11.37, allocations: 0.542 MB / 3.89 GB, free: 49.09 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005078/11.38, allocations: 2.736 MB / 3.893 GB, free: 49.08 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007133/11.38, allocations: 4.656 MB / 3.898 GB, free: 46.77 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008854/11.39, allocations: 4.048 MB / 3.902 GB, free: 46.72 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001282/11.39, allocations: 17.59 kB / 3.902 GB, free: 46.72 MB / 0.6823 GB Notification: Performance of matching and sorting (n=757) (initialization): time 0.01892/11.41, allocations: 8.202 MB / 3.91 GB, free: 46.29 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.009132/11.42, allocations: 29.54 MB / 3.938 GB, free: 31.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001994/11.42, allocations: 60.47 kB / 3.938 GB, free: 31.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001724/11.42, allocations: 104.1 kB / 3.939 GB, free: 31.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006883/11.43, allocations: 1.473 MB / 3.94 GB, free: 31.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000174/11.43, allocations: 134.6 kB / 3.94 GB, free: 31.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008783/11.44, allocations: 474.5 kB / 3.941 GB, free: 31.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001594/11.44, allocations: 289.2 kB / 3.941 GB, free: 31.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/11.44, allocations: 5.031 kB / 3.941 GB, free: 31.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01635/11.46, allocations: 7.551 MB / 3.948 GB, free: 31.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000251/11.46, allocations: 64.09 kB / 3.948 GB, free: 31.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001309/11.46, allocations: 102.4 kB / 3.948 GB, free: 31.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006281/11.46, allocations: 1.452 MB / 3.95 GB, free: 31.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002079/11.46, allocations: 134.3 kB / 3.95 GB, free: 31.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00853/11.47, allocations: 439.9 kB / 3.95 GB, free: 31.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001705/11.47, allocations: 289.4 kB / 3.951 GB, free: 31.16 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 280 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (747): * Single equations (assignments): 745 * 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.002785/11.48, allocations: 356.8 kB / 3.951 GB, free: 30.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00265/11.48, allocations: 0.6174 MB / 3.952 GB, free: 30.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01601/11.49, allocations: 6.743 MB / 3.958 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.371e-05/11.49, allocations: 43.44 kB / 3.958 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-05/11.49, allocations: 0 / 3.958 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00921/11.5, allocations: 5.636 MB / 3.964 GB, free: 30.25 MB / 0.698 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 postOpt removeSimpleEquations (simulation): time 0.03842/11.54, allocations: 14.98 MB / 3.978 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/11.54, allocations: 5.125 kB / 3.978 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004933/11.55, allocations: 0.9006 MB / 3.979 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.289e-05/11.55, allocations: 18.97 kB / 3.979 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001142/11.55, allocations: 66.41 kB / 3.979 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.846e-05/11.55, allocations: 19.3 kB / 3.979 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/11.55, allocations: 0 / 3.979 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01846/11.57, allocations: 10.12 MB / 3.989 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006056/11.57, allocations: 1.57 MB / 3.991 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003102/11.58, allocations: 25.64 kB / 3.991 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007801/11.58, allocations: 481.9 kB / 3.991 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001193/11.59, allocations: 253.1 kB / 3.991 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001076/11.59, allocations: 159.3 kB / 3.992 GB, free: 28.26 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00971/11.6, allocations: 4.301 MB / 3.996 GB, free: 28.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.753e-06/11.6, allocations: 0 / 3.996 GB, free: 28.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.02385/11.62, allocations: 4.665 MB / 4 GB, free: 27.21 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 23 (tanSim.vol[1].dynBal.U,tanSim.vol[2].dynBal.U,tanSim.vol[3].dynBal.U,tanSim.vol[4].dynBal.U,tanSim.vol[5].dynBal.U,tanSim.vol[6].dynBal.U,tanSim.vol[7].dynBal.U,tanSim.vol[8].dynBal.U,tanSim.vol[9].dynBal.U,tanSim.vol[10].dynBal.U,tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tanEnh.vol[8].dynBal.U,tanEnh.vol[9].dynBal.U,tanEnh.vol[10].dynBal.U,HOut_flow.h_out,HOut_flow1.h_out,dH.y) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,P.nextEvent,P.nextEventScaled) * Number of discrete states: 12 (P.nextEvent,P.last,P.nextEventScaled,P.b,P.a,$whenCondition2,TWat.nextEvent,TWat.last,TWat.nextEventScaled,TWat.b,TWat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (448): * Single equations (assignments): 444 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * 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.00357/11.62, allocations: 0.8648 MB / 4.001 GB, free: 27.06 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0219/11.65, allocations: 10.77 MB / 4.012 GB, free: 26.53 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/11.65, allocations: 3.906 kB / 4.012 GB, free: 26.53 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005226/11.65, allocations: 3.016 MB / 4.015 GB, free: 26.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01935/11.67, allocations: 3.423 MB / 4.018 GB, free: 26.17 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04066/11.71, allocations: 16.15 MB / 4.034 GB, free: 20.46 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01232/11.72, allocations: 6.234 MB / 4.04 GB, free: 17.04 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.02225/11.75, allocations: 5.727 MB / 4.045 GB, free: 13.49 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003769/11.75, allocations: 469.1 kB / 4.046 GB, free: 13.07 MB / 0.698 GB Notification: Performance of SimCode: time 1.743e-06/11.75, allocations: 0 / 4.046 GB, free: 13.07 MB / 0.698 GB Notification: Performance of Templates: time 0.723/12.47, allocations: 125.9 MB / 4.169 GB, free: 89.73 MB / 0.7136 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified.pipe 2>&1)