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.001829/0.001829, allocations: 182.9 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5842/0.5842, allocations: 91.98 MB / 108.5 MB, free: 13.07 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.659/1.659, allocations: 223.1 MB / 354.3 MB, free: 12.14 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.001001/0.001, allocations: 107.8 kB / 427.4 MB, free: 3.91 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004424/0.0004425, allocations: 16 kB / 0.4983 GB, free: 42.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1804, allocations: 72.31 MB / 0.5689 GB, free: 1.82 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.229/1.409, allocations: 371.4 MB / 0.9317 GB, free: 95.19 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/1.409, allocations: 95.64 kB / 0.9317 GB, free: 95.14 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 8.373/9.782, allocations: 2.258 GB / 3.19 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.745e-06/9.782, allocations: 0 / 3.19 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.001751/9.784, allocations: 195.2 kB / 3.19 GB, free: 5.371 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 1.007/10.79, allocations: 7.275 MB / 3.197 GB, free: 49.62 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.814e-05/10.79, allocations: 12.81 kB / 3.197 GB, free: 49.62 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006188/10.8, allocations: 0.8417 MB / 3.198 GB, free: 49.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008027/10.8, allocations: 0.8462 MB / 3.199 GB, free: 49.15 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03118/10.84, allocations: 7.954 MB / 3.207 GB, free: 48.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008354/10.84, allocations: 461.4 kB / 3.207 GB, free: 48.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003611/10.84, allocations: 0.5945 MB / 3.208 GB, free: 48.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02919/10.87, allocations: 8.452 MB / 3.216 GB, free: 47.63 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003473/10.87, allocations: 23.34 kB / 3.216 GB, free: 47.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001848/10.87, allocations: 262.4 kB / 3.216 GB, free: 47.62 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002657/10.87, allocations: 242.7 kB / 3.217 GB, free: 47.61 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02401/10.9, allocations: 6.898 MB / 3.223 GB, free: 47.57 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.07629/10.97, allocations: 34.24 MB / 3.257 GB, free: 48.93 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008042/10.98, allocations: 4.258 MB / 3.261 GB, free: 48.88 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/10.98, allocations: 0.9574 MB / 3.262 GB, free: 47.94 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005729/10.99, allocations: 2.358 MB / 3.264 GB, free: 47.83 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006376/10.99, allocations: 483 kB / 3.265 GB, free: 47.61 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=317): time 4.108e-05/10.99, allocations: 1.75 kB / 3.265 GB, free: 47.61 MB / 0.6512 GB Notification: Performance of matching and sorting (n=317): time 0.01682/11.01, allocations: 7.07 MB / 3.272 GB, free: 46.98 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.2e-05/11.01, allocations: 86.56 kB / 3.272 GB, free: 46.91 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01446/11.03, allocations: 5.268 MB / 3.277 GB, free: 46.57 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001267/11.03, allocations: 89.83 kB / 3.277 GB, free: 46.54 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.005138/11.03, allocations: 3.186 MB / 3.28 GB, free: 45.29 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.002415/11.03, allocations: 1.112 MB / 3.281 GB, free: 44.59 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/11.04, allocations: 91.91 kB / 3.281 GB, free: 44.59 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 0.0006141/11.04, allocations: 492.9 kB / 3.282 GB, free: 44.28 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004726/11.04, allocations: 2.126 MB / 3.284 GB, free: 44.27 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005631/11.05, allocations: 3.662 MB / 3.287 GB, free: 42.43 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005568/11.05, allocations: 2.888 MB / 3.29 GB, free: 42.36 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001131/11.05, allocations: 14.12 kB / 3.29 GB, free: 42.36 MB / 0.6512 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01514/11.07, allocations: 6.709 MB / 3.297 GB, free: 41.91 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/11.07, allocations: 53.45 kB / 3.297 GB, free: 41.88 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001296/11.07, allocations: 53.75 kB / 3.297 GB, free: 41.88 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001173/11.07, allocations: 434.7 kB / 3.297 GB, free: 41.86 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00435/11.07, allocations: 1.03 MB / 3.298 GB, free: 41.86 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006159/11.08, allocations: 5.407 MB / 3.304 GB, free: 39.15 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008229/11.09, allocations: 483.9 kB / 3.304 GB, free: 39.1 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001394/11.09, allocations: 214.1 kB / 3.304 GB, free: 39.1 MB / 0.6512 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 () * Number of clocked 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.007872/11.1, allocations: 2.485 MB / 3.307 GB, free: 38.95 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002919/11.1, allocations: 0.5285 MB / 3.307 GB, free: 38.68 MB / 0.6512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01339/11.11, allocations: 5.224 MB / 3.312 GB, free: 38.44 MB / 0.6512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.726e-05/11.11, allocations: 29.62 kB / 3.312 GB, free: 38.44 MB / 0.6512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.069e-05/11.11, allocations: 3.219 kB / 3.312 GB, free: 38.44 MB / 0.6512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009088/11.12, allocations: 4.505 MB / 3.317 GB, free: 37.97 MB / 0.6512 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.03892/11.16, allocations: 11.82 MB / 3.328 GB, free: 37.2 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.726e-05/11.16, allocations: 2.5 kB / 3.328 GB, free: 37.2 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003314/11.17, allocations: 0.6248 MB / 3.329 GB, free: 37.2 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009003/11.17, allocations: 365.2 kB / 3.329 GB, free: 37.18 MB / 0.6512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006505/11.17, allocations: 86.94 kB / 3.329 GB, free: 37.18 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005918/11.17, allocations: 5.31 MB / 3.334 GB, free: 34.46 MB / 0.6512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/11.17, allocations: 4.562 kB / 3.334 GB, free: 34.46 MB / 0.6512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0143/11.19, allocations: 7.737 MB / 3.342 GB, free: 32.95 MB / 0.6512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005733/11.19, allocations: 1.264 MB / 3.343 GB, free: 32.26 MB / 0.6512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002773/11.2, allocations: 68.09 kB / 3.343 GB, free: 32.22 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006435/11.2, allocations: 414.5 kB / 3.344 GB, free: 32.15 MB / 0.6512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006788/11.2, allocations: 206.1 kB / 3.344 GB, free: 32.12 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006588/11.2, allocations: 135.5 kB / 3.344 GB, free: 32.1 MB / 0.6512 GB Notification: Performance of sorting global known variables: time 0.01059/11.21, allocations: 4.105 MB / 3.348 GB, free: 30.69 MB / 0.6512 GB Notification: Performance of sort global known variables: time 9.72e-07/11.21, allocations: 2.75 kB / 3.348 GB, free: 30.69 MB / 0.6512 GB Notification: Performance of remove unused functions: time 0.01269/11.23, allocations: 2.055 MB / 3.35 GB, free: 30.29 MB / 0.6512 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) * Number of clocked states: 0 () * 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.02097/11.25, allocations: 9.225 MB / 3.359 GB, free: 26.22 MB / 0.6512 GB Notification: Performance of simCode: created initialization part: time 0.0113/11.26, allocations: 5.36 MB / 3.364 GB, free: 24.35 MB / 0.6512 GB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/11.26, allocations: 2.281 kB / 3.364 GB, free: 24.35 MB / 0.6512 GB Notification: Performance of simCode: created simulation system equations: time 0.00504/11.26, allocations: 2.491 MB / 3.367 GB, free: 23.37 MB / 0.6512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02012/11.28, allocations: 3.172 MB / 3.37 GB, free: 22.87 MB / 0.6512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1855/11.47, allocations: 84.85 MB / 3.453 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5356/12.01, allocations: 4.845 MB / 3.457 GB, free: 110.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.01272/12.02, allocations: 2.136 MB / 3.459 GB, free: 110.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007154/12.03, allocations: 2.672 MB / 3.462 GB, free: 110.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.202e-06/12.03, allocations: 0 / 3.462 GB, free: 110.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3029/12.33, allocations: 176 MB / 3.634 GB, free: 67.77 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/12.33, allocations: 259.5 kB / 3.634 GB, free: 67.45 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.294/20.62, allocations: 3.094 kB / 3.634 GB, free: 67.45 MB / 0.698 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)