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.167/2.167, allocations: 390.3 MB / 402.8 MB, free: 6.727 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.001059/0.001059, allocations: 188.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 221.3 MB / 0.7915 GB, free: 5.457 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.0009876/0.0009877, allocations: 87.97 kB / 0.9317 GB, free: 5.773 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.588e-05/3.607e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2765, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.154/1.431, allocations: 433.3 MB / 1.642 GB, free: 1.152 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/1.431, allocations: 92.72 kB / 1.642 GB, free: 1.062 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 18.32/19.75, allocations: 4.699 GB / 6.341 GB, free: 113.5 MB / 1.276 GB Notification: Performance of FrontEnd: time 1.503e-06/19.75, allocations: 0.9062 kB / 6.341 GB, free: 113.5 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.003361/19.76, allocations: 409.1 kB / 6.342 GB, free: 113.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.05395/19.81, allocations: 13.7 MB / 6.355 GB, free: 108.7 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/19.81, allocations: 7.531 kB / 6.355 GB, free: 108.7 MB / 1.276 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009742/19.82, allocations: 1.687 MB / 6.357 GB, free: 108.6 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01778/19.84, allocations: 1.884 MB / 6.359 GB, free: 107.7 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04942/19.89, allocations: 18.15 MB / 6.376 GB, free: 106 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001123/19.89, allocations: 0.9718 MB / 6.377 GB, free: 106 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00616/19.9, allocations: 1.3 MB / 6.379 GB, free: 105.9 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05333/19.95, allocations: 18.06 MB / 6.396 GB, free: 103.7 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009153/19.95, allocations: 44.22 kB / 6.396 GB, free: 103.7 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006037/19.96, allocations: 0.5334 MB / 6.397 GB, free: 103.7 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003814/19.96, allocations: 354.2 kB / 6.397 GB, free: 103.7 MB / 1.276 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03832/19.99, allocations: 15.33 MB / 6.412 GB, free: 103.6 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.1424/20.14, allocations: 80.86 MB / 6.491 GB, free: 70.16 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01885/20.16, allocations: 11.86 MB / 6.503 GB, free: 69.64 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008766/20.17, allocations: 6.037 MB / 6.508 GB, free: 69.55 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06206/20.23, allocations: 28.77 MB / 6.537 GB, free: 62.93 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/20.23, allocations: 119.8 kB / 6.537 GB, free: 62.89 MB / 1.276 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008968/20.24, allocations: 0.7758 MB / 6.537 GB, free: 62.39 MB / 1.276 GB Notification: Performance of pre-optimization done (n=651): time 3.209e-05/20.24, allocations: 0 / 6.537 GB, free: 62.39 MB / 1.276 GB Notification: Performance of matching and sorting (n=651): time 0.02257/20.26, allocations: 10.17 MB / 6.547 GB, free: 61.41 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/20.26, allocations: 118.4 kB / 6.547 GB, free: 61.34 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02598/20.29, allocations: 12.04 MB / 6.559 GB, free: 60.52 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.002617/20.29, allocations: 186.3 kB / 6.559 GB, free: 60.49 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.008061/20.3, allocations: 7.165 MB / 6.566 GB, free: 57.46 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.003616/20.3, allocations: 2.29 MB / 6.569 GB, free: 55.71 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001457/20.3, allocations: 233.5 kB / 6.569 GB, free: 55.53 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.0006893/20.3, allocations: 0.772 MB / 6.57 GB, free: 55.02 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009773/20.31, allocations: 5.567 MB / 6.575 GB, free: 52.96 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01277/20.32, allocations: 9.455 MB / 6.584 GB, free: 46.05 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01219/20.34, allocations: 7.503 MB / 6.592 GB, free: 43.27 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001279/20.34, allocations: 36.53 kB / 6.592 GB, free: 43.27 MB / 1.276 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.03627/20.37, allocations: 18.2 MB / 6.609 GB, free: 37.01 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.02297/20.4, allocations: 69.07 MB / 6.677 GB, free: 28.26 MB / 1.339 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008441/20.4, allocations: 119.1 kB / 6.677 GB, free: 28.26 MB / 1.339 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0922/20.49, allocations: 11.87 MB / 6.689 GB, free: 26.66 MB / 1.339 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01024/20.5, allocations: 2.392 MB / 6.691 GB, free: 26.41 MB / 1.339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01728/20.52, allocations: 20.17 MB / 6.711 GB, free: 11.03 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01482/20.53, allocations: 1.095 MB / 6.712 GB, free: 10.71 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002451/20.53, allocations: 0.5418 MB / 6.712 GB, free: 10.62 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/20.53, allocations: 11.16 kB / 6.712 GB, free: 10.62 MB / 1.339 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02508/20.56, allocations: 17.17 MB / 6.729 GB, free: 4.051 MB / 1.339 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002836/20.56, allocations: 121.2 kB / 6.729 GB, free: 4.051 MB / 1.339 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09119/20.65, allocations: 11.86 MB / 6.741 GB, free: 40 kB / 1.339 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.9556/21.61, allocations: 2.651 MB / 6.743 GB, free: 170 MB / 1.339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01887/21.63, allocations: 18.37 MB / 6.761 GB, free: 159.9 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01631/21.64, allocations: 1.044 MB / 6.762 GB, free: 159.9 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003121/21.64, allocations: 0.5372 MB / 6.763 GB, free: 159.9 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 () * 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.003115/21.65, allocations: 0.7749 MB / 6.764 GB, free: 159.8 MB / 1.339 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003726/21.65, allocations: 1.166 MB / 6.765 GB, free: 159.7 MB / 1.339 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02388/21.68, allocations: 11.32 MB / 6.776 GB, free: 159.3 MB / 1.339 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.743e-05/21.68, allocations: 66.28 kB / 6.776 GB, free: 159.3 MB / 1.339 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.585e-05/21.68, allocations: 8.578 kB / 6.776 GB, free: 159.3 MB / 1.339 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01895/21.69, allocations: 9.319 MB / 6.785 GB, free: 158.7 MB / 1.339 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07294/21.77, allocations: 25.6 MB / 6.81 GB, free: 157.4 MB / 1.339 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.429e-05/21.77, allocations: 16.09 kB / 6.81 GB, free: 157.4 MB / 1.339 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005479/21.77, allocations: 1.129 MB / 6.811 GB, free: 157.4 MB / 1.339 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04739/21.82, allocations: 6.419 MB / 6.817 GB, free: 157.2 MB / 1.339 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002205/21.82, allocations: 193.1 kB / 6.817 GB, free: 157.2 MB / 1.339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/21.84, allocations: 17.77 MB / 6.835 GB, free: 145.3 MB / 1.339 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.277e-05/21.84, allocations: 17.72 kB / 6.835 GB, free: 145.3 MB / 1.339 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02943/21.86, allocations: 21.09 MB / 6.855 GB, free: 139.1 MB / 1.339 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01106/21.88, allocations: 2.788 MB / 6.858 GB, free: 138.4 MB / 1.339 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005689/21.88, allocations: 167.9 kB / 6.858 GB, free: 138.4 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01227/21.89, allocations: 0.7478 MB / 6.859 GB, free: 138.3 MB / 1.339 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001823/21.9, allocations: 441.3 kB / 6.859 GB, free: 138.3 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001885/21.9, allocations: 292.3 kB / 6.86 GB, free: 138.3 MB / 1.339 GB Notification: Performance of sorting global known variables: time 0.02037/21.92, allocations: 9.184 MB / 6.869 GB, free: 137.9 MB / 1.339 GB Notification: Performance of sort global known variables: time 5.41e-07/21.92, allocations: 0 / 6.869 GB, free: 137.9 MB / 1.339 GB Notification: Performance of remove unused functions: time 0.03933/21.96, allocations: 7.905 MB / 6.876 GB, free: 137.4 MB / 1.339 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 0.03673/21.99, allocations: 24.46 MB / 6.9 GB, free: 129.8 MB / 1.339 GB Notification: Performance of simCode: created initialization part: time 0.04378/22.04, allocations: 22.03 MB / 6.922 GB, free: 128.8 MB / 1.339 GB Notification: Performance of simCode: created event and clocks part: time 2.997e-05/22.04, allocations: 7.625 kB / 6.922 GB, free: 128.8 MB / 1.339 GB Notification: Performance of simCode: created simulation system equations: time 0.0108/22.05, allocations: 5.31 MB / 6.927 GB, free: 128.4 MB / 1.339 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03423/22.08, allocations: 6.116 MB / 6.933 GB, free: 128.4 MB / 1.339 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09595/22.18, allocations: 32.42 MB / 6.965 GB, free: 122.9 MB / 1.339 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02243/22.2, allocations: 10.19 MB / 6.975 GB, free: 121.8 MB / 1.339 GB Notification: Performance of simCode: alias equations: time 0.0422/22.24, allocations: 9.361 MB / 6.984 GB, free: 121.5 MB / 1.339 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01947/22.26, allocations: 6.113 MB / 6.99 GB, free: 121.5 MB / 1.339 GB Notification: Performance of SimCode: time 3.386e-06/22.26, allocations: 0 / 6.99 GB, free: 121.5 MB / 1.339 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.394/24.66, allocations: 419.3 MB / 7.399 GB, free: 166.5 MB / 1.354 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/24.66, allocations: 245 kB / 7.399 GB, free: 166.1 MB / 1.354 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.26/46.92, allocations: 1.719 kB / 7.399 GB, free: 166.1 MB / 1.354 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