Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7742/0.7742, allocations: 128.7 MB / 143.7 MB, free: 2.297 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001487/0.001487, allocations: 193.6 kB / 173.8 MB, free: 6.117 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.891/1.891, allocations: 205.4 MB / 409 MB, free: 10.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 88.16 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003388, allocations: 8.719 kB / 0.5604 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1627, allocations: 76.77 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.295/1.458, allocations: 382.8 MB / 1.009 GB, free: 175 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/1.458, allocations: 97.44 kB / 1.009 GB, free: 175 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 17.73/19.19, allocations: 4.432 GB / 5.441 GB, free: 58.31 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.274e-06/19.19, allocations: 2.719 kB / 5.441 GB, free: 58.31 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.003699/19.19, allocations: 394 kB / 5.441 GB, free: 58.26 MB / 0.7917 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.07198/19.26, allocations: 16.31 MB / 5.457 GB, free: 52.38 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/19.27, allocations: 8.188 kB / 5.457 GB, free: 52.38 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01223/19.28, allocations: 1.703 MB / 5.459 GB, free: 52.26 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01611/19.29, allocations: 1.866 MB / 5.461 GB, free: 51.37 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0601/19.35, allocations: 19.41 MB / 5.48 GB, free: 49.57 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001754/19.36, allocations: 0.9752 MB / 5.481 GB, free: 49.54 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007888/19.36, allocations: 1.298 MB / 5.482 GB, free: 49.54 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06373/19.43, allocations: 18.16 MB / 5.5 GB, free: 47.28 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001193/19.43, allocations: 47.34 kB / 5.5 GB, free: 47.27 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006862/19.44, allocations: 0.5238 MB / 5.5 GB, free: 47.27 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005774/19.44, allocations: 355.7 kB / 5.501 GB, free: 47.27 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04407/19.48, allocations: 15.61 MB / 5.516 GB, free: 47.16 MB / 0.7917 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.1675/19.65, allocations: 80.88 MB / 5.595 GB, free: 19.84 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02441/19.67, allocations: 11.88 MB / 5.607 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7783/20.45, allocations: 27.66 MB / 5.634 GB, free: 84.32 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/20.45, allocations: 112.7 kB / 5.634 GB, free: 84.27 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01135/20.46, allocations: 0.7635 MB / 5.634 GB, free: 84.27 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=655): time 6.091e-05/20.46, allocations: 0.5 kB / 5.634 GB, free: 84.27 MB / 0.8073 GB Notification: Performance of matching and sorting (n=655): time 0.05796/20.52, allocations: 17.89 MB / 5.652 GB, free: 82.36 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/20.52, allocations: 123.4 kB / 5.652 GB, free: 82.29 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03785/20.56, allocations: 11.84 MB / 5.664 GB, free: 81.76 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.003081/20.56, allocations: 178 kB / 5.664 GB, free: 81.73 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.01204/20.57, allocations: 7.121 MB / 5.671 GB, free: 79.94 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.005035/20.58, allocations: 2.304 MB / 5.673 GB, free: 78.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003383/20.58, allocations: 227.1 kB / 5.673 GB, free: 78.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.001927/20.58, allocations: 0.7743 MB / 5.674 GB, free: 78.24 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01397/20.6, allocations: 5.633 MB / 5.679 GB, free: 78.22 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01792/20.62, allocations: 9.61 MB / 5.689 GB, free: 73.5 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01754/20.63, allocations: 7.535 MB / 5.696 GB, free: 73.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003763/20.63, allocations: 36.16 kB / 5.696 GB, free: 73.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1474) (initialization): time 0.05763/20.69, allocations: 18.39 MB / 5.714 GB, free: 72.45 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.02418/20.72, allocations: 70.81 MB / 5.783 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007292/20.72, allocations: 126.8 kB / 5.783 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1026/20.82, allocations: 11.85 MB / 5.795 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01398/20.83, allocations: 2.65 MB / 5.798 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02258/20.86, allocations: 20.57 MB / 5.818 GB, free: 18.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.019/20.87, allocations: 1.043 MB / 5.819 GB, free: 18.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00445/20.88, allocations: 0.545 MB / 5.819 GB, free: 18.21 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/20.88, allocations: 8.469 kB / 5.819 GB, free: 18.21 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04706/20.93, allocations: 17.28 MB / 5.836 GB, free: 17.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006738/20.93, allocations: 123.3 kB / 5.836 GB, free: 17.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1037/21.03, allocations: 11.85 MB / 5.848 GB, free: 16.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01166/21.04, allocations: 2.372 MB / 5.85 GB, free: 16.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02119/21.06, allocations: 18.52 MB / 5.868 GB, free: 22.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01892/21.08, allocations: 0.9805 MB / 5.869 GB, free: 21.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00464/21.09, allocations: 0.5442 MB / 5.87 GB, free: 21.93 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 567 * 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 (1240): * Single equations (assignments): 1222 * 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.02073/21.11, allocations: 5.757 MB / 5.875 GB, free: 21.49 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006639/21.11, allocations: 1.137 MB / 5.876 GB, free: 20.88 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03484/21.15, allocations: 11.91 MB / 5.888 GB, free: 20.22 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.498e-05/21.15, allocations: 77.3 kB / 5.888 GB, free: 20.22 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-05/21.15, allocations: 7.391 kB / 5.888 GB, free: 20.21 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02152/21.17, allocations: 9.426 MB / 5.897 GB, free: 19.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08537/21.26, allocations: 25.25 MB / 5.922 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.599e-05/21.26, allocations: 11.72 kB / 5.922 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00909/21.27, allocations: 1.389 MB / 5.923 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05386/21.32, allocations: 6.396 MB / 5.93 GB, free: 6.332 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002718/21.32, allocations: 184.1 kB / 5.93 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.753/22.08, allocations: 21.26 MB / 5.951 GB, free: 113 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.836e-05/22.08, allocations: 21.66 kB / 5.951 GB, free: 113 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03668/22.11, allocations: 20.76 MB / 5.971 GB, free: 108 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01322/22.13, allocations: 2.7 MB / 5.973 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006555/22.13, allocations: 159.2 kB / 5.974 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01374/22.15, allocations: 0.7191 MB / 5.974 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002568/22.15, allocations: 442.4 kB / 5.975 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002327/22.15, allocations: 251.2 kB / 5.975 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.02587/22.18, allocations: 9.086 MB / 5.984 GB, free: 107.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.52e-07/22.18, allocations: 0.6875 kB / 5.984 GB, free: 107.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.04723/22.22, allocations: 7.708 MB / 5.991 GB, free: 106.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (561): * Single equations (assignments): 539 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.05443/22.28, allocations: 24.15 MB / 6.015 GB, free: 99.66 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0607/22.34, allocations: 22.07 MB / 6.037 GB, free: 98.69 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.636e-05/22.34, allocations: 6.688 kB / 6.037 GB, free: 98.69 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01587/22.36, allocations: 5.65 MB / 6.042 GB, free: 98.27 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03514/22.39, allocations: 6.062 MB / 6.048 GB, free: 98.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1617/22.55, allocations: 136.5 MB / 6.181 GB, free: 4.457 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02976/22.58, allocations: 10.11 MB / 6.191 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.03278/22.62, allocations: 6.128 MB / 6.197 GB, free: 2.723 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01972/22.63, allocations: 6.249 MB / 6.203 GB, free: 2.715 MB / 0.8698 GB Notification: Performance of SimCode: time 1.523e-06/22.63, allocations: 3.094 kB / 6.203 GB, free: 2.715 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.61/25.24, allocations: 394.1 MB / 6.588 GB, free: 118.8 MB / 0.9012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/25.25, allocations: 270.4 kB / 6.588 GB, free: 118.4 MB / 0.9012 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.11/46.36, allocations: 0 / 6.588 GB, free: 118.4 MB / 0.9012 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_StratifiedEnhancedInternalHex_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)