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.001792/0.001792, allocations: 182.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5289/0.5289, allocations: 91.97 MB / 108.5 MB, free: 13.07 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.578/1.578, allocations: 223.2 MB / 354.3 MB, free: 12.22 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.0009192/0.0009192, allocations: 103 kB / 427.4 MB, free: 3.965 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005379/0.0005379, allocations: 8 kB / 0.4983 GB, free: 42.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1818, allocations: 72.3 MB / 0.5689 GB, free: 1.871 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.197/1.379, allocations: 384.7 MB / 0.9446 GB, free: 82.54 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/1.379, allocations: 99.38 kB / 0.9447 GB, free: 82.48 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 20.02/21.4, allocations: 4.712 GB / 5.657 GB, free: 33.88 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.685e-06/21.4, allocations: 0 / 5.657 GB, free: 33.88 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.004858/21.41, allocations: 418.2 kB / 5.657 GB, free: 33.82 MB / 0.7448 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.07631/21.48, allocations: 16.47 MB / 5.673 GB, free: 27.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/21.49, allocations: 9.984 kB / 5.673 GB, free: 27.98 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01045/21.5, allocations: 1.703 MB / 5.675 GB, free: 27.86 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01933/21.51, allocations: 1.897 MB / 5.677 GB, free: 26.96 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06083/21.58, allocations: 18.24 MB / 5.695 GB, free: 25.26 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001516/21.58, allocations: 0.9735 MB / 5.696 GB, free: 25.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00774/21.59, allocations: 1.302 MB / 5.697 GB, free: 25.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06128/21.65, allocations: 18.28 MB / 5.715 GB, free: 23.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001131/21.65, allocations: 48.25 kB / 5.715 GB, free: 23.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006905/21.65, allocations: 0.5306 MB / 5.715 GB, free: 23.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004328/21.65, allocations: 353.2 kB / 5.716 GB, free: 23.03 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04625/21.7, allocations: 15.61 MB / 5.731 GB, free: 22.93 MB / 0.7448 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.175/21.88, allocations: 80.85 MB / 5.81 GB, free: 5.293 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02487/21.9, allocations: 11.98 MB / 5.822 GB, free: 4.758 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08465/21.99, allocations: 28.31 MB / 5.849 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/21.99, allocations: 123.2 kB / 5.849 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01199/22, allocations: 0.7721 MB / 5.85 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=660): time 4.478e-05/22, allocations: 0 / 5.85 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=660): time 0.05478/22.05, allocations: 18.01 MB / 5.868 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.777e-05/22.05, allocations: 121.6 kB / 5.868 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03846/22.09, allocations: 12.17 MB / 5.88 GB, free: 2.027 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.003348/22.1, allocations: 184.2 kB / 5.88 GB, free: 1.879 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.01446/22.11, allocations: 7.285 MB / 5.887 GB, free: 12.92 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.005441/22.12, allocations: 2.315 MB / 5.889 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003688/22.12, allocations: 237.4 kB / 5.889 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.002175/22.12, allocations: 0.7736 MB / 5.89 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01533/22.14, allocations: 5.702 MB / 5.896 GB, free: 8.371 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02074/22.16, allocations: 9.589 MB / 5.905 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7056/22.86, allocations: 7.882 MB / 5.913 GB, free: 73.66 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002029/22.86, allocations: 34.28 kB / 5.913 GB, free: 73.66 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1476) (initialization): time 0.05346/22.92, allocations: 18.45 MB / 5.931 GB, free: 73.31 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.01934/22.94, allocations: 69.06 MB / 5.998 GB, free: 18.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006498/22.94, allocations: 121.5 kB / 5.998 GB, free: 18.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1051/23.04, allocations: 11.86 MB / 6.01 GB, free: 17.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01195/23.05, allocations: 2.407 MB / 6.012 GB, free: 17.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02433/23.08, allocations: 20.31 MB / 6.032 GB, free: 22.04 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02027/23.1, allocations: 1.102 MB / 6.033 GB, free: 22.04 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004278/23.1, allocations: 0.5371 MB / 6.034 GB, free: 22.04 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/23.1, allocations: 5.688 kB / 6.034 GB, free: 22.04 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04573/23.15, allocations: 17.41 MB / 6.051 GB, free: 21.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000756/23.15, allocations: 122.9 kB / 6.051 GB, free: 21.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1051/23.25, allocations: 11.86 MB / 6.063 GB, free: 20.98 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01113/23.27, allocations: 2.384 MB / 6.065 GB, free: 20.81 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01944/23.29, allocations: 18.53 MB / 6.083 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01742/23.3, allocations: 1.052 MB / 6.084 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004179/23.31, allocations: 0.539 MB / 6.085 GB, free: 26.43 MB / 0.8386 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1242): * Single equations (assignments): 1224 * 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.01829/23.33, allocations: 5.799 MB / 6.09 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00614/23.33, allocations: 1.168 MB / 6.091 GB, free: 25.67 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03676/23.37, allocations: 11.64 MB / 6.103 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001185/23.37, allocations: 70.83 kB / 6.103 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.501e-05/23.37, allocations: 6.469 kB / 6.103 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.024/23.39, allocations: 9.629 MB / 6.112 GB, free: 24.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07818/23.47, allocations: 25.88 MB / 6.137 GB, free: 22.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.387e-05/23.47, allocations: 17.69 kB / 6.137 GB, free: 22.94 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006305/23.48, allocations: 1.134 MB / 6.139 GB, free: 22.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05433/23.53, allocations: 6.416 MB / 6.145 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00242/23.53, allocations: 189 kB / 6.145 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01611/23.55, allocations: 17.9 MB / 6.163 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-05/23.55, allocations: 19.66 kB / 6.163 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03969/23.59, allocations: 21.44 MB / 6.183 GB, free: 19.89 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01365/23.6, allocations: 2.795 MB / 6.186 GB, free: 19.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006982/23.61, allocations: 169.5 kB / 6.186 GB, free: 19.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01435/23.62, allocations: 0.7523 MB / 6.187 GB, free: 19.09 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0025/23.63, allocations: 450.8 kB / 6.188 GB, free: 19.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002413/23.63, allocations: 295.8 kB / 6.188 GB, free: 19.06 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.02575/23.66, allocations: 9.306 MB / 6.197 GB, free: 18.74 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.51e-07/23.66, allocations: 0 / 6.197 GB, free: 18.74 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.04242/23.7, allocations: 7.904 MB / 6.205 GB, free: 18.21 MB / 0.8542 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (570): * Single equations (assignments): 546 * 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.0505/23.75, allocations: 24.83 MB / 6.229 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.7421/24.49, allocations: 23.03 MB / 6.251 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.943e-05/24.49, allocations: 10.97 kB / 6.251 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01424/24.51, allocations: 5.434 MB / 6.257 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03578/24.54, allocations: 6.116 MB / 6.263 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1293/24.67, allocations: 134.1 MB / 6.394 GB, free: 22.88 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02232/24.69, allocations: 10.19 MB / 6.404 GB, free: 21.61 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.03178/24.72, allocations: 6.149 MB / 6.41 GB, free: 21.12 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01974/24.74, allocations: 6.312 MB / 6.416 GB, free: 21.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.372e-06/24.74, allocations: 0 / 6.416 GB, free: 21.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.017/26.76, allocations: 400 MB / 6.806 GB, free: 18.06 MB / 0.8543 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/26.76, allocations: 261.9 kB / 6.807 GB, free: 17.71 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.21/49.97, allocations: 64 / 6.807 GB, free: 17.71 MB / 0.8543 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)