Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5105/0.5105, allocations: 90.81 MB / 104.5 MB, free: 13.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 221.3 MB / 348.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008566/0.0008564, allocations: 102.6 kB / 421.2 MB, free: 5.695 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.046e-05/3.049e-05, allocations: 5.484 kB / 0.4897 GB, free: 46.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1319, allocations: 72.32 MB / 0.5603 GB, free: 6.328 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.112/1.244, allocations: 384.7 MB / 0.936 GB, free: 88.96 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/1.245, allocations: 87.27 kB / 0.9361 GB, free: 88.92 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 18.07/19.31, allocations: 4.699 GB / 5.635 GB, free: 51.52 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.793e-06/19.31, allocations: 0.9375 kB / 5.635 GB, free: 51.52 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.003584/19.32, allocations: 408.8 kB / 5.636 GB, free: 51.52 MB / 0.7605 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.04605/19.36, allocations: 13.7 MB / 5.649 GB, free: 47.59 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/19.36, allocations: 16.27 kB / 5.649 GB, free: 47.58 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007246/19.37, allocations: 1.689 MB / 5.651 GB, free: 47.46 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01382/19.38, allocations: 1.886 MB / 5.653 GB, free: 46.57 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04766/19.43, allocations: 18.15 MB / 5.67 GB, free: 44.87 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001163/19.43, allocations: 0.9745 MB / 5.671 GB, free: 44.84 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005681/19.44, allocations: 1.3 MB / 5.673 GB, free: 44.83 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05196/19.49, allocations: 18.06 MB / 5.69 GB, free: 42.64 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009877/19.49, allocations: 46.52 kB / 5.69 GB, free: 42.63 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005876/19.5, allocations: 0.5305 MB / 5.691 GB, free: 42.63 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004998/19.5, allocations: 354.2 kB / 5.691 GB, free: 42.63 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04046/19.54, allocations: 15.33 MB / 5.706 GB, free: 42.54 MB / 0.7605 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.1529/19.69, allocations: 80.85 MB / 5.785 GB, free: 25.06 MB / 0.7762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01722/19.71, allocations: 11.86 MB / 5.797 GB, free: 24.58 MB / 0.7762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007623/19.72, allocations: 6.027 MB / 5.803 GB, free: 24.51 MB / 0.7762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05719/19.77, allocations: 28.75 MB / 5.831 GB, free: 17.89 MB / 0.7762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.902e-05/19.77, allocations: 127.4 kB / 5.831 GB, free: 17.84 MB / 0.7762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008179/19.78, allocations: 0.7751 MB / 5.831 GB, free: 17.34 MB / 0.7762 GB Notification: Performance of pre-optimization done (n=651): time 3.033e-05/19.78, allocations: 3.438 kB / 5.831 GB, free: 17.34 MB / 0.7762 GB Notification: Performance of matching and sorting (n=651): time 0.0194/19.8, allocations: 10.17 MB / 5.841 GB, free: 16.36 MB / 0.7762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.298e-05/19.8, allocations: 122.8 kB / 5.842 GB, free: 16.29 MB / 0.7762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02169/19.82, allocations: 12.04 MB / 5.853 GB, free: 12.74 MB / 0.7762 GB Notification: Performance of collectPreVariables (initialization): time 0.002567/19.83, allocations: 186.1 kB / 5.853 GB, free: 12.59 MB / 0.7762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0064/19.83, allocations: 7.172 MB / 5.86 GB, free: 7.094 MB / 0.7762 GB Notification: Performance of collectInitialBindings (initialization): time 0.003548/19.84, allocations: 2.293 MB / 5.863 GB, free: 5.34 MB / 0.7762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001432/19.84, allocations: 227.1 kB / 5.863 GB, free: 5.16 MB / 0.7762 GB Notification: Performance of setup shared object (initialization): time 0.0007912/19.84, allocations: 0.7741 MB / 5.864 GB, free: 4.652 MB / 0.7762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009252/19.85, allocations: 5.567 MB / 5.869 GB, free: 2.59 MB / 0.7762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01299/19.86, allocations: 9.455 MB / 5.878 GB, free: 11.68 MB / 0.7918 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01273/19.87, allocations: 7.505 MB / 5.886 GB, free: 9.07 MB / 0.7918 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001236/19.87, allocations: 32.25 kB / 5.886 GB, free: 9.07 MB / 0.7918 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.03941/19.91, allocations: 18.21 MB / 5.903 GB, free: 2.805 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 0.6185/20.53, allocations: 69.06 MB / 5.971 GB, free: 37.9 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005051/20.53, allocations: 120.8 kB / 5.971 GB, free: 37.9 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09347/20.62, allocations: 11.87 MB / 5.983 GB, free: 37.77 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01084/20.64, allocations: 2.398 MB / 5.985 GB, free: 37.77 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01671/20.65, allocations: 20.16 MB / 6.005 GB, free: 25.83 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01764/20.67, allocations: 1.102 MB / 6.006 GB, free: 25.83 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002986/20.67, allocations: 0.539 MB / 6.006 GB, free: 25.83 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/20.67, allocations: 3.281 kB / 6.006 GB, free: 25.83 MB / 0.8074 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03281/20.71, allocations: 17.17 MB / 6.023 GB, free: 25.51 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004411/20.71, allocations: 119.6 kB / 6.023 GB, free: 25.51 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08677/20.79, allocations: 11.88 MB / 6.035 GB, free: 25.07 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00991/20.8, allocations: 2.378 MB / 6.037 GB, free: 25.07 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01532/20.82, allocations: 18.38 MB / 6.055 GB, free: 30.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01524/20.83, allocations: 1.052 MB / 6.056 GB, free: 30.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003583/20.84, allocations: 0.5403 MB / 6.057 GB, free: 30.8 MB / 0.823 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.004253/20.84, allocations: 0.7664 MB / 6.057 GB, free: 30.69 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004337/20.85, allocations: 1.164 MB / 6.058 GB, free: 30.58 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02256/20.87, allocations: 11.32 MB / 6.069 GB, free: 30.01 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.447e-05/20.87, allocations: 64.16 kB / 6.07 GB, free: 30.01 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.838e-05/20.87, allocations: 4.969 kB / 6.07 GB, free: 30.01 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01517/20.88, allocations: 9.333 MB / 6.079 GB, free: 29.42 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05936/20.94, allocations: 25.59 MB / 6.104 GB, free: 28.05 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.662e-05/20.94, allocations: 11.44 kB / 6.104 GB, free: 28.05 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004917/20.95, allocations: 1.136 MB / 6.105 GB, free: 28.04 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04438/20.99, allocations: 6.423 MB / 6.111 GB, free: 27.59 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001761/20.99, allocations: 186.4 kB / 6.111 GB, free: 27.59 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01526/21.01, allocations: 17.78 MB / 6.129 GB, free: 15.52 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.346e-05/21.01, allocations: 23.45 kB / 6.129 GB, free: 15.52 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02796/21.04, allocations: 21.09 MB / 6.149 GB, free: 9.16 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01126/21.05, allocations: 2.793 MB / 6.152 GB, free: 8.438 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006285/21.06, allocations: 156.8 kB / 6.152 GB, free: 8.438 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01531/21.07, allocations: 0.7545 MB / 6.153 GB, free: 8.371 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002414/21.07, allocations: 444.5 kB / 6.153 GB, free: 8.348 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002232/21.08, allocations: 291.1 kB / 6.154 GB, free: 8.348 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.02122/21.1, allocations: 9.178 MB / 6.162 GB, free: 23.97 MB / 0.8387 GB Notification: Performance of sort global known variables: time 7.42e-07/21.1, allocations: 3.703 kB / 6.162 GB, free: 23.97 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.04/21.14, allocations: 7.904 MB / 6.17 GB, free: 23.45 MB / 0.8387 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.0383/21.17, allocations: 24.47 MB / 6.194 GB, free: 15.65 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.04138/21.22, allocations: 22.02 MB / 6.216 GB, free: 10.48 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.556e-05/21.22, allocations: 8.781 kB / 6.216 GB, free: 10.47 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.01179/21.23, allocations: 5.31 MB / 6.221 GB, free: 7.07 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03549/21.26, allocations: 6.107 MB / 6.227 GB, free: 2.719 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6455/21.91, allocations: 33.35 MB / 6.259 GB, free: 108.1 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01181/21.92, allocations: 10.2 MB / 6.269 GB, free: 107 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 0.03039/21.95, allocations: 9.342 MB / 6.278 GB, free: 106.9 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01273/21.96, allocations: 6.115 MB / 6.284 GB, free: 106.9 MB / 0.8387 GB Notification: Performance of SimCode: time 9.92e-07/21.96, allocations: 0 / 6.284 GB, free: 106.9 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.123/23.09, allocations: 419.2 MB / 6.694 GB, free: 98 MB / 0.8387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/23.09, allocations: 230.3 kB / 6.694 GB, free: 97.69 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.66/40.75, allocations: 4 kB / 6.694 GB, free: 97.69 MB / 0.8387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Examples_StratifiedEnhancedInternalHex_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)