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.7401/0.7401, allocations: 127.4 MB / 134.9 MB, free: 3.508 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.001043/0.001043, allocations: 178.9 kB / 164.6 MB, free: 11.61 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.453/1.453, allocations: 205.2 MB / 399.5 MB, free: 13.57 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.0007988/0.0007988, allocations: 106.4 kB / 476.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.984e-05/1.988e-05, allocations: 2.844 kB / 0.5467 GB, free: 95.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1643, allocations: 76.77 MB / 0.6216 GB, free: 43.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.278/1.442, allocations: 382 MB / 0.9947 GB, free: 250.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/1.443, allocations: 91.66 kB / 0.9948 GB, free: 250.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 17.06/18.5, allocations: 4.397 GB / 5.392 GB, free: 55.83 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.014e-06/18.5, allocations: 0 / 5.392 GB, free: 55.83 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.00295/18.5, allocations: 403.7 kB / 5.392 GB, free: 55.78 MB / 0.7761 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.0548/18.56, allocations: 13.59 MB / 5.406 GB, free: 50.96 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/18.56, allocations: 8.312 kB / 5.406 GB, free: 50.96 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0136/18.57, allocations: 1.861 MB / 5.408 GB, free: 50.07 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05508/18.63, allocations: 19.32 MB / 5.426 GB, free: 48.32 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009965/18.63, allocations: 404.3 kB / 5.427 GB, free: 48.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00633/18.63, allocations: 0.7729 MB / 5.428 GB, free: 48.32 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0403/18.67, allocations: 14.35 MB / 5.442 GB, free: 48.26 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06314/18.74, allocations: 15.93 MB / 5.457 GB, free: 46.05 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001293/18.74, allocations: 38.34 kB / 5.457 GB, free: 46.05 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006595/18.74, allocations: 21.75 kB / 5.457 GB, free: 46.05 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000524/18.75, allocations: 351 kB / 5.457 GB, free: 46.05 MB / 0.7761 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.1609/18.91, allocations: 78.9 MB / 5.535 GB, free: 27.31 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02132/18.93, allocations: 11.08 MB / 5.545 GB, free: 26.86 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01009/18.94, allocations: 5.705 MB / 5.551 GB, free: 24.69 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06568/19, allocations: 27.36 MB / 5.578 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/19, allocations: 115.2 kB / 5.578 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008822/19.01, allocations: 0.5373 MB / 5.578 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=644): time 6.034e-05/19.01, allocations: 0 / 5.578 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of matching and sorting (n=644): time 0.02725/19.04, allocations: 10.57 MB / 5.589 GB, free: 3.531 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.912e-05/19.04, allocations: 124.4 kB / 5.589 GB, free: 3.395 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6982/19.74, allocations: 11.38 MB / 5.6 GB, free: 74.62 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.00237/19.74, allocations: 31.33 kB / 5.6 GB, free: 74.59 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.009522/19.75, allocations: 7.1 MB / 5.607 GB, free: 73.25 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.003926/19.75, allocations: 2.189 MB / 5.609 GB, free: 71.99 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001793/19.76, allocations: 0.9375 kB / 5.609 GB, free: 71.99 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0009969/19.76, allocations: 0.768 MB / 5.61 GB, free: 71.66 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009246/19.77, allocations: 5.269 MB / 5.615 GB, free: 71.64 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0133/19.78, allocations: 9.178 MB / 5.624 GB, free: 66.95 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02403/19.8, allocations: 9.397 MB / 5.633 GB, free: 66.86 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003636/19.8, allocations: 37.03 kB / 5.633 GB, free: 66.86 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1465) (initialization): time 0.05335/19.86, allocations: 18.9 MB / 5.651 GB, free: 65.95 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.02204/19.88, allocations: 68.86 MB / 5.719 GB, free: 26.43 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006164/19.88, allocations: 126.5 kB / 5.719 GB, free: 26.43 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01287/19.89, allocations: 4.032 MB / 5.723 GB, free: 26.29 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01268/19.91, allocations: 2.638 MB / 5.725 GB, free: 26.29 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02634/19.93, allocations: 20.84 MB / 5.746 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01772/19.95, allocations: 0.8134 MB / 5.746 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003876/19.95, allocations: 0.546 MB / 5.747 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/19.95, allocations: 7.156 kB / 5.747 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0475/20, allocations: 17.66 MB / 5.764 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006349/20, allocations: 126.1 kB / 5.764 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01237/20.01, allocations: 4.037 MB / 5.768 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01041/20.02, allocations: 2.364 MB / 5.771 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02022/20.04, allocations: 18.82 MB / 5.789 GB, free: 19.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01452/20.06, allocations: 0.7564 MB / 5.79 GB, free: 19.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003333/20.06, allocations: 0.5486 MB / 5.79 GB, free: 19.47 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1231): * Single equations (assignments): 1213 * 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.004532/20.07, allocations: 451.6 kB / 5.791 GB, free: 19.12 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02371/20.09, allocations: 10.47 MB / 5.801 GB, free: 18.14 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004811/20.1, allocations: 1.076 MB / 5.802 GB, free: 17.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0269/20.12, allocations: 11.41 MB / 5.813 GB, free: 16.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-05/20.12, allocations: 62.78 kB / 5.813 GB, free: 16.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.304e-05/20.12, allocations: 6.781 kB / 5.813 GB, free: 16.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02367/20.15, allocations: 9.659 MB / 5.823 GB, free: 16.37 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07152/20.22, allocations: 23.68 MB / 5.846 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.215e-05/20.22, allocations: 10.47 kB / 5.846 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008099/20.23, allocations: 1.375 MB / 5.847 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007587/20.23, allocations: 2.461 MB / 5.85 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001641/20.24, allocations: 93.33 kB / 5.85 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02377/20.26, allocations: 20.83 MB / 5.87 GB, free: 16.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.671e-05/20.26, allocations: 14.47 kB / 5.87 GB, free: 16.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0386/20.3, allocations: 20.32 MB / 5.89 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01053/20.31, allocations: 2.615 MB / 5.892 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005774/20.31, allocations: 45.88 kB / 5.892 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01278/20.33, allocations: 0.6047 MB / 5.893 GB, free: 6.781 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002166/20.33, allocations: 439.4 kB / 5.893 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001908/20.33, allocations: 255 kB / 5.894 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.01708/20.35, allocations: 7.864 MB / 5.901 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3e-07/20.35, allocations: 0 / 5.901 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.04546/20.39, allocations: 7.344 MB / 5.909 GB, free: 1.168 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (552): * Single equations (assignments): 530 * 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.7756/21.17, allocations: 23.78 MB / 5.932 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.04666/21.22, allocations: 20.56 MB / 5.952 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-05/21.22, allocations: 6.906 kB / 5.952 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01303/21.23, allocations: 5.168 MB / 5.957 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03041/21.26, allocations: 5.305 MB / 5.962 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08754/21.35, allocations: 31.13 MB / 5.992 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02079/21.37, allocations: 10.11 MB / 6.002 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.03618/21.4, allocations: 8.433 MB / 6.011 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01463/21.42, allocations: 6.069 MB / 6.016 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.382e-06/21.42, allocations: 0.7656 kB / 6.016 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.275/22.69, allocations: 365.2 MB / 6.373 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/22.69, allocations: 195.3 kB / 6.373 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.51/42.21, allocations: 0 / 6.373 GB, free: 109.6 MB / 0.8542 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)