Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.214/2.214, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001295/0.001295, allocations: 184.9 kB / 498.1 MB, free: 5.746 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.545/1.545, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0012/0.0012, allocations: 102.5 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.0003891, allocations: 11.05 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2848, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.264/1.549, allocations: 432.5 MB / 1.645 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/1.549, allocations: 95.36 kB / 1.645 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 15.95/17.5, allocations: 4.712 GB / 6.358 GB, free: 113.4 MB / 1.276 GB Notification: Performance of FrontEnd: time 1.523e-06/17.5, allocations: 0.5625 kB / 6.358 GB, free: 113.4 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.002643/17.5, allocations: 414.9 kB / 6.358 GB, free: 113.3 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.05592/17.56, allocations: 16.48 MB / 6.374 GB, free: 106.9 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/17.56, allocations: 11.27 kB / 6.374 GB, free: 106.9 MB / 1.276 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008558/17.57, allocations: 1.701 MB / 6.376 GB, free: 106 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/17.58, allocations: 1.891 MB / 6.378 GB, free: 105.1 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04632/17.62, allocations: 18.25 MB / 6.395 GB, free: 95.86 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009804/17.63, allocations: 0.9715 MB / 6.396 GB, free: 95.41 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004807/17.63, allocations: 1.301 MB / 6.398 GB, free: 94.97 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03685/17.67, allocations: 18.27 MB / 6.415 GB, free: 79.96 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000485/17.67, allocations: 51.48 kB / 6.415 GB, free: 79.91 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003461/17.67, allocations: 0.5351 MB / 6.416 GB, free: 79.38 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002752/17.67, allocations: 351.9 kB / 6.416 GB, free: 79.04 MB / 1.276 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02829/17.7, allocations: 15.61 MB / 6.432 GB, free: 63.41 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 0.9787/18.68, allocations: 80.84 MB / 6.511 GB, free: 127.4 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02687/18.71, allocations: 11.98 MB / 6.522 GB, free: 127 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07233/18.78, allocations: 28.31 MB / 6.55 GB, free: 120.9 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/18.78, allocations: 120.6 kB / 6.55 GB, free: 120.9 MB / 1.292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01063/18.79, allocations: 0.7795 MB / 6.551 GB, free: 120.9 MB / 1.292 GB Notification: Performance of pre-optimization done (n=660): time 5.091e-05/18.79, allocations: 3.938 kB / 6.551 GB, free: 120.9 MB / 1.292 GB Notification: Performance of matching and sorting (n=660): time 0.04735/18.84, allocations: 18 MB / 6.568 GB, free: 119 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.209e-05/18.84, allocations: 118.7 kB / 6.568 GB, free: 118.9 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02819/18.86, allocations: 12.16 MB / 6.58 GB, free: 118.3 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.002614/18.87, allocations: 189.5 kB / 6.581 GB, free: 118.2 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.007708/18.87, allocations: 7.151 MB / 6.588 GB, free: 116.2 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.003447/18.88, allocations: 2.315 MB / 6.59 GB, free: 114.9 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00117/18.88, allocations: 233.9 kB / 6.59 GB, free: 114.9 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.0006742/18.88, allocations: 0.7716 MB / 6.591 GB, free: 114.6 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008382/18.89, allocations: 5.702 MB / 6.596 GB, free: 114.6 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01145/18.9, allocations: 9.584 MB / 6.606 GB, free: 110 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/18.91, allocations: 7.594 MB / 6.613 GB, free: 109.9 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.842e-05/18.91, allocations: 34.25 kB / 6.613 GB, free: 109.9 MB / 1.292 GB Notification: Performance of matching and sorting (n=1476) (initialization): time 0.03859/18.95, allocations: 18.46 MB / 6.631 GB, free: 108.9 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.01761/18.97, allocations: 69.06 MB / 6.699 GB, free: 53.54 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004557/18.97, allocations: 120.8 kB / 6.699 GB, free: 53.54 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.105/19.07, allocations: 11.86 MB / 6.71 GB, free: 53.39 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01063/19.08, allocations: 2.408 MB / 6.713 GB, free: 53.39 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01848/19.1, allocations: 20.31 MB / 6.732 GB, free: 57.32 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01711/19.12, allocations: 1.111 MB / 6.734 GB, free: 57.23 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003638/19.12, allocations: 0.5428 MB / 6.734 GB, free: 57.23 MB / 1.323 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/19.12, allocations: 2.969 kB / 6.734 GB, free: 57.23 MB / 1.323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03478/19.16, allocations: 17.4 MB / 6.751 GB, free: 56.91 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004901/19.16, allocations: 121.2 kB / 6.751 GB, free: 56.91 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1077/19.27, allocations: 11.87 MB / 6.763 GB, free: 56.67 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01048/19.28, allocations: 2.387 MB / 6.765 GB, free: 56.67 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01808/19.3, allocations: 18.52 MB / 6.783 GB, free: 62.3 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01682/19.31, allocations: 1.052 MB / 6.784 GB, free: 62.19 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00462/19.32, allocations: 0.5425 MB / 6.785 GB, free: 62.19 MB / 1.339 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.01806/19.33, allocations: 5.804 MB / 6.79 GB, free: 61.92 MB / 1.339 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00429/19.34, allocations: 1.167 MB / 6.792 GB, free: 61.3 MB / 1.339 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02271/19.36, allocations: 11.64 MB / 6.803 GB, free: 60.7 MB / 1.339 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.915e-05/19.36, allocations: 66.59 kB / 6.803 GB, free: 60.7 MB / 1.339 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.549e-05/19.36, allocations: 2.719 kB / 6.803 GB, free: 60.7 MB / 1.339 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01718/19.38, allocations: 9.638 MB / 6.812 GB, free: 60.11 MB / 1.339 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06176/19.44, allocations: 25.87 MB / 6.838 GB, free: 58.72 MB / 1.339 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.707e-05/19.44, allocations: 14.56 kB / 6.838 GB, free: 58.72 MB / 1.339 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005347/19.45, allocations: 1.141 MB / 6.839 GB, free: 58.71 MB / 1.339 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05203/19.5, allocations: 6.407 MB / 6.845 GB, free: 58.27 MB / 1.339 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001699/19.5, allocations: 191.1 kB / 6.845 GB, free: 58.27 MB / 1.339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01347/19.51, allocations: 17.9 MB / 6.863 GB, free: 46.2 MB / 1.339 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.226e-05/19.51, allocations: 18.97 kB / 6.863 GB, free: 46.2 MB / 1.339 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02908/19.54, allocations: 21.44 MB / 6.884 GB, free: 53.31 MB / 1.354 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01029/19.55, allocations: 2.797 MB / 6.886 GB, free: 51.8 MB / 1.354 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004491/19.56, allocations: 162.3 kB / 6.887 GB, free: 51.7 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01072/19.57, allocations: 0.7614 MB / 6.887 GB, free: 51.51 MB / 1.354 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001393/19.57, allocations: 448.9 kB / 6.888 GB, free: 51.43 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001402/19.57, allocations: 293.1 kB / 6.888 GB, free: 51.38 MB / 1.354 GB Notification: Performance of sorting global known variables: time 0.01893/19.59, allocations: 9.306 MB / 6.897 GB, free: 48.11 MB / 1.354 GB Notification: Performance of sort global known variables: time 4.91e-07/19.59, allocations: 0 / 6.897 GB, free: 48.11 MB / 1.354 GB Notification: Performance of remove unused functions: time 0.03618/19.63, allocations: 7.909 MB / 6.905 GB, free: 46.48 MB / 1.354 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.04275/19.67, allocations: 24.84 MB / 6.929 GB, free: 32.59 MB / 1.354 GB Notification: Performance of simCode: created initialization part: time 0.04583/19.71, allocations: 22.09 MB / 6.951 GB, free: 24.52 MB / 1.354 GB Notification: Performance of simCode: created event and clocks part: time 2.79e-05/19.72, allocations: 8.156 kB / 6.951 GB, free: 24.52 MB / 1.354 GB Notification: Performance of simCode: created simulation system equations: time 0.0117/19.73, allocations: 5.434 MB / 6.956 GB, free: 22.44 MB / 1.354 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0314/19.76, allocations: 6.114 MB / 6.962 GB, free: 21.19 MB / 1.354 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.52/21.28, allocations: 134.7 MB / 7.093 GB, free: 113.1 MB / 1.37 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01986/21.3, allocations: 10.18 MB / 7.103 GB, free: 112 MB / 1.37 GB Notification: Performance of simCode: alias equations: time 0.02298/21.32, allocations: 6.159 MB / 7.109 GB, free: 111.8 MB / 1.37 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01175/21.33, allocations: 6.313 MB / 7.116 GB, free: 111.8 MB / 1.37 GB Notification: Performance of SimCode: time 7.22e-07/21.33, allocations: 0 / 7.116 GB, free: 111.8 MB / 1.37 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.319/22.65, allocations: 400 MB / 7.506 GB, free: 163.2 MB / 1.401 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/22.65, allocations: 271 kB / 7.506 GB, free: 162.9 MB / 1.401 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.11/41.76, allocations: 0 / 7.506 GB, free: 162.9 MB / 1.401 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.fmu > Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex_res.mat does not exist to compare? outputFormat=mat