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.7298/0.7298, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001225/0.001225, allocations: 187.7 kB / 169.7 MB, free: 1.73 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.6/1.6, allocations: 205.1 MB / 404.5 MB, free: 1.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.0008677/0.0008677, allocations: 87.69 kB / 481.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.093e-05/3.107e-05, allocations: 4 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1485, allocations: 76.76 MB / 0.6282 GB, free: 9.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.153/1.302, allocations: 382.7 MB / 1.002 GB, free: 132.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/1.302, allocations: 92.44 kB / 1.002 GB, free: 132.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 17.86/19.16, allocations: 4.419 GB / 5.421 GB, free: 34.44 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.315e-06/19.16, allocations: 0 / 5.421 GB, free: 34.44 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.003157/19.17, allocations: 400 kB / 5.422 GB, free: 34.38 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.05216/19.22, allocations: 13.59 MB / 5.435 GB, free: 29.4 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/19.22, allocations: 13.02 kB / 5.435 GB, free: 29.4 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009359/19.23, allocations: 1.682 MB / 5.436 GB, free: 29.28 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01323/19.24, allocations: 1.864 MB / 5.438 GB, free: 28.39 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05459/19.29, allocations: 19.31 MB / 5.457 GB, free: 26.26 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001361/19.3, allocations: 0.9747 MB / 5.458 GB, free: 26.23 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006597/19.3, allocations: 1.301 MB / 5.459 GB, free: 26.23 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05602/19.36, allocations: 17.92 MB / 5.477 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001042/19.36, allocations: 50.94 kB / 5.477 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006297/19.37, allocations: 0.5232 MB / 5.477 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003718/19.37, allocations: 355 kB / 5.478 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04241/19.41, allocations: 15.49 MB / 5.493 GB, free: 13.33 MB / 0.7917 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.7255/20.13, allocations: 80.86 MB / 5.572 GB, free: 37.66 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0192/20.15, allocations: 11.73 MB / 5.583 GB, free: 37.27 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009254/20.16, allocations: 5.931 MB / 5.589 GB, free: 37.2 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06298/20.23, allocations: 28.17 MB / 5.617 GB, free: 30.84 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/20.23, allocations: 115.2 kB / 5.617 GB, free: 30.8 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008462/20.23, allocations: 0.7569 MB / 5.617 GB, free: 30.54 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=646): time 2.936e-05/20.23, allocations: 0 / 5.617 GB, free: 30.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=646): time 0.02696/20.26, allocations: 10.26 MB / 5.627 GB, free: 29.56 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.568e-05/20.26, allocations: 120.1 kB / 5.628 GB, free: 29.49 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02592/20.29, allocations: 11.72 MB / 5.639 GB, free: 28.79 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.002367/20.29, allocations: 177.4 kB / 5.639 GB, free: 28.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.008667/20.3, allocations: 7.133 MB / 5.646 GB, free: 26.26 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.003507/20.3, allocations: 2.277 MB / 5.648 GB, free: 24.84 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002349/20.3, allocations: 230.8 kB / 5.649 GB, free: 24.84 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.001499/20.31, allocations: 0.7771 MB / 5.649 GB, free: 24.5 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01045/20.32, allocations: 5.489 MB / 5.655 GB, free: 24.48 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01267/20.33, allocations: 9.461 MB / 5.664 GB, free: 19.76 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0134/20.34, allocations: 7.43 MB / 5.671 GB, free: 19.64 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002553/20.34, allocations: 36.38 kB / 5.671 GB, free: 19.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1465) (initialization): time 0.04247/20.39, allocations: 18.01 MB / 5.689 GB, free: 18.7 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0295/20.42, allocations: 70.82 MB / 5.758 GB, free: 24.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005108/20.42, allocations: 124.4 kB / 5.758 GB, free: 24.97 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09649/20.51, allocations: 11.86 MB / 5.77 GB, free: 24.32 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01266/20.53, allocations: 2.643 MB / 5.772 GB, free: 24.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01996/20.55, allocations: 20.36 MB / 5.792 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01583/20.56, allocations: 1.039 MB / 5.793 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003385/20.56, allocations: 0.5431 MB / 5.794 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/20.56, allocations: 3.062 kB / 5.794 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03689/20.6, allocations: 16.95 MB / 5.81 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004796/20.6, allocations: 127.1 kB / 5.81 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09632/20.7, allocations: 11.87 MB / 5.822 GB, free: 8.746 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01019/20.71, allocations: 2.36 MB / 5.824 GB, free: 8.504 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6253/21.33, allocations: 18.36 MB / 5.842 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01451/21.35, allocations: 0.9819 MB / 5.843 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003227/21.35, allocations: 0.5389 MB / 5.844 GB, free: 143.8 MB / 0.8855 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.003942/21.36, allocations: 0.7749 MB / 5.844 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003794/21.36, allocations: 1.135 MB / 5.846 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02564/21.38, allocations: 11.78 MB / 5.857 GB, free: 143 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.513e-05/21.39, allocations: 64.62 kB / 5.857 GB, free: 143 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.704e-05/21.39, allocations: 6.344 kB / 5.857 GB, free: 143 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01735/21.4, allocations: 9.321 MB / 5.866 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0606/21.46, allocations: 24.94 MB / 5.891 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.689e-05/21.46, allocations: 9.25 kB / 5.891 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008027/21.47, allocations: 1.379 MB / 5.892 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05025/21.52, allocations: 6.398 MB / 5.898 GB, free: 141 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002056/21.52, allocations: 185.1 kB / 5.898 GB, free: 141 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01783/21.54, allocations: 20.86 MB / 5.919 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/21.54, allocations: 13.75 kB / 5.919 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03246/21.57, allocations: 20.36 MB / 5.939 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01004/21.58, allocations: 2.69 MB / 5.941 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005047/21.59, allocations: 151.3 kB / 5.941 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01152/21.6, allocations: 0.7129 MB / 5.942 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001824/21.6, allocations: 441.8 kB / 5.943 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001623/21.6, allocations: 250.9 kB / 5.943 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.02021/21.62, allocations: 8.958 MB / 5.952 GB, free: 120 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.022e-06/21.62, allocations: 0.5938 kB / 5.952 GB, free: 120 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0393/21.66, allocations: 7.716 MB / 5.959 GB, free: 119.4 MB / 0.8855 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.04387/21.71, allocations: 23.72 MB / 5.982 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0474/21.76, allocations: 21.97 MB / 6.004 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-05/21.76, allocations: 3.406 kB / 6.004 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01379/21.77, allocations: 5.509 MB / 6.009 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03295/21.8, allocations: 6.059 MB / 6.015 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08399/21.89, allocations: 32.04 MB / 6.046 GB, free: 104.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01462/21.9, allocations: 10.12 MB / 6.056 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.03205/21.93, allocations: 8.876 MB / 6.065 GB, free: 97.53 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0125/21.95, allocations: 6.055 MB / 6.071 GB, free: 92.46 MB / 0.8855 GB Notification: Performance of SimCode: time 9.82e-07/21.95, allocations: 0 / 6.071 GB, free: 92.46 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.584/24.53, allocations: 413.3 MB / 6.474 GB, free: 108.6 MB / 0.9012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/24.53, allocations: 253.4 kB / 6.475 GB, free: 108.3 MB / 0.9012 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.68/48.21, allocations: 2.031 kB / 6.475 GB, free: 108.3 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)