Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.703/2.703, allocations: 287.3 MB / 302.3 MB, free: 8.234 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.001647/0.001647, allocations: 185.6 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.124/2.124, allocations: 205.4 MB / 0.6295 GB, free: 10.66 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001178/0.001177, allocations: 102.3 kB / 0.7428 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005005/0.0005004, allocations: 11.98 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2287, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.284/1.512, allocations: 407.2 MB / 1.376 GB, free: 7.047 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003719/1.513, allocations: 90.61 kB / 1.376 GB, free: 7 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 12.09/13.6, allocations: 2.188 GB / 3.564 GB, free: 32.55 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.707e-06/13.6, allocations: 0 / 3.564 GB, free: 32.55 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001645/13.6, allocations: 187.9 kB / 3.564 GB, free: 32.36 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.03527/13.64, allocations: 7.22 MB / 3.571 GB, free: 25.05 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/13.64, allocations: 15.95 kB / 3.571 GB, free: 25.04 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004238/13.64, allocations: 0.8459 MB / 3.572 GB, free: 24.18 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006136/13.65, allocations: 0.8422 MB / 3.573 GB, free: 23.33 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02698/13.67, allocations: 7.734 MB / 3.58 GB, free: 15.53 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006492/13.68, allocations: 456.2 kB / 3.581 GB, free: 15.08 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002979/13.68, allocations: 0.6053 MB / 3.581 GB, free: 14.47 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03009/13.71, allocations: 8.444 MB / 3.59 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004787/13.71, allocations: 15.88 kB / 3.59 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002835/13.71, allocations: 267.9 kB / 3.59 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002217/13.71, allocations: 175.9 kB / 3.59 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8125/14.52, allocations: 6.891 MB / 3.597 GB, free: 125.8 MB / 0.9636 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.08578/14.61, allocations: 34.21 MB / 3.63 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01199/14.62, allocations: 4.272 MB / 3.634 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001882/14.62, allocations: 0.9554 MB / 3.635 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007651/14.63, allocations: 2.356 MB / 3.638 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005141/14.64, allocations: 487.9 kB / 3.638 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=317): time 1.81e-05/14.64, allocations: 0 / 3.638 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=317): time 0.0262/14.66, allocations: 7.064 MB / 3.645 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/14.66, allocations: 92.03 kB / 3.645 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01611/14.68, allocations: 5.194 MB / 3.65 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001162/14.68, allocations: 90.39 kB / 3.65 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.005368/14.69, allocations: 3.147 MB / 3.653 GB, free: 108.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.002405/14.69, allocations: 1.113 MB / 3.654 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006539/14.69, allocations: 92.22 kB / 3.655 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0004257/14.69, allocations: 488 kB / 3.655 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006727/14.7, allocations: 2.135 MB / 3.657 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008167/14.7, allocations: 3.659 MB / 3.661 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008703/14.71, allocations: 2.887 MB / 3.663 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001096/14.71, allocations: 15.97 kB / 3.664 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0243/14.74, allocations: 6.697 MB / 3.67 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.972e-05/14.74, allocations: 52.64 kB / 3.67 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.176e-05/14.74, allocations: 49.09 kB / 3.67 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001571/14.74, allocations: 442.5 kB / 3.671 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008149/14.75, allocations: 1.027 MB / 3.672 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008261/14.76, allocations: 5.406 MB / 3.677 GB, free: 102.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009606/14.77, allocations: 481 kB / 3.677 GB, free: 102.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001397/14.77, allocations: 219.9 kB / 3.678 GB, free: 102.4 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 () * Number of clocked 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.007491/14.78, allocations: 2.465 MB / 3.68 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002153/14.78, allocations: 0.5149 MB / 3.68 GB, free: 102 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01679/14.79, allocations: 5.22 MB / 3.686 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.406e-05/14.79, allocations: 34.27 kB / 3.686 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/14.79, allocations: 6.906 kB / 3.686 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01237/14.81, allocations: 4.488 MB / 3.69 GB, free: 101.3 MB / 0.9636 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.03987/14.85, allocations: 11.81 MB / 3.701 GB, free: 100.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/14.85, allocations: 0 / 3.701 GB, free: 100.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006099/14.85, allocations: 0.6189 MB / 3.702 GB, free: 100.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001493/14.85, allocations: 373.2 kB / 3.702 GB, free: 100.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008331/14.86, allocations: 81.11 kB / 3.703 GB, free: 100.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007794/14.86, allocations: 5.314 MB / 3.708 GB, free: 97.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/14.86, allocations: 6.609 kB / 3.708 GB, free: 97.84 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01979/14.88, allocations: 7.721 MB / 3.715 GB, free: 97.05 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005742/14.89, allocations: 1.264 MB / 3.716 GB, free: 96.69 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002263/14.89, allocations: 67.97 kB / 3.717 GB, free: 96.69 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008448/14.9, allocations: 421.5 kB / 3.717 GB, free: 96.68 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001137/14.9, allocations: 197.1 kB / 3.717 GB, free: 96.67 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006081/14.9, allocations: 136.2 kB / 3.717 GB, free: 96.67 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0106/14.91, allocations: 4.047 MB / 3.721 GB, free: 96.49 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.794e-06/14.91, allocations: 0 / 3.721 GB, free: 96.49 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01083/14.92, allocations: 2.056 MB / 3.723 GB, free: 96.25 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) * Number of clocked states: 0 () * 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.02402/14.95, allocations: 9.216 MB / 3.732 GB, free: 94.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01394/14.96, allocations: 5.356 MB / 3.737 GB, free: 94.32 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/14.96, allocations: 7.469 kB / 3.737 GB, free: 94.31 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.006761/14.97, allocations: 2.491 MB / 3.74 GB, free: 94.05 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02595/14.99, allocations: 3.182 MB / 3.743 GB, free: 94.02 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2323/15.23, allocations: 84.16 MB / 3.825 GB, free: 56.3 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009314/15.24, allocations: 4.72 MB / 3.83 GB, free: 54.89 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.01245/15.25, allocations: 2.06 MB / 3.832 GB, free: 54.84 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007956/15.26, allocations: 2.647 MB / 3.834 GB, free: 52.79 MB / 0.9792 GB Notification: Performance of SimCode: time 1.803e-06/15.26, allocations: 0 / 3.834 GB, free: 52.79 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.179/16.43, allocations: 175.2 MB / 4.005 GB, free: 139.6 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003068/16.44, allocations: 255.4 kB / 4.006 GB, free: 139.3 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.903/25.34, allocations: 0 / 4.006 GB, free: 139.3 MB / 0.9948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)