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.621/1.621, allocations: 289.9 MB / 297.4 MB, free: 6.41 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.001196/0.001196, allocations: 164.9 kB / 366.7 MB, free: 1.695 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.584/1.584, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0008448/0.0008445, allocations: 93.39 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.215e-05/2.219e-05, allocations: 4 kB / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7228/0.7228, allocations: 116.3 MB / 0.9733 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.134/1.857, allocations: 404.9 MB / 1.369 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/1.858, allocations: 92.25 kB / 1.369 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.86/9.718, allocations: 2.058 GB / 3.427 GB, free: 8.672 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.166e-06/9.718, allocations: 0 / 3.427 GB, free: 8.672 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001056/9.719, allocations: 175.8 kB / 3.427 GB, free: 8.5 MB / 0.948 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.01958/9.738, allocations: 5.49 MB / 3.432 GB, free: 2.945 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/9.738, allocations: 12.03 kB / 3.432 GB, free: 2.934 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005856/9.744, allocations: 0.7766 MB / 3.433 GB, free: 2.148 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02031/9.765, allocations: 7.267 MB / 3.44 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004571/9.765, allocations: 176 kB / 3.44 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002617/9.768, allocations: 323.9 kB / 3.441 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01546/9.783, allocations: 5.5 MB / 3.446 GB, free: 4.824 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7904/10.57, allocations: 6.595 MB / 3.452 GB, free: 141.4 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000191/10.57, allocations: 16.73 kB / 3.452 GB, free: 141.4 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007915/10.57, allocations: 10.53 kB / 3.452 GB, free: 141.4 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002522/10.57, allocations: 165.3 kB / 3.453 GB, free: 141.4 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.05183/10.63, allocations: 28.55 MB / 3.481 GB, free: 129.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005095/10.63, allocations: 3.398 MB / 3.484 GB, free: 129.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003309/10.64, allocations: 2.636 MB / 3.486 GB, free: 129.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000853/10.64, allocations: 0.8322 MB / 3.487 GB, free: 128.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.082e-05/10.64, allocations: 71.55 kB / 3.487 GB, free: 128.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=267): time 6.082e-06/10.64, allocations: 3.797 kB / 3.487 GB, free: 128.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=267): time 0.006841/10.64, allocations: 3.528 MB / 3.491 GB, free: 128 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/10.64, allocations: 75.86 kB / 3.491 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007531/10.65, allocations: 3.909 MB / 3.495 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0008946/10.65, allocations: 29.67 kB / 3.495 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.002543/10.65, allocations: 2.822 MB / 3.497 GB, free: 126.7 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0017/10.66, allocations: 0.9025 MB / 3.498 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/10.66, allocations: 2.312 kB / 3.498 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002338/10.66, allocations: 463.2 kB / 3.499 GB, free: 125.9 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002117/10.66, allocations: 1.531 MB / 3.5 GB, free: 125.9 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002702/10.66, allocations: 2.769 MB / 3.503 GB, free: 124.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003688/10.66, allocations: 2.234 MB / 3.505 GB, free: 124.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.298e-05/10.66, allocations: 11.75 kB / 3.505 GB, free: 124.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01223/10.68, allocations: 4.916 MB / 3.51 GB, free: 124.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.14e-05/10.68, allocations: 25.25 kB / 3.51 GB, free: 124.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001104/10.68, allocations: 42.78 kB / 3.51 GB, free: 124.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/10.68, allocations: 412.9 kB / 3.51 GB, free: 124 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003678/10.68, allocations: 0.8604 MB / 3.511 GB, free: 124 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006268/10.69, allocations: 5.151 MB / 3.516 GB, free: 121.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006825/10.7, allocations: 0.5196 MB / 3.517 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/10.7, allocations: 182.6 kB / 3.517 GB, free: 121.3 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.001056/10.7, allocations: 228.2 kB / 3.517 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008446/10.71, allocations: 3.522 MB / 3.521 GB, free: 120.9 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00199/10.71, allocations: 427.2 kB / 3.521 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00915/10.72, allocations: 3.866 MB / 3.525 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.841e-05/10.72, allocations: 29.72 kB / 3.525 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/10.72, allocations: 9.625 kB / 3.525 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006245/10.72, allocations: 3.447 MB / 3.528 GB, free: 120 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02666/10.75, allocations: 9.338 MB / 3.537 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/10.75, allocations: 7.156 kB / 3.537 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002489/10.75, allocations: 0.4982 MB / 3.538 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001052/10.75, allocations: 366 kB / 3.538 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002609/10.75, allocations: 40.97 kB / 3.538 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006946/10.76, allocations: 5.078 MB / 3.543 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.36e-05/10.76, allocations: 8.469 kB / 3.543 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/10.77, allocations: 6.426 MB / 3.549 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004433/10.78, allocations: 1.12 MB / 3.551 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001692/10.78, allocations: 24.55 kB / 3.551 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00424/10.78, allocations: 246 kB / 3.551 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003644/10.78, allocations: 183.5 kB / 3.551 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000333/10.78, allocations: 127.3 kB / 3.551 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.005536/10.79, allocations: 2.978 MB / 3.554 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.41e-07/10.79, allocations: 0 / 3.554 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01056/10.8, allocations: 1.845 MB / 3.556 GB, free: 114.4 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.01227/10.81, allocations: 8.528 MB / 3.564 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006698/10.82, allocations: 3.931 MB / 3.568 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-05/10.82, allocations: 3.656 kB / 3.568 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003247/10.82, allocations: 1.914 MB / 3.57 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01495/10.84, allocations: 2.376 MB / 3.572 GB, free: 111 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03246/10.87, allocations: 11.96 MB / 3.584 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005311/10.88, allocations: 4.381 MB / 3.588 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.008424/10.88, allocations: 1.695 MB / 3.59 GB, free: 108 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007378/10.89, allocations: 2.387 MB / 3.592 GB, free: 108 MB / 0.9636 GB Notification: Performance of SimCode: time 2.355e-06/10.89, allocations: 0 / 3.592 GB, free: 108 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2228/11.11, allocations: 130.8 MB / 3.72 GB, free: 74.82 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/11.11, allocations: 185.5 kB / 3.72 GB, free: 74.62 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.964/18.08, allocations: 0 / 3.72 GB, free: 74.62 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)