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.001115/0.001116, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5021/0.5021, allocations: 90.81 MB / 104.5 MB, free: 9.793 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.318/1.318, allocations: 221.3 MB / 348.3 MB, free: 440 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009849/0.0009847, allocations: 93.25 kB / 421.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.646e-05/4.649e-05, allocations: 7.984 kB / 0.4897 GB, free: 5.25 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.3989, allocations: 72.29 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6507/1.05, allocations: 371.4 MB / 0.923 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004114/1.05, allocations: 84.95 kB / 0.9231 GB, free: 11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.4/9.45, allocations: 2.253 GB / 3.176 GB, free: 57.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.384e-06/9.45, allocations: 9.047 kB / 3.176 GB, free: 57.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.00102/9.451, allocations: 193.2 kB / 3.176 GB, free: 57.56 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.01973/9.471, allocations: 6.147 MB / 3.182 GB, free: 55.31 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/9.471, allocations: 14.17 kB / 3.182 GB, free: 55.31 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003507/9.474, allocations: 0.8359 MB / 3.183 GB, free: 55.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005102/9.479, allocations: 0.8474 MB / 3.184 GB, free: 54.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01986/9.499, allocations: 7.918 MB / 3.192 GB, free: 53.99 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004693/9.5, allocations: 468.4 kB / 3.192 GB, free: 53.97 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002352/9.502, allocations: 0.5937 MB / 3.193 GB, free: 53.97 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01847/9.521, allocations: 8.317 MB / 3.201 GB, free: 53.01 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002178/9.521, allocations: 25.27 kB / 3.201 GB, free: 53.01 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001235/9.522, allocations: 265.2 kB / 3.201 GB, free: 53.01 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001793/9.522, allocations: 239.1 kB / 3.201 GB, free: 53 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01556/9.538, allocations: 6.723 MB / 3.208 GB, free: 52.95 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.05408/9.592, allocations: 34.24 MB / 3.241 GB, free: 38.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005684/9.598, allocations: 4.18 MB / 3.245 GB, free: 38.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004078/9.602, allocations: 3.463 MB / 3.249 GB, free: 37.74 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009995/9.603, allocations: 0.9502 MB / 3.25 GB, free: 36.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003211/9.606, allocations: 2.291 MB / 3.252 GB, free: 35.97 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003336/9.609, allocations: 487 kB / 3.252 GB, free: 35.69 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=317): time 1.046e-05/9.609, allocations: 0 / 3.252 GB, free: 35.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=317): time 0.006929/9.616, allocations: 4.523 MB / 3.257 GB, free: 34.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/9.617, allocations: 88.41 kB / 3.257 GB, free: 33.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008084/9.625, allocations: 5.22 MB / 3.262 GB, free: 32.14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0008887/9.626, allocations: 84.83 kB / 3.262 GB, free: 32.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.002857/9.628, allocations: 3.184 MB / 3.265 GB, free: 29.65 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001551/9.63, allocations: 1.113 MB / 3.266 GB, free: 28.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/9.63, allocations: 91.53 kB / 3.266 GB, free: 28.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002112/9.63, allocations: 491.5 kB / 3.267 GB, free: 28.35 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002711/9.633, allocations: 2.047 MB / 3.269 GB, free: 27.63 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003296/9.636, allocations: 3.583 MB / 3.272 GB, free: 24.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003458/9.64, allocations: 2.83 MB / 3.275 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.713e-05/9.64, allocations: 15.41 kB / 3.275 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009799/9.65, allocations: 6.546 MB / 3.281 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/9.65, allocations: 54.92 kB / 3.282 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.88e-05/9.65, allocations: 49.09 kB / 3.282 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008989/9.651, allocations: 438.1 kB / 3.282 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003456/9.654, allocations: 1.038 MB / 3.283 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004502/9.659, allocations: 5.299 MB / 3.288 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006549/9.665, allocations: 477.6 kB / 3.289 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009291/9.666, allocations: 220.1 kB / 3.289 GB, free: 17.41 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.001013/9.667, allocations: 396.4 kB / 3.289 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001501/9.669, allocations: 0.5264 MB / 3.29 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007771/9.677, allocations: 5.086 MB / 3.295 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.576e-05/9.677, allocations: 32 kB / 3.295 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/9.677, allocations: 7.688 kB / 3.295 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005098/9.682, allocations: 4.361 MB / 3.299 GB, free: 8.82 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.02248/9.704, allocations: 11.93 MB / 3.311 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-05/9.704, allocations: 11.12 kB / 3.311 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002708/9.707, allocations: 0.6212 MB / 3.311 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008657/9.708, allocations: 366.3 kB / 3.312 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002516/9.708, allocations: 82.95 kB / 3.312 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005962/9.714, allocations: 5.206 MB / 3.317 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/9.714, allocations: 3.938 kB / 3.317 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/9.726, allocations: 7.534 MB / 3.324 GB, free: 3.07 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006202/9.733, allocations: 1.26 MB / 3.325 GB, free: 1.969 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002474/9.735, allocations: 67.05 kB / 3.325 GB, free: 1.906 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005671/9.741, allocations: 414.3 kB / 3.326 GB, free: 1.613 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005197/9.741, allocations: 204 kB / 3.326 GB, free: 1.484 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005226/9.742, allocations: 141.8 kB / 3.326 GB, free: 1.371 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.4517/10.19, allocations: 4.626 MB / 3.331 GB, free: 68.61 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.11e-07/10.19, allocations: 0 / 3.331 GB, free: 68.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.008819/10.2, allocations: 2.058 MB / 3.333 GB, free: 68.61 MB / 0.6511 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.01208/10.21, allocations: 9.014 MB / 3.341 GB, free: 67.39 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006921/10.22, allocations: 5.212 MB / 3.347 GB, free: 67.03 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/10.22, allocations: 3.656 kB / 3.347 GB, free: 67.03 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003193/10.22, allocations: 2.421 MB / 3.349 GB, free: 66.77 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01563/10.24, allocations: 3.164 MB / 3.352 GB, free: 66.75 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02386/10.26, allocations: 13.71 MB / 3.365 GB, free: 64.54 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003867/10.27, allocations: 4.763 MB / 3.37 GB, free: 63.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.007066/10.28, allocations: 2.091 MB / 3.372 GB, free: 63.63 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004808/10.28, allocations: 2.68 MB / 3.375 GB, free: 63.62 MB / 0.6511 GB Notification: Performance of SimCode: time 1.203e-06/10.28, allocations: 2.438 kB / 3.375 GB, free: 63.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2302/10.51, allocations: 176.8 MB / 3.547 GB, free: 8.516 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/10.51, allocations: 215.4 kB / 3.548 GB, free: 8.289 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.819/17.33, allocations: 0 / 3.548 GB, free: 8.289 MB / 0.6667 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)