Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.663/1.663, allocations: 289.7 MB / 302.3 MB, free: 2.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 179.2 kB / 371.6 MB, free: 3.41 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009381/0.0009387, allocations: 91.86 kB / 0.745 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.315e-05/4.324e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2682, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.4, allocations: 408.2 MB / 1.379 GB, free: 4.941 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/1.4, allocations: 89.22 kB / 1.379 GB, free: 4.898 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.79/12.19, allocations: 2.183 GB / 3.561 GB, free: 106.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.887e-06/12.2, allocations: 0 / 3.561 GB, free: 106.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001507/12.2, allocations: 186.4 kB / 3.561 GB, free: 106.3 MB / 0.9636 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.02958/12.23, allocations: 6.11 MB / 3.567 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.351e-05/12.23, allocations: 9.562 kB / 3.567 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00485/12.23, allocations: 0.8371 MB / 3.568 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007535/12.24, allocations: 0.8447 MB / 3.569 GB, free: 104 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02726/12.27, allocations: 7.7 MB / 3.577 GB, free: 103.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005922/12.27, allocations: 459.7 kB / 3.577 GB, free: 103.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002905/12.27, allocations: 0.596 MB / 3.578 GB, free: 103.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02171/12.29, allocations: 8.315 MB / 3.586 GB, free: 102.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001854/12.29, allocations: 20.14 kB / 3.586 GB, free: 102.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009955/12.29, allocations: 265.7 kB / 3.586 GB, free: 102.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001916/12.29, allocations: 182.8 kB / 3.586 GB, free: 102.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/12.31, allocations: 6.724 MB / 3.593 GB, free: 102.2 MB / 0.9636 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.06197/12.37, allocations: 34.21 MB / 3.626 GB, free: 87.38 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006944/12.38, allocations: 4.177 MB / 3.63 GB, free: 87.34 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004755/12.38, allocations: 3.464 MB / 3.634 GB, free: 87.27 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/12.38, allocations: 0.9546 MB / 3.634 GB, free: 86.32 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003684/12.39, allocations: 2.288 MB / 3.637 GB, free: 86.22 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004867/12.39, allocations: 480.8 kB / 3.637 GB, free: 85.99 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=317): time 1.784e-05/12.39, allocations: 0 / 3.637 GB, free: 85.99 MB / 0.9636 GB Notification: Performance of matching and sorting (n=317): time 0.008533/12.4, allocations: 4.514 MB / 3.642 GB, free: 85.58 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.12e-05/12.4, allocations: 93.45 kB / 3.642 GB, free: 85.51 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01051/12.41, allocations: 5.145 MB / 3.647 GB, free: 85.14 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001193/12.41, allocations: 90.52 kB / 3.647 GB, free: 85.11 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.003489/12.42, allocations: 3.149 MB / 3.65 GB, free: 83.86 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001935/12.42, allocations: 1.117 MB / 3.651 GB, free: 83.17 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/12.42, allocations: 98.42 kB / 3.651 GB, free: 83.17 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000276/12.42, allocations: 489.3 kB / 3.651 GB, free: 82.86 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003911/12.42, allocations: 2.047 MB / 3.653 GB, free: 82.84 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004483/12.43, allocations: 3.581 MB / 3.657 GB, free: 81 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004509/12.43, allocations: 2.829 MB / 3.66 GB, free: 80.92 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.981e-05/12.43, allocations: 16.94 kB / 3.66 GB, free: 80.92 MB / 0.9636 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01551/12.45, allocations: 6.536 MB / 3.666 GB, free: 80.48 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/12.45, allocations: 52.33 kB / 3.666 GB, free: 80.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001275/12.45, allocations: 48.53 kB / 3.666 GB, free: 80.45 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/12.45, allocations: 437.7 kB / 3.667 GB, free: 80.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004961/12.45, allocations: 1.041 MB / 3.668 GB, free: 80.42 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006451/12.46, allocations: 5.288 MB / 3.673 GB, free: 77.71 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009776/12.47, allocations: 479.5 kB / 3.673 GB, free: 77.66 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001801/12.47, allocations: 220.1 kB / 3.674 GB, free: 77.66 MB / 0.9636 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.002847/12.47, allocations: 398.4 kB / 3.674 GB, free: 77.52 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003374/12.48, allocations: 0.5163 MB / 3.674 GB, free: 77.25 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01993/12.5, allocations: 5.075 MB / 3.679 GB, free: 77.02 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.114e-05/12.5, allocations: 29.97 kB / 3.679 GB, free: 77.02 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.085e-05/12.5, allocations: 5.219 kB / 3.679 GB, free: 77.02 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01216/12.51, allocations: 4.365 MB / 3.684 GB, free: 76.55 MB / 0.9636 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.03416/12.54, allocations: 11.83 MB / 3.695 GB, free: 75.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/12.54, allocations: 1.25 kB / 3.695 GB, free: 75.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003062/12.55, allocations: 0.6141 MB / 3.696 GB, free: 75.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008642/12.55, allocations: 374 kB / 3.696 GB, free: 75.68 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005686/12.55, allocations: 85.64 kB / 3.696 GB, free: 75.68 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004993/12.55, allocations: 5.196 MB / 3.701 GB, free: 72.96 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/12.55, allocations: 3.188 kB / 3.701 GB, free: 72.96 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01479/12.57, allocations: 7.525 MB / 3.709 GB, free: 72.18 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00614/12.57, allocations: 1.26 MB / 3.71 GB, free: 71.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003404/12.58, allocations: 68.44 kB / 3.71 GB, free: 71.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007381/12.59, allocations: 416.4 kB / 3.71 GB, free: 71.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001188/12.59, allocations: 197.8 kB / 3.711 GB, free: 71.79 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001112/12.59, allocations: 139.5 kB / 3.711 GB, free: 71.79 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01081/12.6, allocations: 3.992 MB / 3.715 GB, free: 71.59 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4.01e-07/12.6, allocations: 0 / 3.715 GB, free: 71.59 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01301/12.61, allocations: 2.054 MB / 3.717 GB, free: 71.31 MB / 0.9636 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.02013/12.63, allocations: 9.002 MB / 3.725 GB, free: 69.75 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01126/12.64, allocations: 5.203 MB / 3.73 GB, free: 69.36 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/12.64, allocations: 6.781 kB / 3.73 GB, free: 69.36 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.004696/12.65, allocations: 2.429 MB / 3.733 GB, free: 69.09 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02034/12.67, allocations: 3.178 MB / 3.736 GB, free: 69.04 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04943/12.72, allocations: 13.63 MB / 3.749 GB, free: 66.78 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01171/12.73, allocations: 4.724 MB / 3.754 GB, free: 65.92 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01147/12.74, allocations: 2.013 MB / 3.756 GB, free: 65.87 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008211/12.75, allocations: 2.656 MB / 3.758 GB, free: 65.21 MB / 0.9636 GB Notification: Performance of SimCode: time 2.134e-06/12.75, allocations: 2.344 kB / 3.758 GB, free: 65.21 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.331/13.08, allocations: 176.1 MB / 3.93 GB, free: 1.758 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/13.08, allocations: 228 kB / 3.931 GB, free: 1.523 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/20.98, allocations: 0 / 3.931 GB, free: 1.523 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)