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.318/2.318, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001073/0.001073, allocations: 180.8 kB / 487.4 MB, free: 5.043 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.577/1.577, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009159/0.0009162, allocations: 103.8 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.322e-05/2.324e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.312, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.095/1.407, allocations: 431.8 MB / 1.628 GB, free: 6.918 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/1.407, allocations: 89.64 kB / 1.628 GB, free: 6.875 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 17.86/19.27, allocations: 4.677 GB / 6.305 GB, free: 5.023 MB / 1.276 GB Notification: Performance of FrontEnd: time 1.974e-06/19.27, allocations: 0 / 6.305 GB, free: 5.023 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.002909/19.27, allocations: 415.6 kB / 6.305 GB, free: 4.617 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 1.877/21.15, allocations: 13.69 MB / 6.319 GB, free: 94.39 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/21.15, allocations: 6.969 kB / 6.319 GB, free: 94.39 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01807/21.17, allocations: 1.889 MB / 6.321 GB, free: 93.49 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05974/21.23, allocations: 18.15 MB / 6.338 GB, free: 92.16 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007932/21.23, allocations: 403.1 kB / 6.339 GB, free: 92.16 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005479/21.24, allocations: 0.7622 MB / 6.34 GB, free: 92.16 MB / 1.276 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03332/21.27, allocations: 14.46 MB / 6.354 GB, free: 92.1 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05517/21.32, allocations: 16.13 MB / 6.369 GB, free: 89.97 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008798/21.32, allocations: 46.03 kB / 6.369 GB, free: 89.96 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004459/21.33, allocations: 24.09 kB / 6.369 GB, free: 89.96 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000387/21.33, allocations: 353.5 kB / 6.37 GB, free: 89.96 MB / 1.276 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.148/21.48, allocations: 78.55 MB / 6.447 GB, free: 56.79 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01779/21.5, allocations: 11.3 MB / 6.458 GB, free: 56.59 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00934/21.5, allocations: 5.815 MB / 6.463 GB, free: 56.52 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0679/21.57, allocations: 28.33 MB / 6.491 GB, free: 65.94 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/21.57, allocations: 120.8 kB / 6.491 GB, free: 65.89 MB / 1.292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009529/21.58, allocations: 0.5552 MB / 6.492 GB, free: 65.45 MB / 1.292 GB Notification: Performance of pre-optimization done (n=651): time 6.903e-05/21.58, allocations: 0 / 6.492 GB, free: 65.45 MB / 1.292 GB Notification: Performance of matching and sorting (n=651): time 0.03024/21.61, allocations: 10.48 MB / 6.502 GB, free: 64.51 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/21.61, allocations: 122.2 kB / 6.502 GB, free: 64.44 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0287/21.64, allocations: 10.83 MB / 6.512 GB, free: 63.67 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.002783/21.64, allocations: 32.58 kB / 6.513 GB, free: 63.64 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.01008/21.65, allocations: 7.138 MB / 6.519 GB, free: 60.72 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.004835/21.66, allocations: 2.204 MB / 6.522 GB, free: 59.28 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00291/21.66, allocations: 0 / 6.522 GB, free: 59.28 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.001843/21.66, allocations: 0.7749 MB / 6.522 GB, free: 58.95 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01094/21.68, allocations: 5.361 MB / 6.528 GB, free: 58.93 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01278/21.69, allocations: 9.164 MB / 6.537 GB, free: 54.37 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02304/21.71, allocations: 9.472 MB / 6.546 GB, free: 54.27 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002905/21.71, allocations: 32.78 kB / 6.546 GB, free: 54.27 MB / 1.292 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.048/21.76, allocations: 19.1 MB / 6.565 GB, free: 53.34 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0348/21.79, allocations: 67.19 MB / 6.63 GB, free: 48.1 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006308/21.8, allocations: 121.4 kB / 6.63 GB, free: 48.1 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01309/21.81, allocations: 4.04 MB / 6.634 GB, free: 47.96 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0109/21.82, allocations: 2.404 MB / 6.637 GB, free: 47.96 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02414/21.84, allocations: 20.63 MB / 6.657 GB, free: 36.04 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01818/21.86, allocations: 0.8707 MB / 6.658 GB, free: 35.95 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004003/21.87, allocations: 0.5362 MB / 6.658 GB, free: 35.95 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/21.87, allocations: 3.656 kB / 6.658 GB, free: 35.95 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05114/21.92, allocations: 17.9 MB / 6.676 GB, free: 35.62 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006723/21.92, allocations: 120.2 kB / 6.676 GB, free: 35.62 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01308/21.93, allocations: 4.054 MB / 6.68 GB, free: 35.48 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01092/21.94, allocations: 2.376 MB / 6.682 GB, free: 35.48 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02471/21.97, allocations: 18.83 MB / 6.7 GB, free: 41.29 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01566/21.98, allocations: 0.8176 MB / 6.701 GB, free: 41.21 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003774/21.99, allocations: 0.5419 MB / 6.702 GB, free: 41.21 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1233): * Single equations (assignments): 1215 * 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.006379/21.99, allocations: 446.4 kB / 6.702 GB, free: 40.87 MB / 1.37 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03114/22.02, allocations: 10.45 MB / 6.712 GB, free: 38.72 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006037/22.03, allocations: 1.102 MB / 6.713 GB, free: 38.13 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03351/22.06, allocations: 11.46 MB / 6.725 GB, free: 33.96 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.55e-05/22.06, allocations: 63.88 kB / 6.725 GB, free: 33.96 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.768e-05/22.06, allocations: 5.703 kB / 6.725 GB, free: 33.96 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02471/22.09, allocations: 9.648 MB / 6.734 GB, free: 30.38 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07441/22.16, allocations: 24.34 MB / 6.758 GB, free: 20.9 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-05/22.16, allocations: 16.53 kB / 6.758 GB, free: 20.9 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005928/22.17, allocations: 1.12 MB / 6.759 GB, free: 20.81 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007718/22.18, allocations: 2.477 MB / 6.761 GB, free: 20.15 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002101/22.18, allocations: 90.64 kB / 6.761 GB, free: 20.12 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01859/22.2, allocations: 17.93 MB / 6.779 GB, free: 5.766 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.775e-05/22.2, allocations: 23.62 kB / 6.779 GB, free: 5.758 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04564/22.24, allocations: 21.03 MB / 6.799 GB, free: 10.09 MB / 1.386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01227/22.26, allocations: 2.724 MB / 6.802 GB, free: 8.613 MB / 1.386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006385/22.26, allocations: 50.47 kB / 6.802 GB, free: 8.602 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01386/22.28, allocations: 0.6319 MB / 6.803 GB, free: 8.555 MB / 1.386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002409/22.28, allocations: 447.4 kB / 6.803 GB, free: 8.469 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002132/22.28, allocations: 286 kB / 6.804 GB, free: 8.418 MB / 1.386 GB Notification: Performance of sorting global known variables: time 0.02032/22.3, allocations: 8.105 MB / 6.811 GB, free: 5.32 MB / 1.386 GB Notification: Performance of sort global known variables: time 5.51e-07/22.3, allocations: 0 / 6.811 GB, free: 5.32 MB / 1.386 GB Notification: Performance of remove unused functions: time 0.04204/22.34, allocations: 7.531 MB / 6.819 GB, free: 3.117 MB / 1.386 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (561): * Single equations (assignments): 537 * 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 1.077/23.42, allocations: 24.5 MB / 6.843 GB, free: 194.2 MB / 1.386 GB Notification: Performance of simCode: created initialization part: time 0.04385/23.46, allocations: 20.62 MB / 6.863 GB, free: 193.3 MB / 1.386 GB Notification: Performance of simCode: created event and clocks part: time 4.16e-05/23.46, allocations: 8.062 kB / 6.863 GB, free: 193.3 MB / 1.386 GB Notification: Performance of simCode: created simulation system equations: time 0.01161/23.48, allocations: 4.967 MB / 6.868 GB, free: 193 MB / 1.386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03431/23.51, allocations: 5.351 MB / 6.873 GB, free: 192.9 MB / 1.386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1117/23.62, allocations: 31.5 MB / 6.904 GB, free: 187.5 MB / 1.386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02874/23.65, allocations: 10.2 MB / 6.914 GB, free: 186.4 MB / 1.386 GB Notification: Performance of simCode: alias equations: time 0.04586/23.7, allocations: 8.51 MB / 6.922 GB, free: 186.3 MB / 1.386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02153/23.72, allocations: 6.108 MB / 6.928 GB, free: 186.3 MB / 1.386 GB Notification: Performance of SimCode: time 2.946e-06/23.72, allocations: 0 / 6.928 GB, free: 186.3 MB / 1.386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5414/24.26, allocations: 370.9 MB / 7.29 GB, free: 37.54 MB / 1.386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/24.26, allocations: 192.2 kB / 7.29 GB, free: 37.34 MB / 1.386 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.39/45.65, allocations: 0 / 7.29 GB, free: 37.34 MB / 1.386 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