Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.334/2.334, allocations: 393.5 MB / 408.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 179.9 kB / 0.4901 GB, free: 2.254 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 223.1 MB / 0.7992 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 94.53 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004236/0.0004239, allocations: 15.47 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2859, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.049/1.335, allocations: 433.3 MB / 1.652 GB, free: 12.3 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/1.335, allocations: 95.28 kB / 1.653 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 18.08/19.41, allocations: 4.712 GB / 6.365 GB, free: 103.5 MB / 1.276 GB Notification: Performance of FrontEnd: time 3.126e-06/19.41, allocations: 0 / 6.365 GB, free: 103.5 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.003208/19.42, allocations: 407.3 kB / 6.365 GB, free: 103.5 MB / 1.276 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3221 * Number of variables: 3221 Notification: Performance of Generate backend data structure: time 0.05969/19.48, allocations: 16.48 MB / 6.381 GB, free: 93.45 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/19.48, allocations: 11.81 kB / 6.381 GB, free: 93.45 MB / 1.276 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008624/19.49, allocations: 1.702 MB / 6.383 GB, free: 92.25 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/19.5, allocations: 1.894 MB / 6.385 GB, free: 91.32 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04864/19.55, allocations: 18.24 MB / 6.403 GB, free: 76.24 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00116/19.55, allocations: 0.9808 MB / 6.403 GB, free: 75.26 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007879/19.56, allocations: 1.302 MB / 6.405 GB, free: 73.96 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04476/19.6, allocations: 18.27 MB / 6.423 GB, free: 54.97 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006612/19.6, allocations: 47.59 kB / 6.423 GB, free: 54.92 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003828/19.6, allocations: 0.5312 MB / 6.423 GB, free: 54.39 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003818/19.6, allocations: 349.2 kB / 6.423 GB, free: 54.05 MB / 1.276 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03738/19.64, allocations: 15.62 MB / 6.439 GB, free: 38.42 MB / 1.276 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 1.101/20.74, allocations: 80.83 MB / 6.518 GB, free: 93.99 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03044/20.77, allocations: 11.99 MB / 6.529 GB, free: 93.54 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07441/20.85, allocations: 28.31 MB / 6.557 GB, free: 87.5 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/20.85, allocations: 120.7 kB / 6.557 GB, free: 87.45 MB / 1.292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01083/20.86, allocations: 0.7803 MB / 6.558 GB, free: 87.45 MB / 1.292 GB Notification: Performance of pre-optimization done (n=660): time 3.294e-05/20.86, allocations: 0 / 6.558 GB, free: 87.45 MB / 1.292 GB Notification: Performance of matching and sorting (n=660): time 0.04684/20.91, allocations: 18.01 MB / 6.575 GB, free: 85.36 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.783e-05/20.91, allocations: 118.8 kB / 6.576 GB, free: 85.29 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02852/20.94, allocations: 12.17 MB / 6.587 GB, free: 84.62 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.00286/20.94, allocations: 186.5 kB / 6.588 GB, free: 84.59 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.009521/20.95, allocations: 7.146 MB / 6.595 GB, free: 82.57 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.004182/20.95, allocations: 2.319 MB / 6.597 GB, free: 81.27 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002013/20.95, allocations: 230.6 kB / 6.597 GB, free: 81.27 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.001049/20.96, allocations: 0.7748 MB / 6.598 GB, free: 80.94 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01176/20.97, allocations: 5.698 MB / 6.603 GB, free: 80.92 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01458/20.98, allocations: 9.585 MB / 6.613 GB, free: 76.34 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01422/21, allocations: 7.592 MB / 6.62 GB, free: 76.24 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001685/21, allocations: 34.5 kB / 6.62 GB, free: 76.24 MB / 1.292 GB Notification: Performance of matching and sorting (n=1476) (initialization): time 0.04446/21.04, allocations: 18.44 MB / 6.638 GB, free: 75.29 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.03355/21.07, allocations: 69.06 MB / 6.706 GB, free: 67.89 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005447/21.07, allocations: 126.7 kB / 6.706 GB, free: 67.89 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.106/21.18, allocations: 11.86 MB / 6.717 GB, free: 67.75 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01097/21.19, allocations: 2.405 MB / 6.72 GB, free: 67.75 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01888/21.21, allocations: 20.31 MB / 6.74 GB, free: 55.67 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01789/21.23, allocations: 1.099 MB / 6.741 GB, free: 55.58 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003889/21.23, allocations: 0.5406 MB / 6.741 GB, free: 55.58 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/21.23, allocations: 7.688 kB / 6.741 GB, free: 55.58 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03982/21.27, allocations: 17.42 MB / 6.758 GB, free: 55.26 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005141/21.27, allocations: 119.1 kB / 6.758 GB, free: 55.26 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1053/21.38, allocations: 11.86 MB / 6.77 GB, free: 54.88 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01104/21.39, allocations: 2.39 MB / 6.772 GB, free: 54.87 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0212/21.41, allocations: 18.52 MB / 6.79 GB, free: 60.5 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0169/21.43, allocations: 1.05 MB / 6.791 GB, free: 60.39 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003741/21.43, allocations: 0.5424 MB / 6.792 GB, free: 60.39 MB / 1.37 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 549 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1242): * Single equations (assignments): 1224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,2 17,2 17,2 17,2 17,2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.01602/21.45, allocations: 5.801 MB / 6.798 GB, free: 60.12 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005217/21.45, allocations: 1.162 MB / 6.799 GB, free: 59.51 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02489/21.48, allocations: 11.64 MB / 6.81 GB, free: 58.91 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.055e-05/21.48, allocations: 68.47 kB / 6.81 GB, free: 58.91 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.636e-05/21.48, allocations: 3.5 kB / 6.81 GB, free: 58.91 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01626/21.49, allocations: 9.635 MB / 6.82 GB, free: 58.31 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08937/21.58, allocations: 25.88 MB / 6.845 GB, free: 56.93 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001388/21.58, allocations: 11.84 kB / 6.845 GB, free: 56.93 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009725/21.59, allocations: 1.145 MB / 6.846 GB, free: 56.92 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06514/21.66, allocations: 6.418 MB / 6.852 GB, free: 56.47 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002072/21.66, allocations: 192.5 kB / 6.852 GB, free: 56.47 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01748/21.68, allocations: 17.89 MB / 6.87 GB, free: 60.4 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.404e-05/21.68, allocations: 21.19 kB / 6.87 GB, free: 60.4 MB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03766/21.72, allocations: 21.44 MB / 6.891 GB, free: 53.41 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01256/21.73, allocations: 2.804 MB / 6.894 GB, free: 51.89 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005769/21.73, allocations: 161 kB / 6.894 GB, free: 51.79 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01336/21.75, allocations: 0.7608 MB / 6.894 GB, free: 51.61 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002207/21.75, allocations: 447.9 kB / 6.895 GB, free: 51.53 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002153/21.75, allocations: 295.7 kB / 6.895 GB, free: 51.47 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.02238/21.77, allocations: 9.303 MB / 6.904 GB, free: 48.2 MB / 1.385 GB Notification: Performance of sort global known variables: time 6.32e-07/21.77, allocations: 2.719 kB / 6.904 GB, free: 48.2 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.04065/21.82, allocations: 7.903 MB / 6.912 GB, free: 46.58 MB / 1.385 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 30 (tanSte.vol[1].dynBal.U,tanSte.vol[2].dynBal.U,tanSte.vol[3].dynBal.U,tanSte.vol[4].dynBal.U,tanDyn.vol[1].dynBal.U,tanDyn.vol[2].dynBal.U,tanDyn.vol[3].dynBal.U,tanDyn.vol[4].dynBal.U,tanDyn.indTanHex.vol[1].dynBal.U,tanDyn.indTanHex.vol[2].dynBal.U,tanDyn.indTanHex.vol[3].dynBal.U,tanDyn.indTanHex.vol[4].dynBal.U,tanDyn.indTanHex.vol[5].dynBal.U,tanDyn.indTanHex.vol[6].dynBal.U,tanDyn.indTanHex.cap[1].T,tanDyn.indTanHex.cap[2].T,tanDyn.indTanHex.cap[3].T,tanDyn.indTanHex.cap[4].T,tanDyn.indTanHex.cap[5].T,tanDyn.indTanHex.cap[6].T,tanDynSol.vol[1].dynBal.U,tanDynSol.vol[2].dynBal.U,tanDynSol.vol[3].dynBal.U,tanDynSol.vol[4].dynBal.U,tanDynSol.indTanHex.cap[1].T,tanDynSol.indTanHex.cap[2].T,tanDynSol.indTanHex.cap[3].T,tanDynSol.indTanHex.cap[4].T,tanDynSol.indTanHex.cap[5].T,tanDynSol.indTanHex.cap[6].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (570): * Single equations (assignments): 546 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,1 5,1 5,1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.04492/21.86, allocations: 24.83 MB / 6.936 GB, free: 32.65 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.04909/21.91, allocations: 22.08 MB / 6.958 GB, free: 24.6 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 2.371e-05/21.91, allocations: 7.75 kB / 6.958 GB, free: 24.6 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.01173/21.92, allocations: 5.445 MB / 6.963 GB, free: 22.51 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0322/21.95, allocations: 6.117 MB / 6.969 GB, free: 21.25 MB / 1.385 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.456/23.41, allocations: 134.1 MB / 7.1 GB, free: 112.9 MB / 1.386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02379/23.43, allocations: 10.19 MB / 7.11 GB, free: 111.8 MB / 1.386 GB Notification: Performance of simCode: alias equations: time 0.02634/23.46, allocations: 6.161 MB / 7.116 GB, free: 111.7 MB / 1.386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01732/23.48, allocations: 6.304 MB / 7.122 GB, free: 111.7 MB / 1.386 GB Notification: Performance of SimCode: time 1.784e-06/23.48, allocations: 3.391 kB / 7.122 GB, free: 111.7 MB / 1.386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.344/24.82, allocations: 400 MB / 7.513 GB, free: 185.3 MB / 1.417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/24.82, allocations: 276.8 kB / 7.513 GB, free: 184.9 MB / 1.417 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.82/47.64, allocations: 1.406 kB / 7.513 GB, free: 184.9 MB / 1.417 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.fmu > Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex_res.mat does not exist to compare? outputFormat=mat