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: "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.Stratified,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_Stratified",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.Stratified,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_Stratified",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 181.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5603/0.5603, allocations: 91.97 MB / 108.5 MB, free: 13.06 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.655/1.655, allocations: 223.2 MB / 354.3 MB, free: 12.17 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.001207/0.001207, allocations: 100.3 kB / 427.4 MB, free: 3.938 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003888, allocations: 12 kB / 0.4983 GB, free: 42.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1641, allocations: 72.32 MB / 0.5689 GB, free: 1.836 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.155/1.32, allocations: 375.7 MB / 0.9358 GB, free: 90.99 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/1.32, allocations: 99.31 kB / 0.9359 GB, free: 90.93 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 11.71/13.03, allocations: 3.021 GB / 3.956 GB, free: 68.24 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.037e-06/13.03, allocations: 0 / 3.956 GB, free: 68.24 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.001868/13.03, allocations: 265.5 kB / 3.957 GB, free: 68.2 MB / 0.6511 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.04307/13.07, allocations: 9.907 MB / 3.966 GB, free: 64.56 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.355e-05/13.07, allocations: 9.594 kB / 3.966 GB, free: 64.56 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007178/13.08, allocations: 1.148 MB / 3.967 GB, free: 64.47 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00979/13.09, allocations: 1.184 MB / 3.969 GB, free: 63.92 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03613/13.12, allocations: 11.1 MB / 3.979 GB, free: 62.82 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001189/13.12, allocations: 0.6174 MB / 3.98 GB, free: 62.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005513/13.13, allocations: 0.8122 MB / 3.981 GB, free: 62.79 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04776/13.18, allocations: 11.7 MB / 3.992 GB, free: 61.58 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009544/13.18, allocations: 28.8 kB / 3.992 GB, free: 61.57 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005373/13.18, allocations: 358.5 kB / 3.993 GB, free: 61.57 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004927/13.18, allocations: 252 kB / 3.993 GB, free: 61.57 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03091/13.22, allocations: 9.627 MB / 4.002 GB, free: 61.51 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 preOpt removeSimpleEquations (simulation): time 0.1067/13.32, allocations: 46.63 MB / 4.048 GB, free: 39.75 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01338/13.34, allocations: 6.329 MB / 4.054 GB, free: 37.28 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001748/13.34, allocations: 0.8194 MB / 4.055 GB, free: 36.51 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008815/13.35, allocations: 3.395 MB / 4.058 GB, free: 35.31 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007584/13.35, allocations: 0.562 MB / 4.059 GB, free: 34.93 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=449): time 2.827e-05/13.35, allocations: 0 / 4.059 GB, free: 34.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=449): time 0.0252/13.38, allocations: 9.023 MB / 4.068 GB, free: 31.47 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/13.38, allocations: 155.6 kB / 4.068 GB, free: 31.34 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02015/13.4, allocations: 7.201 MB / 4.075 GB, free: 28.93 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.002025/13.4, allocations: 114 kB / 4.075 GB, free: 28.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.007705/13.41, allocations: 4.319 MB / 4.079 GB, free: 25.56 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.003639/13.41, allocations: 1.559 MB / 4.081 GB, free: 24.37 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001593/13.42, allocations: 114.9 kB / 4.081 GB, free: 24.28 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.001098/13.42, allocations: 0.5445 MB / 4.081 GB, free: 23.87 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006698/13.42, allocations: 2.986 MB / 4.084 GB, free: 21.53 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007755/13.43, allocations: 4.862 MB / 4.089 GB, free: 16.44 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008011/13.44, allocations: 4.031 MB / 4.093 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.606e-05/13.44, allocations: 16 kB / 4.093 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02365/13.46, allocations: 8.855 MB / 4.101 GB, free: 5.145 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.5369/14, allocations: 29.26 MB / 4.13 GB, free: 70.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002399/14, allocations: 57.69 kB / 4.13 GB, free: 70.44 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002327/14, allocations: 98.28 kB / 4.13 GB, free: 70.44 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008044/14.01, allocations: 1.435 MB / 4.132 GB, free: 70.44 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002195/14.01, allocations: 127.4 kB / 4.132 GB, free: 70.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009637/14.02, allocations: 0.6314 MB / 4.132 GB, free: 70.44 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001616/14.02, allocations: 284.6 kB / 4.133 GB, free: 70.44 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/14.02, allocations: 3.219 kB / 4.133 GB, free: 70.44 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01544/14.04, allocations: 8.265 MB / 4.141 GB, free: 70.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002049/14.04, allocations: 58.62 kB / 4.141 GB, free: 70.29 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001622/14.04, allocations: 98.56 kB / 4.141 GB, free: 70.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005827/14.04, allocations: 1.442 MB / 4.142 GB, free: 70.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001343/14.04, allocations: 129.5 kB / 4.142 GB, free: 70.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009051/14.05, allocations: 0.5993 MB / 4.143 GB, free: 70.29 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001543/14.05, allocations: 288 kB / 4.143 GB, free: 70.29 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 () * 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.01344/14.07, allocations: 3.585 MB / 4.147 GB, free: 70.04 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004666/14.07, allocations: 0.7181 MB / 4.147 GB, free: 70.04 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0225/14.09, allocations: 7.118 MB / 4.154 GB, free: 69.76 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.096e-05/14.09, allocations: 47.08 kB / 4.154 GB, free: 69.75 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.961e-05/14.09, allocations: 0 / 4.154 GB, free: 69.75 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01183/14.1, allocations: 5.821 MB / 4.16 GB, free: 69.53 MB / 0.6667 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.0385/14.14, allocations: 16.42 MB / 4.176 GB, free: 68.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/14.14, allocations: 5.875 kB / 4.176 GB, free: 68.61 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00393/14.15, allocations: 0.9093 MB / 4.177 GB, free: 68.61 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-05/14.15, allocations: 13.97 kB / 4.177 GB, free: 68.61 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003339/14.15, allocations: 119.9 kB / 4.177 GB, free: 68.61 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.138e-05/14.15, allocations: 26.28 kB / 4.177 GB, free: 68.61 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/14.15, allocations: 0 / 4.177 GB, free: 68.61 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01604/14.16, allocations: 10.78 MB / 4.188 GB, free: 68.05 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008811/14.17, allocations: 1.756 MB / 4.189 GB, free: 67.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003615/14.18, allocations: 94.98 kB / 4.189 GB, free: 67.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009056/14.19, allocations: 0.576 MB / 4.19 GB, free: 67.57 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001028/14.19, allocations: 256.1 kB / 4.19 GB, free: 67.57 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001236/14.19, allocations: 199.1 kB / 4.19 GB, free: 67.57 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.01328/14.2, allocations: 5.631 MB / 4.196 GB, free: 67.35 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.81e-07/14.2, allocations: 3.969 kB / 4.196 GB, free: 67.35 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.02403/14.23, allocations: 4.925 MB / 4.201 GB, free: 67 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) * 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.02536/14.25, allocations: 12.24 MB / 4.213 GB, free: 65.45 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.02088/14.27, allocations: 11.46 MB / 4.224 GB, free: 65.11 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-05/14.27, allocations: 5 kB / 4.224 GB, free: 65.11 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.005231/14.28, allocations: 3.197 MB / 4.227 GB, free: 64.97 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02316/14.3, allocations: 4.39 MB / 4.231 GB, free: 64.94 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2521/14.55, allocations: 115.6 MB / 4.344 GB, free: 20.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008523/14.56, allocations: 6.299 MB / 4.35 GB, free: 15.44 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.01433/14.58, allocations: 4.358 MB / 4.355 GB, free: 12.56 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008178/14.58, allocations: 3.76 MB / 4.358 GB, free: 9.09 MB / 0.698 GB Notification: Performance of SimCode: time 3.156e-06/14.58, allocations: 0 / 4.358 GB, free: 9.09 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9305/15.51, allocations: 238.1 MB / 4.591 GB, free: 16.79 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/15.51, allocations: 210.5 kB / 4.591 GB, free: 16.54 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/25.72, allocations: 0 / 4.591 GB, free: 16.54 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Examples_Stratified_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_Storage_Examples_Stratified.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified.pipe 2>&1)