Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified") translateModel(IBPSA.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5191/0.5191, allocations: 90.91 MB / 99.35 MB, free: 2.211 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 221.5 MB / 343.2 MB, free: 1.594 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008794/0.0008794, allocations: 99.92 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.442e-05/1.445e-05, allocations: 7.938 kB / 494.5 MB, free: 52.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1495, allocations: 72.31 MB / 0.5535 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.108/1.257, allocations: 374.9 MB / 0.9197 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/1.258, allocations: 88.83 kB / 0.9198 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 11.35/12.61, allocations: 2.998 GB / 3.918 GB, free: 50.74 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.763e-06/12.61, allocations: 0 / 3.918 GB, free: 50.74 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.001624/12.61, allocations: 263 kB / 3.918 GB, free: 50.7 MB / 0.6355 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.03543/12.65, allocations: 8.332 MB / 3.926 GB, free: 47.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/12.65, allocations: 7.594 kB / 3.926 GB, free: 47.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009656/12.66, allocations: 1.176 MB / 3.927 GB, free: 47.06 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03015/12.69, allocations: 11.06 MB / 3.938 GB, free: 45.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006868/12.69, allocations: 271.8 kB / 3.939 GB, free: 45.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005044/12.7, allocations: 494 kB / 3.939 GB, free: 45.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02386/12.72, allocations: 8.898 MB / 3.948 GB, free: 45.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03877/12.76, allocations: 10.35 MB / 3.958 GB, free: 44.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006929/12.76, allocations: 27.03 kB / 3.958 GB, free: 44.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004143/12.76, allocations: 15.09 kB / 3.958 GB, free: 44.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003717/12.76, allocations: 249.9 kB / 3.958 GB, free: 44.69 MB / 0.6355 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.08495/12.85, allocations: 45.01 MB / 4.002 GB, free: 35.38 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/12.86, allocations: 6 MB / 4.008 GB, free: 32.99 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007895/12.87, allocations: 4.651 MB / 4.012 GB, free: 31.41 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001489/12.87, allocations: 0.821 MB / 4.013 GB, free: 30.64 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007181/12.88, allocations: 3.167 MB / 4.016 GB, free: 28.32 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006174/12.88, allocations: 400.4 kB / 4.017 GB, free: 27.95 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=449): time 3.068e-05/12.88, allocations: 0 / 4.017 GB, free: 27.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=449): time 0.01616/12.9, allocations: 6.125 MB / 4.023 GB, free: 22.69 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.399e-05/12.9, allocations: 158.2 kB / 4.023 GB, free: 22.51 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01522/12.91, allocations: 5.924 MB / 4.029 GB, free: 17.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.001799/12.92, allocations: 29.7 kB / 4.029 GB, free: 17.37 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.007001/12.92, allocations: 4.307 MB / 4.033 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.003612/12.93, allocations: 1.501 MB / 4.034 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001422/12.93, allocations: 0 / 4.034 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0009021/12.93, allocations: 0.5471 MB / 4.035 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006328/12.94, allocations: 2.78 MB / 4.038 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008361/12.94, allocations: 4.62 MB / 4.042 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009882/12.95, allocations: 4.058 MB / 4.046 GB, free: 0.9141 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001109/12.95, allocations: 20 kB / 4.046 GB, free: 0.8945 MB / 0.6511 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.559/13.51, allocations: 8.937 MB / 4.055 GB, free: 64.38 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.007801/13.52, allocations: 28.12 MB / 4.082 GB, free: 51.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002664/13.52, allocations: 61.78 kB / 4.082 GB, free: 51.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003009/13.52, allocations: 102.2 kB / 4.082 GB, free: 51.24 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007572/13.53, allocations: 1.448 MB / 4.084 GB, free: 51.24 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002515/13.53, allocations: 124.2 kB / 4.084 GB, free: 51.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009429/13.54, allocations: 0.5057 MB / 4.084 GB, free: 51.24 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001869/13.54, allocations: 280.3 kB / 4.085 GB, free: 51.24 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/13.54, allocations: 7.281 kB / 4.085 GB, free: 51.24 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01879/13.56, allocations: 7.605 MB / 4.092 GB, free: 51.15 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002156/13.56, allocations: 58.12 kB / 4.092 GB, free: 51.15 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001313/13.56, allocations: 97.94 kB / 4.092 GB, free: 51.15 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006568/13.57, allocations: 1.437 MB / 4.094 GB, free: 51.15 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002111/13.57, allocations: 126.8 kB / 4.094 GB, free: 51.15 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008767/13.57, allocations: 497.9 kB / 4.094 GB, free: 51.15 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001822/13.58, allocations: 278.5 kB / 4.095 GB, free: 51.15 MB / 0.6667 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 () * 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.002121/13.58, allocations: 362.9 kB / 4.095 GB, free: 50.98 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002432/13.58, allocations: 0.6442 MB / 4.096 GB, free: 50.93 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/13.6, allocations: 6.768 MB / 4.102 GB, free: 50.71 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-05/13.6, allocations: 43.75 kB / 4.102 GB, free: 50.71 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/13.6, allocations: 0.7969 kB / 4.102 GB, free: 50.71 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00828/13.6, allocations: 5.651 MB / 4.108 GB, free: 50.55 MB / 0.6667 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.03416/13.64, allocations: 15.4 MB / 4.123 GB, free: 49.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/13.64, allocations: 5.781 kB / 4.123 GB, free: 49.64 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003966/13.64, allocations: 0.9137 MB / 4.124 GB, free: 49.64 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.62e-05/13.64, allocations: 18.12 kB / 4.124 GB, free: 49.64 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004724/13.64, allocations: 65.64 kB / 4.124 GB, free: 49.64 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-05/13.64, allocations: 17.16 kB / 4.124 GB, free: 49.64 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/13.64, allocations: 0 / 4.124 GB, free: 49.64 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0143/13.66, allocations: 10.33 MB / 4.134 GB, free: 48.83 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006092/13.66, allocations: 1.679 MB / 4.135 GB, free: 48.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002943/13.67, allocations: 25.61 kB / 4.135 GB, free: 48.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007862/13.67, allocations: 493 kB / 4.136 GB, free: 48.39 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001107/13.67, allocations: 257.9 kB / 4.136 GB, free: 48.38 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001217/13.68, allocations: 204.9 kB / 4.136 GB, free: 48.38 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.01036/13.69, allocations: 4.52 MB / 4.141 GB, free: 48.16 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.51e-07/13.69, allocations: 0 / 4.141 GB, free: 48.16 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0238/13.71, allocations: 4.769 MB / 4.145 GB, free: 47.73 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 21 (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,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 (445): * Single equations (assignments): 441 * 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.004712/13.71, allocations: 0.871 MB / 4.146 GB, free: 47.61 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.02288/13.74, allocations: 10.87 MB / 4.157 GB, free: 47.26 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.721e-05/13.74, allocations: 8.688 kB / 4.157 GB, free: 47.26 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.005386/13.74, allocations: 3.028 MB / 4.16 GB, free: 47.1 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02138/13.76, allocations: 3.482 MB / 4.163 GB, free: 47.06 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04413/13.81, allocations: 16.25 MB / 4.179 GB, free: 44.16 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01566/13.82, allocations: 6.308 MB / 4.185 GB, free: 43.17 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.02536/13.85, allocations: 5.929 MB / 4.191 GB, free: 42.77 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003551/13.85, allocations: 474 kB / 4.192 GB, free: 42.77 MB / 0.6667 GB Notification: Performance of SimCode: time 1.443e-06/13.85, allocations: 0 / 4.192 GB, free: 42.77 MB / 0.6667 GB Notification: Performance of Templates: time 0.6919/14.55, allocations: 130.1 MB / 4.319 GB, free: 94.19 MB / 0.6823 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.pipe 2>&1)