Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.StratifiedNonUniformInitial,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",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.761/1.761, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.00104/0.00104, allocations: 183.9 kB / 371.6 MB, free: 3.355 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.55/1.55, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008155/0.0008157, allocations: 88.91 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.199e-05/4.211e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2472, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.006/1.254, allocations: 405.6 MB / 1.376 GB, free: 7.441 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003609/1.254, allocations: 89.05 kB / 1.376 GB, free: 7.398 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.96/10.21, allocations: 2.068 GB / 3.445 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.617e-06/10.21, allocations: 0 / 3.445 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001557/10.22, allocations: 173.9 kB / 3.445 GB, free: 125.1 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: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.02296/10.24, allocations: 5.485 MB / 3.45 GB, free: 121.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/10.24, allocations: 11.38 kB / 3.45 GB, free: 121.6 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004218/10.24, allocations: 0.759 MB / 3.451 GB, free: 121.1 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005279/10.25, allocations: 0.7808 MB / 3.452 GB, free: 120.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01801/10.27, allocations: 7.263 MB / 3.459 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003831/10.27, allocations: 415.3 kB / 3.459 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002104/10.27, allocations: 0.5436 MB / 3.46 GB, free: 116 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01709/10.29, allocations: 7.392 MB / 3.467 GB, free: 111.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001545/10.29, allocations: 22.06 kB / 3.467 GB, free: 111.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008409/10.29, allocations: 234.8 kB / 3.467 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001659/10.29, allocations: 169.1 kB / 3.467 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01213/10.3, allocations: 5.855 MB / 3.473 GB, free: 105.9 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.0529/10.35, allocations: 29.67 MB / 3.502 GB, free: 75.28 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005329/10.36, allocations: 3.545 MB / 3.505 GB, free: 71.77 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003562/10.36, allocations: 2.98 MB / 3.508 GB, free: 68.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008647/10.36, allocations: 0.8259 MB / 3.509 GB, free: 67.83 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.585e-05/10.36, allocations: 76.67 kB / 3.509 GB, free: 67.74 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=267): time 4.789e-06/10.36, allocations: 0 / 3.509 GB, free: 67.74 MB / 0.9636 GB Notification: Performance of matching and sorting (n=267): time 0.00652/10.37, allocations: 3.646 MB / 3.513 GB, free: 64.04 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/10.37, allocations: 89.52 kB / 3.513 GB, free: 63.94 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008108/10.38, allocations: 4.763 MB / 3.517 GB, free: 59.18 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0008784/10.38, allocations: 77.7 kB / 3.518 GB, free: 59.1 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.002091/10.38, allocations: 2.83 MB / 3.52 GB, free: 56.25 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.00151/10.38, allocations: 0.9333 MB / 3.521 GB, free: 55.32 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/10.38, allocations: 76 kB / 3.521 GB, free: 55.25 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002025/10.38, allocations: 461.9 kB / 3.522 GB, free: 54.79 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002148/10.38, allocations: 1.608 MB / 3.523 GB, free: 53.18 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002605/10.39, allocations: 2.865 MB / 3.526 GB, free: 49.75 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002697/10.39, allocations: 2.231 MB / 3.528 GB, free: 47.5 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-05/10.39, allocations: 15.95 kB / 3.528 GB, free: 47.48 MB / 0.9636 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008235/10.4, allocations: 5.289 MB / 3.533 GB, free: 42.14 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/10.4, allocations: 20 kB / 3.533 GB, free: 42.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.14e-05/10.4, allocations: 40 kB / 3.533 GB, free: 42.08 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008626/10.4, allocations: 421.5 kB / 3.534 GB, free: 41.66 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002792/10.4, allocations: 0.8619 MB / 3.535 GB, free: 40.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004608/10.41, allocations: 5.313 MB / 3.54 GB, free: 35.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006652/10.41, allocations: 0.6586 MB / 3.541 GB, free: 34.57 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008242/10.41, allocations: 184 kB / 3.541 GB, free: 34.39 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * 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.0009503/10.41, allocations: 350.5 kB / 3.541 GB, free: 34.04 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/10.42, allocations: 482.3 kB / 3.542 GB, free: 33.56 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006652/10.42, allocations: 4.063 MB / 3.545 GB, free: 29.44 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/10.42, allocations: 32 kB / 3.546 GB, free: 29.41 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/10.42, allocations: 7.875 kB / 3.546 GB, free: 29.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004159/10.43, allocations: 3.523 MB / 3.549 GB, free: 25.76 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01944/10.45, allocations: 10.18 MB / 3.559 GB, free: 15.47 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/10.45, allocations: 7.938 kB / 3.559 GB, free: 15.46 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001934/10.45, allocations: 0.4998 MB / 3.559 GB, free: 14.96 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007367/10.45, allocations: 364.2 kB / 3.56 GB, free: 14.6 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002037/10.45, allocations: 79.95 kB / 3.56 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004354/10.45, allocations: 5.236 MB / 3.565 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/10.45, allocations: 8 kB / 3.565 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009566/10.46, allocations: 6.749 MB / 3.572 GB, free: 1.973 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005463/10.47, allocations: 1.201 MB / 3.573 GB, free: 0.7461 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002418/10.47, allocations: 63.98 kB / 3.573 GB, free: 0.6836 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005404/10.48, allocations: 303.2 kB / 3.573 GB, free: 396 kB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003981/10.48, allocations: 169.7 kB / 3.573 GB, free: 228 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003932/10.48, allocations: 135 kB / 3.573 GB, free: 96 kB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.9984/11.48, allocations: 3.87 MB / 3.577 GB, free: 139 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.512e-06/11.48, allocations: 0.75 kB / 3.577 GB, free: 139 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01477/11.49, allocations: 1.847 MB / 3.579 GB, free: 139 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.02264/11.51, allocations: 8.756 MB / 3.588 GB, free: 136.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00877/11.52, allocations: 4.153 MB / 3.592 GB, free: 136.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.59e-05/11.52, allocations: 3.938 kB / 3.592 GB, free: 136.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003376/11.53, allocations: 1.984 MB / 3.593 GB, free: 136 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0194/11.55, allocations: 3.241 MB / 3.597 GB, free: 135.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03497/11.58, allocations: 12.45 MB / 3.609 GB, free: 133.8 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005071/11.59, allocations: 4.383 MB / 3.613 GB, free: 133 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0087/11.59, allocations: 1.847 MB / 3.615 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005875/11.6, allocations: 2.434 MB / 3.617 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of SimCode: time 1.723e-06/11.6, allocations: 0 / 3.617 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3385/11.94, allocations: 165.5 MB / 3.779 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/11.94, allocations: 217.1 kB / 3.779 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.634/19.57, allocations: 3.516 kB / 3.779 GB, free: 111.5 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)