Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.Validation.StratifiedLoadingUnloading,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",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.0012/0.0012, allocations: 177.6 kB / 8.004 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.4978/0.4978, allocations: 90.91 MB / 99.34 MB, free: 2.156 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.475/1.475, allocations: 221.5 MB / 343.2 MB, free: 1.59 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.0009022/0.0009022, allocations: 87.95 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.988e-05/1.984e-05, allocations: 0 / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1506, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.126/1.276, allocations: 370.7 MB / 0.9156 GB, free: 109.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/1.277, allocations: 89.77 kB / 0.9157 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 8.597/9.873, allocations: 2.242 GB / 3.157 GB, free: 55.99 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.154e-06/9.873, allocations: 0 / 3.157 GB, free: 55.99 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.001429/9.875, allocations: 198.4 kB / 3.157 GB, free: 55.96 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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02309/9.898, allocations: 6.144 MB / 3.163 GB, free: 53.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/9.898, allocations: 10.06 kB / 3.163 GB, free: 53.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006368/9.904, allocations: 0.8556 MB / 3.164 GB, free: 53.42 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02138/9.926, allocations: 7.92 MB / 3.172 GB, free: 52.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004139/9.926, allocations: 194.8 kB / 3.172 GB, free: 52.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003141/9.929, allocations: 364.9 kB / 3.173 GB, free: 52.56 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01814/9.948, allocations: 6.315 MB / 3.179 GB, free: 52.53 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02682/9.974, allocations: 7.443 MB / 3.186 GB, free: 51.61 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004217/9.975, allocations: 16.03 kB / 3.186 GB, free: 51.61 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002529/9.977, allocations: 12.94 kB / 3.186 GB, free: 51.61 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000246/9.978, allocations: 245.3 kB / 3.186 GB, free: 51.59 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.05349/10.03, allocations: 33.05 MB / 3.219 GB, free: 37 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00589/10.04, allocations: 4.015 MB / 3.222 GB, free: 36.95 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004064/10.04, allocations: 3.085 MB / 3.225 GB, free: 36.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/10.04, allocations: 0.9578 MB / 3.226 GB, free: 35.97 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003758/10.05, allocations: 2.183 MB / 3.229 GB, free: 35.87 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003532/10.05, allocations: 366.2 kB / 3.229 GB, free: 35.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=317): time 1.46e-05/10.05, allocations: 0 / 3.229 GB, free: 35.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=317): time 0.01064/10.06, allocations: 4.531 MB / 3.233 GB, free: 35.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/10.06, allocations: 85.81 kB / 3.233 GB, free: 35.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008388/10.07, allocations: 4.321 MB / 3.238 GB, free: 34.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.00117/10.07, allocations: 26.58 kB / 3.238 GB, free: 34.87 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.003757/10.07, allocations: 3.172 MB / 3.241 GB, free: 33.49 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.002144/10.08, allocations: 1.073 MB / 3.242 GB, free: 32.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002632/10.08, allocations: 3.844 kB / 3.242 GB, free: 32.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0003011/10.08, allocations: 495.9 kB / 3.242 GB, free: 32.49 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002854/10.08, allocations: 1.957 MB / 3.244 GB, free: 32.47 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003329/10.08, allocations: 3.466 MB / 3.248 GB, free: 30.66 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004644/10.09, allocations: 2.949 MB / 3.25 GB, free: 30.61 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.367e-05/10.09, allocations: 14.88 kB / 3.25 GB, free: 30.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01194/10.1, allocations: 6.234 MB / 3.257 GB, free: 30.22 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.434e-05/10.1, allocations: 59.25 kB / 3.257 GB, free: 30.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.46e-05/10.1, allocations: 49.62 kB / 3.257 GB, free: 30.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008522/10.1, allocations: 427.1 kB / 3.257 GB, free: 30.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004297/10.1, allocations: 1.031 MB / 3.258 GB, free: 30.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005021/10.11, allocations: 5.143 MB / 3.263 GB, free: 27.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006387/10.12, allocations: 383.8 kB / 3.263 GB, free: 27.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009665/10.12, allocations: 217.2 kB / 3.264 GB, free: 27.51 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001054/10.12, allocations: 249.5 kB / 3.264 GB, free: 27.37 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008115/10.13, allocations: 4.539 MB / 3.268 GB, free: 26.97 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001623/10.13, allocations: 478.6 kB / 3.269 GB, free: 26.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008798/10.14, allocations: 5.02 MB / 3.274 GB, free: 26.49 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.677e-05/10.14, allocations: 34.3 kB / 3.274 GB, free: 26.49 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/10.14, allocations: 3.562 kB / 3.274 GB, free: 26.49 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005962/10.14, allocations: 4.41 MB / 3.278 GB, free: 26.03 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 postOpt removeSimpleEquations (simulation): time 0.02279/10.17, allocations: 11.13 MB / 3.289 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/10.17, allocations: 3.188 kB / 3.289 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00271/10.17, allocations: 0.623 MB / 3.289 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000772/10.17, allocations: 365.1 kB / 3.29 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002635/10.17, allocations: 41.97 kB / 3.29 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00455/10.17, allocations: 5.051 MB / 3.295 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/10.17, allocations: 0 / 3.295 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/10.19, allocations: 7.448 MB / 3.302 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004187/10.19, allocations: 1.191 MB / 3.303 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001877/10.19, allocations: 20.19 kB / 3.303 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005082/10.2, allocations: 360.3 kB / 3.304 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004384/10.2, allocations: 197.2 kB / 3.304 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004044/10.2, allocations: 138.4 kB / 3.304 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.005874/10.2, allocations: 3.278 MB / 3.307 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.433e-06/10.2, allocations: 0 / 3.307 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01065/10.21, allocations: 2.023 MB / 3.309 GB, free: 16.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (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,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01437/10.23, allocations: 8.901 MB / 3.318 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00682/10.24, allocations: 4.951 MB / 3.323 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/10.24, allocations: 7.875 kB / 3.323 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002804/10.24, allocations: 2.335 MB / 3.325 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01341/10.25, allocations: 2.488 MB / 3.327 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03359/10.29, allocations: 13.22 MB / 3.34 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007282/10.29, allocations: 4.746 MB / 3.345 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.007637/10.3, allocations: 1.888 MB / 3.347 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005382/10.31, allocations: 2.665 MB / 3.349 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of SimCode: time 1.102e-06/10.31, allocations: 0 / 3.349 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6728/10.98, allocations: 146.2 MB / 3.492 GB, free: 52.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001466/10.98, allocations: 170.9 kB / 3.492 GB, free: 52.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.434/17.41, allocations: 4 kB / 3.492 GB, free: 52.08 MB / 0.6511 GB (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)