Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.484/1.484, allocations: 249.3 MB / 261.9 MB, free: 5.812 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009665/0.0009662, allocations: 192.8 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 205.2 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008496/0.0008495, allocations: 86.48 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.385e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1799, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.57/1.75, allocations: 399.6 MB / 1.282 GB, free: 322.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003854/1.75, allocations: 86.38 kB / 1.282 GB, free: 322.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 9.01/10.76, allocations: 2.128 GB / 3.41 GB, free: 131.3 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.943e-06/10.76, allocations: 0 / 3.41 GB, free: 131.3 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001234/10.76, allocations: 193.9 kB / 3.41 GB, free: 131.3 MB / 0.9011 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.02539/10.79, allocations: 6.12 MB / 3.416 GB, free: 129.2 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/10.79, allocations: 11.69 kB / 3.416 GB, free: 129.2 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004435/10.79, allocations: 0.83 MB / 3.417 GB, free: 129.1 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006797/10.8, allocations: 0.8499 MB / 3.418 GB, free: 128.7 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02275/10.82, allocations: 7.686 MB / 3.426 GB, free: 127.9 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007819/10.82, allocations: 461.3 kB / 3.426 GB, free: 127.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00392/10.83, allocations: 0.611 MB / 3.427 GB, free: 127.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02905/10.86, allocations: 8.207 MB / 3.435 GB, free: 126.9 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002788/10.86, allocations: 18.72 kB / 3.435 GB, free: 126.9 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002021/10.86, allocations: 258 kB / 3.435 GB, free: 126.9 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001988/10.86, allocations: 181.5 kB / 3.435 GB, free: 126.9 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01874/10.88, allocations: 6.765 MB / 3.442 GB, free: 126.9 MB / 0.9011 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.06238/10.94, allocations: 33.37 MB / 3.474 GB, free: 113 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007122/10.95, allocations: 4.294 MB / 3.478 GB, free: 112.9 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004809/10.95, allocations: 3.471 MB / 3.482 GB, free: 112.9 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/10.95, allocations: 0.9648 MB / 3.483 GB, free: 111.9 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00388/10.96, allocations: 2.274 MB / 3.485 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004186/10.96, allocations: 489.3 kB / 3.486 GB, free: 111.6 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=329): time 1.963e-05/10.96, allocations: 0 / 3.486 GB, free: 111.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=329): time 0.009136/10.97, allocations: 4.571 MB / 3.49 GB, free: 111.1 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/10.97, allocations: 92.95 kB / 3.49 GB, free: 111 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0116/10.98, allocations: 5.124 MB / 3.495 GB, free: 109.2 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001521/10.98, allocations: 95.11 kB / 3.495 GB, free: 109.1 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00574/10.99, allocations: 3.11 MB / 3.498 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.003114/10.99, allocations: 1.163 MB / 3.499 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005768/10.99, allocations: 89.84 kB / 3.499 GB, free: 105.8 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0004892/10.99, allocations: 495.8 kB / 3.5 GB, free: 105.4 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003702/11, allocations: 2.064 MB / 3.502 GB, free: 104.7 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004179/11, allocations: 3.561 MB / 3.505 GB, free: 102.1 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00456/11.01, allocations: 2.835 MB / 3.508 GB, free: 101.2 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.876e-05/11.01, allocations: 19 kB / 3.508 GB, free: 101.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.0143/11.02, allocations: 6.564 MB / 3.515 GB, free: 99.02 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/11.02, allocations: 57.25 kB / 3.515 GB, free: 98.99 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.893e-05/11.02, allocations: 47.75 kB / 3.515 GB, free: 98.99 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/11.02, allocations: 433.5 kB / 3.515 GB, free: 98.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004176/11.03, allocations: 1.052 MB / 3.516 GB, free: 98.86 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00491/11.03, allocations: 5.287 MB / 3.521 GB, free: 95.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007908/11.04, allocations: 472.4 kB / 3.522 GB, free: 94.98 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00142/11.04, allocations: 223.8 kB / 3.522 GB, free: 94.95 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 214 * 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 (548): * Single equations (assignments): 545 * 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.001198/11.04, allocations: 392.1 kB / 3.522 GB, free: 94.61 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001883/11.04, allocations: 0.5205 MB / 3.523 GB, free: 94.34 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009274/11.05, allocations: 5.16 MB / 3.528 GB, free: 92.43 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.05e-05/11.05, allocations: 31.28 kB / 3.528 GB, free: 92.43 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/11.05, allocations: 9.094 kB / 3.528 GB, free: 92.43 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005744/11.06, allocations: 4.414 MB / 3.532 GB, free: 90.66 MB / 0.9011 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.02857/11.09, allocations: 11.9 MB / 3.544 GB, free: 86.13 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/11.09, allocations: 0 / 3.544 GB, free: 86.13 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002818/11.09, allocations: 0.6466 MB / 3.544 GB, free: 86.08 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008188/11.09, allocations: 373.4 kB / 3.545 GB, free: 85.98 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003301/11.09, allocations: 83.91 kB / 3.545 GB, free: 85.94 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004715/11.1, allocations: 5.218 MB / 3.55 GB, free: 81.17 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/11.1, allocations: 2.938 kB / 3.55 GB, free: 81.17 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01157/11.11, allocations: 7.65 MB / 3.557 GB, free: 74.37 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005119/11.11, allocations: 1.249 MB / 3.559 GB, free: 73.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002276/11.11, allocations: 68 kB / 3.559 GB, free: 73.21 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005809/11.12, allocations: 407.6 kB / 3.559 GB, free: 72.95 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007093/11.12, allocations: 206.2 kB / 3.559 GB, free: 72.82 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004259/11.12, allocations: 127.8 kB / 3.559 GB, free: 72.72 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.008358/11.13, allocations: 3.979 MB / 3.563 GB, free: 69.27 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8.31e-07/11.13, allocations: 0 / 3.563 GB, free: 69.27 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01055/11.14, allocations: 2.056 MB / 3.565 GB, free: 67.22 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (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,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,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 (308): * Single equations (assignments): 301 * 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.01366/11.15, allocations: 9.13 MB / 3.574 GB, free: 59.17 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007975/11.16, allocations: 5.257 MB / 3.579 GB, free: 54.41 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/11.16, allocations: 11.48 kB / 3.579 GB, free: 54.41 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003463/11.17, allocations: 2.467 MB / 3.582 GB, free: 52.16 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01731/11.18, allocations: 3.17 MB / 3.585 GB, free: 50.02 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0401/11.22, allocations: 13.93 MB / 3.599 GB, free: 38.16 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005844/11.23, allocations: 4.735 MB / 3.603 GB, free: 34.6 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.008567/11.24, allocations: 2.042 MB / 3.605 GB, free: 33.2 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006271/11.24, allocations: 2.667 MB / 3.608 GB, free: 30.75 MB / 0.9011 GB Notification: Performance of SimCode: time 1.443e-06/11.24, allocations: 0 / 3.608 GB, free: 30.75 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.012/12.26, allocations: 175.9 MB / 3.779 GB, free: 123.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/12.26, allocations: 238.1 kB / 3.78 GB, free: 123.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.962/20.22, allocations: 0 / 3.78 GB, free: 123.1 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)