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.078/2.078, allocations: 390.5 MB / 398 MB, free: 10.92 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.001023/0.001023, allocations: 190.3 kB / 491.2 MB, free: 1.551 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.468/1.468, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.0009191/0.0009191, allocations: 94.44 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.647e-05/1.65e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.273, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.144/1.417, allocations: 432.6 MB / 1.635 GB, free: 14.51 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/1.417, allocations: 90.69 kB / 1.635 GB, free: 14.46 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 17.49/18.91, allocations: 4.677 GB / 6.312 GB, free: 11.52 MB / 1.276 GB Notification: Performance of FrontEnd: time 2.064e-06/18.91, allocations: 0 / 6.312 GB, free: 11.52 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.003541/18.91, allocations: 415.6 kB / 6.313 GB, free: 11.11 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.835/20.75, allocations: 13.69 MB / 6.326 GB, free: 84.41 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/20.75, allocations: 11.03 kB / 6.326 GB, free: 84.41 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01516/20.76, allocations: 1.884 MB / 6.328 GB, free: 83.52 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06066/20.82, allocations: 18.14 MB / 6.346 GB, free: 82.51 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00142/20.82, allocations: 402.7 kB / 6.346 GB, free: 82.51 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007234/20.83, allocations: 0.7626 MB / 6.347 GB, free: 82.51 MB / 1.276 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04976/20.88, allocations: 14.46 MB / 6.361 GB, free: 82.45 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05811/20.94, allocations: 16.13 MB / 6.377 GB, free: 80.32 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00118/20.94, allocations: 49.19 kB / 6.377 GB, free: 80.32 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006239/20.95, allocations: 26.41 kB / 6.377 GB, free: 80.32 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008509/20.95, allocations: 350.5 kB / 6.377 GB, free: 80.32 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.1476/21.1, allocations: 78.55 MB / 6.454 GB, free: 63.48 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02061/21.12, allocations: 11.31 MB / 6.465 GB, free: 63.29 MB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01038/21.13, allocations: 5.811 MB / 6.47 GB, free: 63.21 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07317/21.2, allocations: 28.33 MB / 6.498 GB, free: 56.64 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/21.2, allocations: 118.8 kB / 6.498 GB, free: 56.59 MB / 1.292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009767/21.21, allocations: 0.5587 MB / 6.499 GB, free: 56.14 MB / 1.292 GB Notification: Performance of pre-optimization done (n=651): time 7.587e-05/21.21, allocations: 0 / 6.499 GB, free: 56.14 MB / 1.292 GB Notification: Performance of matching and sorting (n=651): time 0.03515/21.25, allocations: 10.48 MB / 6.509 GB, free: 55.2 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/21.25, allocations: 118.5 kB / 6.509 GB, free: 55.13 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03338/21.28, allocations: 10.83 MB / 6.52 GB, free: 54.37 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.003441/21.28, allocations: 31.83 kB / 6.52 GB, free: 54.34 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.01202/21.29, allocations: 7.137 MB / 6.527 GB, free: 51.41 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.004078/21.3, allocations: 2.206 MB / 6.529 GB, free: 49.98 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002476/21.3, allocations: 0 / 6.529 GB, free: 49.98 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.001731/21.3, allocations: 0.7702 MB / 6.53 GB, free: 49.65 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01226/21.32, allocations: 5.355 MB / 6.535 GB, free: 49.62 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01374/21.33, allocations: 9.167 MB / 6.544 GB, free: 45.07 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03117/21.36, allocations: 9.468 MB / 6.553 GB, free: 44.97 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004101/21.36, allocations: 36.69 kB / 6.553 GB, free: 44.97 MB / 1.292 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.06389/21.42, allocations: 19.11 MB / 6.572 GB, free: 44.04 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.03259/21.46, allocations: 67.19 MB / 6.637 GB, free: 38.8 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006191/21.46, allocations: 120.2 kB / 6.637 GB, free: 38.8 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0125/21.47, allocations: 4.034 MB / 6.641 GB, free: 38.66 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01037/21.48, allocations: 2.397 MB / 6.644 GB, free: 38.66 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02285/21.5, allocations: 20.63 MB / 6.664 GB, free: 42.74 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01685/21.52, allocations: 0.8692 MB / 6.665 GB, free: 42.65 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003751/21.52, allocations: 0.5416 MB / 6.665 GB, free: 42.65 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/21.52, allocations: 8.469 kB / 6.665 GB, free: 42.65 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04926/21.57, allocations: 17.9 MB / 6.683 GB, free: 42.32 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006252/21.57, allocations: 126.2 kB / 6.683 GB, free: 42.32 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01214/21.59, allocations: 4.042 MB / 6.687 GB, free: 42.18 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01097/21.6, allocations: 2.38 MB / 6.689 GB, free: 42.18 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0214/21.62, allocations: 18.82 MB / 6.707 GB, free: 32.02 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01855/21.64, allocations: 0.8173 MB / 6.708 GB, free: 31.95 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004823/21.64, allocations: 0.5354 MB / 6.709 GB, free: 31.95 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.006557/21.65, allocations: 459.3 kB / 6.709 GB, free: 31.67 MB / 1.37 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03289/21.68, allocations: 10.45 MB / 6.719 GB, free: 30.69 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006934/21.69, allocations: 1.098 MB / 6.721 GB, free: 30.11 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03277/21.72, allocations: 11.45 MB / 6.732 GB, free: 26.25 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001013/21.72, allocations: 66.61 kB / 6.732 GB, free: 26.25 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.591e-05/21.72, allocations: 7.406 kB / 6.732 GB, free: 26.25 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0255/21.75, allocations: 9.664 MB / 6.741 GB, free: 22.66 MB / 1.37 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06856/21.82, allocations: 24.33 MB / 6.765 GB, free: 13.18 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.723e-05/21.82, allocations: 12.78 kB / 6.765 GB, free: 13.18 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006216/21.82, allocations: 1.124 MB / 6.766 GB, free: 13.09 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008407/21.83, allocations: 2.476 MB / 6.768 GB, free: 12.43 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002374/21.83, allocations: 98.11 kB / 6.769 GB, free: 12.41 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01769/21.85, allocations: 17.93 MB / 6.786 GB, free: 14.04 MB / 1.386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.665e-05/21.85, allocations: 25.19 kB / 6.786 GB, free: 14.04 MB / 1.386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03793/21.89, allocations: 21.04 MB / 6.807 GB, free: 2.363 MB / 1.386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01054/21.9, allocations: 2.724 MB / 6.809 GB, free: 0.8906 MB / 1.386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006178/21.91, allocations: 52.59 kB / 6.809 GB, free: 0.8828 MB / 1.386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01292/21.92, allocations: 0.6346 MB / 6.81 GB, free: 0.832 MB / 1.386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002235/21.92, allocations: 443.5 kB / 6.81 GB, free: 0.75 MB / 1.386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00216/21.92, allocations: 292.1 kB / 6.811 GB, free: 0.6953 MB / 1.386 GB Notification: Performance of sorting global known variables: time 1.789/23.71, allocations: 8.538 MB / 6.819 GB, free: 186.2 MB / 1.386 GB Notification: Performance of sort global known variables: time 6.01e-07/23.71, allocations: 0 / 6.819 GB, free: 186.2 MB / 1.386 GB Notification: Performance of remove unused functions: time 0.03967/23.75, allocations: 7.526 MB / 6.826 GB, free: 186.2 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 0.04245/23.8, allocations: 24.5 MB / 6.85 GB, free: 179.2 MB / 1.386 GB Notification: Performance of simCode: created initialization part: time 0.03634/23.83, allocations: 20.62 MB / 6.87 GB, free: 178.3 MB / 1.386 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-05/23.83, allocations: 9 kB / 6.87 GB, free: 178.3 MB / 1.386 GB Notification: Performance of simCode: created simulation system equations: time 0.008411/23.84, allocations: 4.972 MB / 6.875 GB, free: 177.9 MB / 1.386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03068/23.87, allocations: 5.349 MB / 6.881 GB, free: 177.9 MB / 1.386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08638/23.96, allocations: 31.51 MB / 6.911 GB, free: 172.4 MB / 1.386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01966/23.98, allocations: 10.2 MB / 6.921 GB, free: 171.3 MB / 1.386 GB Notification: Performance of simCode: alias equations: time 0.03406/24.01, allocations: 8.513 MB / 6.93 GB, free: 171.2 MB / 1.386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01222/24.02, allocations: 6.111 MB / 6.936 GB, free: 171.2 MB / 1.386 GB Notification: Performance of SimCode: time 2.244e-06/24.02, allocations: 0 / 6.936 GB, free: 171.2 MB / 1.386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.494/24.52, allocations: 370.8 MB / 7.298 GB, free: 17.53 MB / 1.386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/24.52, allocations: 194.4 kB / 7.298 GB, free: 17.34 MB / 1.386 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.71/45.23, allocations: 8.031 kB / 7.298 GB, free: 17.33 MB / 1.386 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