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.382/1.382, allocations: 251.9 MB / 266.8 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 182.8 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008712/0.0008711, allocations: 90.31 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003313, allocations: 9.688 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2301, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9092/1.139, allocations: 399.7 MB / 1.29 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/1.14, allocations: 92.55 kB / 1.291 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.715/8.855, allocations: 2.134 GB / 3.424 GB, free: 18.13 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.995e-06/8.855, allocations: 0 / 3.424 GB, free: 18.13 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001251/8.856, allocations: 195.8 kB / 3.424 GB, free: 17.94 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.02732/8.884, allocations: 7.226 MB / 3.431 GB, free: 10.62 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/8.884, allocations: 12.03 kB / 3.431 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004842/8.889, allocations: 0.842 MB / 3.432 GB, free: 9.754 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00646/8.895, allocations: 0.8384 MB / 3.433 GB, free: 8.906 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02087/8.916, allocations: 7.723 MB / 3.441 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005347/8.917, allocations: 460.2 kB / 3.441 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002824/8.919, allocations: 0.6014 MB / 3.442 GB, free: 64 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.161/10.08, allocations: 8.333 MB / 3.45 GB, free: 108.5 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002559/10.08, allocations: 20.48 kB / 3.45 GB, free: 108.5 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001387/10.08, allocations: 257.1 kB / 3.45 GB, free: 108.5 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003134/10.08, allocations: 182.7 kB / 3.45 GB, free: 108.5 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02086/10.1, allocations: 6.933 MB / 3.457 GB, free: 108.5 MB / 0.9012 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.06076/10.16, allocations: 33.36 MB / 3.489 GB, free: 95.22 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007144/10.17, allocations: 4.394 MB / 3.494 GB, free: 95.17 MB / 0.9012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/10.17, allocations: 0.9616 MB / 3.495 GB, free: 94.23 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003973/10.18, allocations: 2.345 MB / 3.497 GB, free: 94.12 MB / 0.9012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003689/10.18, allocations: 481.9 kB / 3.497 GB, free: 94 MB / 0.9012 GB Notification: Performance of pre-optimization done (n=329): time 1.669e-05/10.18, allocations: 3.969 kB / 3.497 GB, free: 94 MB / 0.9012 GB Notification: Performance of matching and sorting (n=329): time 0.01441/10.2, allocations: 7.138 MB / 3.504 GB, free: 93.37 MB / 0.9012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.008e-05/10.2, allocations: 89.28 kB / 3.505 GB, free: 93.3 MB / 0.9012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01095/10.21, allocations: 5.186 MB / 3.51 GB, free: 92.99 MB / 0.9012 GB Notification: Performance of collectPreVariables (initialization): time 0.0009968/10.21, allocations: 93.64 kB / 3.51 GB, free: 92.96 MB / 0.9012 GB Notification: Performance of collectInitialEqns (initialization): time 0.003559/10.21, allocations: 3.109 MB / 3.513 GB, free: 92.07 MB / 0.9012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001897/10.21, allocations: 1.164 MB / 3.514 GB, free: 91.49 MB / 0.9012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003294/10.21, allocations: 91.78 kB / 3.514 GB, free: 91.49 MB / 0.9012 GB Notification: Performance of setup shared object (initialization): time 0.0003005/10.21, allocations: 496.4 kB / 3.514 GB, free: 91.18 MB / 0.9012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003225/10.22, allocations: 2.143 MB / 3.517 GB, free: 91.16 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003938/10.22, allocations: 3.643 MB / 3.52 GB, free: 89.39 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004136/10.22, allocations: 2.9 MB / 3.523 GB, free: 89.31 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.334e-05/10.22, allocations: 17.31 kB / 3.523 GB, free: 89.31 MB / 0.9012 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01169/10.24, allocations: 6.72 MB / 3.529 GB, free: 88.87 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 7.541e-05/10.24, allocations: 54.98 kB / 3.53 GB, free: 88.84 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.721e-05/10.24, allocations: 45 kB / 3.53 GB, free: 88.84 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009288/10.24, allocations: 443.7 kB / 3.53 GB, free: 88.82 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004066/10.24, allocations: 1.038 MB / 3.531 GB, free: 88.82 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004886/10.25, allocations: 5.4 MB / 3.536 GB, free: 86.13 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007064/10.25, allocations: 477.5 kB / 3.537 GB, free: 86.1 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001116/10.25, allocations: 221.6 kB / 3.537 GB, free: 86.1 MB / 0.9012 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 () * Number of clocked 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.005888/10.26, allocations: 2.452 MB / 3.539 GB, free: 85.98 MB / 0.9012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001743/10.26, allocations: 0.5285 MB / 3.54 GB, free: 85.71 MB / 0.9012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00894/10.27, allocations: 5.295 MB / 3.545 GB, free: 85.48 MB / 0.9012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.793e-05/10.27, allocations: 30.5 kB / 3.545 GB, free: 85.48 MB / 0.9012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/10.27, allocations: 7.828 kB / 3.545 GB, free: 85.48 MB / 0.9012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006168/10.28, allocations: 4.554 MB / 3.55 GB, free: 85.02 MB / 0.9012 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.02615/10.3, allocations: 11.9 MB / 3.561 GB, free: 84.24 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/10.3, allocations: 0 / 3.561 GB, free: 84.24 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002876/10.31, allocations: 0.6421 MB / 3.562 GB, free: 84.24 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007959/10.31, allocations: 369.4 kB / 3.562 GB, free: 84.23 MB / 0.9012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003408/10.31, allocations: 87.58 kB / 3.562 GB, free: 84.23 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004631/10.31, allocations: 5.325 MB / 3.567 GB, free: 81.53 MB / 0.9012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/10.31, allocations: 6.438 kB / 3.567 GB, free: 81.53 MB / 0.9012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/10.32, allocations: 7.852 MB / 3.575 GB, free: 80.75 MB / 0.9012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004807/10.33, allocations: 1.247 MB / 3.576 GB, free: 80.38 MB / 0.9012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001938/10.33, allocations: 72.27 kB / 3.576 GB, free: 80.38 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005217/10.34, allocations: 418.1 kB / 3.577 GB, free: 80.36 MB / 0.9012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000546/10.34, allocations: 202.3 kB / 3.577 GB, free: 80.36 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003841/10.34, allocations: 132.8 kB / 3.577 GB, free: 80.36 MB / 0.9012 GB Notification: Performance of sorting global known variables: time 0.007463/10.34, allocations: 4.032 MB / 3.581 GB, free: 80.18 MB / 0.9012 GB Notification: Performance of sort global known variables: time 3.5e-07/10.34, allocations: 2.531 kB / 3.581 GB, free: 80.18 MB / 0.9012 GB Notification: Performance of remove unused functions: time 0.009464/10.35, allocations: 2.065 MB / 3.583 GB, free: 79.93 MB / 0.9012 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) * Number of clocked states: 0 () * 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.0139/10.37, allocations: 9.337 MB / 3.592 GB, free: 78.38 MB / 0.9012 GB Notification: Performance of simCode: created initialization part: time 0.008217/10.38, allocations: 5.407 MB / 3.597 GB, free: 78 MB / 0.9012 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/10.38, allocations: 14.05 kB / 3.597 GB, free: 78 MB / 0.9012 GB Notification: Performance of simCode: created simulation system equations: time 0.003658/10.38, allocations: 2.543 MB / 3.6 GB, free: 77.73 MB / 0.9012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01621/10.4, allocations: 3.168 MB / 3.603 GB, free: 77.71 MB / 0.9012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1496/10.55, allocations: 83.37 MB / 3.684 GB, free: 38.3 MB / 0.9168 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008845/10.56, allocations: 4.73 MB / 3.689 GB, free: 36.75 MB / 0.9168 GB Notification: Performance of simCode: alias equations: time 0.009669/10.56, allocations: 2.08 MB / 3.691 GB, free: 36.63 MB / 0.9168 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006336/10.57, allocations: 2.657 MB / 3.694 GB, free: 34.57 MB / 0.9168 GB Notification: Performance of SimCode: time 2.614e-06/10.57, allocations: 0 / 3.694 GB, free: 34.57 MB / 0.9168 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8398/11.41, allocations: 175 MB / 3.865 GB, free: 130.4 MB / 0.9324 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/11.41, allocations: 261.1 kB / 3.865 GB, free: 130 MB / 0.9324 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/19.24, allocations: 4 kB / 3.865 GB, free: 130 MB / 0.9324 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)