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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.001402/0.001402, allocations: 173.2 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4984/0.4984, allocations: 86.27 MB / 103.8 MB, free: 14.56 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.3 MB / 348.4 MB, free: 4.996 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009253/0.0009254, allocations: 99.83 kB / 420.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000554/0.0005542, allocations: 12 kB / 0.4901 GB, free: 8.008 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.4366, allocations: 71.01 MB / 0.5594 GB, free: 43.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8529/1.29, allocations: 373.8 MB / 0.9245 GB, free: 3.699 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/1.29, allocations: 95.34 kB / 0.9246 GB, free: 3.652 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 10.34/11.63, allocations: 2.952 GB / 3.877 GB, free: 52.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.234e-06/11.63, allocations: 1.5 kB / 3.877 GB, free: 52.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.001624/11.64, allocations: 250.3 kB / 3.877 GB, free: 52.17 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.03024/11.67, allocations: 9.714 MB / 3.887 GB, free: 48.56 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/11.67, allocations: 7.125 kB / 3.887 GB, free: 48.56 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006421/11.67, allocations: 1.171 MB / 3.888 GB, free: 48.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02221/11.69, allocations: 10.43 MB / 3.898 GB, free: 46.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004868/11.7, allocations: 0.6129 MB / 3.898 GB, free: 46.62 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002701/11.7, allocations: 0.8221 MB / 3.899 GB, free: 46.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02412/11.72, allocations: 11.77 MB / 3.911 GB, free: 45.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002337/11.72, allocations: 35.45 kB / 3.911 GB, free: 45.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001237/11.72, allocations: 354.2 kB / 3.911 GB, free: 45.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001808/11.72, allocations: 250.8 kB / 3.911 GB, free: 45.39 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0187/11.74, allocations: 9.629 MB / 3.921 GB, free: 45.33 MB / 0.6355 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.06447/11.81, allocations: 46.28 MB / 3.966 GB, free: 25.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008979/11.82, allocations: 6.188 MB / 3.972 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007605/11.82, allocations: 5.493 MB / 3.977 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/11.82, allocations: 0.8211 MB / 3.978 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00568/11.83, allocations: 3.4 MB / 3.981 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004957/11.84, allocations: 0.5216 MB / 3.982 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=449): time 1.178e-05/11.84, allocations: 0 / 3.982 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=449): time 0.01419/11.85, allocations: 8.808 MB / 3.991 GB, free: 16.22 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/11.85, allocations: 151.5 kB / 3.991 GB, free: 16.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01186/11.86, allocations: 7.281 MB / 3.998 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.001252/11.86, allocations: 108 kB / 3.998 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.00401/11.87, allocations: 4.284 MB / 4.002 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.002138/11.87, allocations: 1.555 MB / 4.004 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004277/11.87, allocations: 118.1 kB / 4.004 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0003237/11.87, allocations: 0.541 MB / 4.004 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00409/11.87, allocations: 2.967 MB / 4.007 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005063/11.88, allocations: 4.865 MB / 4.012 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0126/11.89, allocations: 8.586 MB / 4.02 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.026e-05/11.89, allocations: 16 kB / 4.02 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01597/11.91, allocations: 8.819 MB / 4.029 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.3883/12.3, allocations: 1.883 MB / 4.031 GB, free: 64.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000197/12.3, allocations: 65.22 kB / 4.031 GB, free: 64.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001342/12.3, allocations: 91.5 kB / 4.031 GB, free: 64.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006187/12.3, allocations: 1.376 MB / 4.032 GB, free: 64.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001989/12.3, allocations: 129.7 kB / 4.032 GB, free: 64.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008607/12.31, allocations: 0.603 MB / 4.033 GB, free: 64.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00143/12.31, allocations: 287.4 kB / 4.033 GB, free: 64.89 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/12.31, allocations: 7.344 kB / 4.033 GB, free: 64.89 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01326/12.33, allocations: 8.233 MB / 4.041 GB, free: 64.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001265/12.33, allocations: 61.81 kB / 4.041 GB, free: 64.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.49e-05/12.33, allocations: 94.03 kB / 4.041 GB, free: 64.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004876/12.33, allocations: 1.377 MB / 4.043 GB, free: 64.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.216e-05/12.33, allocations: 124.2 kB / 4.043 GB, free: 64.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006571/12.34, allocations: 0.5878 MB / 4.044 GB, free: 64.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000659/12.34, allocations: 284.2 kB / 4.044 GB, free: 64.73 MB / 0.6511 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.006218/12.34, allocations: 3.563 MB / 4.047 GB, free: 64.48 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001937/12.35, allocations: 0.7076 MB / 4.048 GB, free: 64.48 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/12.36, allocations: 7.069 MB / 4.055 GB, free: 64.21 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-05/12.36, allocations: 41.56 kB / 4.055 GB, free: 64.21 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/12.36, allocations: 1.938 kB / 4.055 GB, free: 64.21 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007816/12.37, allocations: 5.798 MB / 4.061 GB, free: 63.99 MB / 0.6511 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 postOpt removeSimpleEquations (simulation): time 0.0293/12.39, allocations: 16.48 MB / 4.077 GB, free: 62.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/12.39, allocations: 0 / 4.077 GB, free: 62.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003736/12.4, allocations: 0.9538 MB / 4.078 GB, free: 62.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.044e-05/12.4, allocations: 14.38 kB / 4.078 GB, free: 62.96 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003333/12.4, allocations: 119.6 kB / 4.078 GB, free: 62.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.45e-05/12.4, allocations: 15.78 kB / 4.078 GB, free: 62.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/12.4, allocations: 0 / 4.078 GB, free: 62.96 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/12.41, allocations: 10.52 MB / 4.088 GB, free: 62.56 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004951/12.42, allocations: 1.662 MB / 4.09 GB, free: 62.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001753/12.42, allocations: 95.05 kB / 4.09 GB, free: 62.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005536/12.42, allocations: 0.5984 MB / 4.09 GB, free: 62.15 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005201/12.43, allocations: 257.7 kB / 4.091 GB, free: 62.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004489/12.43, allocations: 200.9 kB / 4.091 GB, free: 62.15 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.007701/12.43, allocations: 5.069 MB / 4.096 GB, free: 61.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2e-07/12.43, allocations: 0 / 4.096 GB, free: 61.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.01437/12.45, allocations: 4.881 MB / 4.1 GB, free: 61.57 MB / 0.6511 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) * Number of clocked states: 0 () * 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.002088/12.45, allocations: 0.9092 MB / 4.101 GB, free: 61.45 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0149/12.46, allocations: 11.38 MB / 4.112 GB, free: 61.11 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/12.46, allocations: 4.531 kB / 4.112 GB, free: 61.11 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003812/12.47, allocations: 3.157 MB / 4.116 GB, free: 60.97 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02126/12.49, allocations: 4.421 MB / 4.12 GB, free: 60.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03188/12.52, allocations: 22.5 MB / 4.142 GB, free: 53.18 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006296/12.53, allocations: 6.091 MB / 4.148 GB, free: 52.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0125/12.54, allocations: 4.24 MB / 4.152 GB, free: 51.87 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002091/12.54, allocations: 0.6158 MB / 4.153 GB, free: 51.86 MB / 0.6511 GB Notification: Performance of SimCode: time 5.61e-07/12.54, allocations: 0 / 4.153 GB, free: 51.86 MB / 0.6511 GB Notification: Performance of Templates: time 0.9746/13.52, allocations: 160.1 MB / 4.309 GB, free: 51.68 MB / 0.6824 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)