Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Storage.Examples.Stratified.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002542/0.002542, allocations: 354.5 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.432/1.432, allocations: 165.8 MB / 183.1 MB, free: 5.469 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.793/3.793, allocations: 410.7 MB / 0.6001 GB, free: 15.13 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001812/0.001811, allocations: 198.8 kB / 0.6668 GB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.0004704, allocations: 15.94 kB / 0.7429 GB, free: 8.949 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4123, allocations: 67.44 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.317/1.73, allocations: 371.8 MB / 1.172 GB, free: 158.7 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003632/1.73, allocations: 102.4 kB / 1.172 GB, free: 158.7 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 15.15/16.88, allocations: 2.903 GB / 4.075 GB, free: 44.13 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.946e-06/16.88, allocations: 0 / 4.075 GB, free: 44.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.001723/16.88, allocations: 255.6 kB / 4.075 GB, free: 44.1 MB / 0.6042 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.04593/16.93, allocations: 9.817 MB / 4.085 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/16.93, allocations: 9.281 kB / 4.085 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008684/16.94, allocations: 1.172 MB / 4.086 GB, free: 40.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03505/16.97, allocations: 10.21 MB / 4.096 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009336/16.97, allocations: 0.6139 MB / 4.096 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004209/16.98, allocations: 0.8203 MB / 4.097 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04244/17.02, allocations: 11.77 MB / 4.109 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005925/17.02, allocations: 23.55 kB / 4.109 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003935/17.02, allocations: 357.4 kB / 4.109 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000345/17.02, allocations: 254.9 kB / 4.109 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03221/17.06, allocations: 9.629 MB / 4.119 GB, free: 37.58 MB / 0.6042 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.1047/17.16, allocations: 46.25 MB / 4.164 GB, free: 34.17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01539/17.18, allocations: 6.198 MB / 4.17 GB, free: 33.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01275/17.19, allocations: 5.492 MB / 4.175 GB, free: 33.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00212/17.19, allocations: 0.8208 MB / 4.176 GB, free: 32.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01027/17.2, allocations: 3.4 MB / 4.179 GB, free: 32.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00654/17.21, allocations: 0.5221 MB / 4.18 GB, free: 32.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=449): time 2.649e-05/17.21, allocations: 0 / 4.18 GB, free: 32.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=449): time 0.0276/17.24, allocations: 8.807 MB / 4.189 GB, free: 31.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/17.24, allocations: 156.8 kB / 4.189 GB, free: 31.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01966/17.25, allocations: 7.274 MB / 4.196 GB, free: 31.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.001489/17.26, allocations: 111.9 kB / 4.196 GB, free: 31.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.006801/17.26, allocations: 4.282 MB / 4.2 GB, free: 29.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.003144/17.27, allocations: 1.556 MB / 4.202 GB, free: 28.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008281/17.27, allocations: 117.9 kB / 4.202 GB, free: 28.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0005939/17.27, allocations: 0.5432 MB / 4.202 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008178/17.28, allocations: 2.971 MB / 4.205 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01015/17.29, allocations: 4.869 MB / 4.21 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/17.3, allocations: 4.011 MB / 4.214 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.756e-05/17.3, allocations: 16.41 kB / 4.214 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02663/17.32, allocations: 8.814 MB / 4.222 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001454/17.33, allocations: 1.897 MB / 4.224 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001453/17.33, allocations: 60 kB / 4.224 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001605/17.33, allocations: 95.16 kB / 4.224 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01107/17.34, allocations: 1.378 MB / 4.226 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001864/17.34, allocations: 129.1 kB / 4.226 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01256/17.35, allocations: 0.6106 MB / 4.227 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001793/17.35, allocations: 282.9 kB / 4.227 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/17.35, allocations: 3 kB / 4.227 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02411/17.38, allocations: 8.243 MB / 4.235 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001707/17.38, allocations: 56.31 kB / 4.235 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000112/17.38, allocations: 98.19 kB / 4.235 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.011/17.39, allocations: 1.372 MB / 4.236 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001858/17.39, allocations: 127.6 kB / 4.236 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01183/17.4, allocations: 0.5886 MB / 4.237 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001805/17.4, allocations: 281 kB / 4.237 GB, free: 17.07 MB / 0.6198 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.01037/17.41, allocations: 3.562 MB / 4.241 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002871/17.41, allocations: 0.7108 MB / 4.242 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02313/17.44, allocations: 7.074 MB / 4.248 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.927e-05/17.44, allocations: 45.16 kB / 4.248 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.688e-05/17.44, allocations: 7.578 kB / 4.248 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01702/17.45, allocations: 5.783 MB / 4.254 GB, free: 10.32 MB / 0.6198 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.05645/17.51, allocations: 16.58 MB / 4.27 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.398e-05/17.51, allocations: 8.031 kB / 4.27 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009512/17.52, allocations: 0.9518 MB / 4.271 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.914e-05/17.52, allocations: 13.31 kB / 4.271 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001232/17.52, allocations: 125 kB / 4.271 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-05/17.52, allocations: 16 kB / 4.271 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/17.52, allocations: 0 / 4.271 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03078/17.55, allocations: 10.52 MB / 4.282 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00781/17.56, allocations: 1.662 MB / 4.283 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003469/17.56, allocations: 102.6 kB / 4.283 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01188/17.58, allocations: 0.588 MB / 4.284 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001362/17.58, allocations: 261 kB / 4.284 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001072/17.58, allocations: 196.8 kB / 4.284 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.5385/18.12, allocations: 5.183 MB / 4.289 GB, free: 67.21 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.81e-07/18.12, allocations: 0 / 4.289 GB, free: 67.21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.02523/18.14, allocations: 4.875 MB / 4.294 GB, free: 67.21 MB / 0.6355 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.003614/18.15, allocations: 0.9129 MB / 4.295 GB, free: 67.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.03048/18.18, allocations: 11.38 MB / 4.306 GB, free: 66.76 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.591e-05/18.18, allocations: 9.828 kB / 4.306 GB, free: 66.76 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.007971/18.18, allocations: 3.157 MB / 4.309 GB, free: 66.62 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04002/18.22, allocations: 4.483 MB / 4.314 GB, free: 66.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0557/18.28, allocations: 22.5 MB / 4.336 GB, free: 59.02 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01333/18.29, allocations: 6.257 MB / 4.342 GB, free: 58.14 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.02461/18.32, allocations: 4.228 MB / 4.346 GB, free: 57.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004603/18.32, allocations: 0.6158 MB / 4.347 GB, free: 57.82 MB / 0.6355 GB Notification: Performance of SimCode: time 1.402e-06/18.32, allocations: 0 / 4.347 GB, free: 57.82 MB / 0.6355 GB Notification: Performance of Templates: time 0.3704/18.69, allocations: 157.9 MB / 4.501 GB, free: 11.46 MB / 0.6511 GB