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.001715/0.001715, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5299/0.5299, allocations: 90.91 MB / 99.34 MB, free: 2.18 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 221.5 MB / 343.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009024/0.0009023, allocations: 91.94 kB / 415.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.733e-05/1.735e-05, allocations: 0 / 494.6 MB, free: 52.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.125, allocations: 72.31 MB / 0.5536 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.061/1.186, allocations: 384 MB / 0.9286 GB, free: 96.98 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/1.186, allocations: 88.89 kB / 0.9287 GB, free: 96.94 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 18.85/20.04, allocations: 4.677 GB / 5.606 GB, free: 38.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.056e-06/20.04, allocations: 0 / 5.606 GB, free: 38.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.003384/20.04, allocations: 415.8 kB / 5.606 GB, free: 38.21 MB / 0.7292 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.05278/20.1, allocations: 13.69 MB / 5.62 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/20.1, allocations: 15.94 kB / 5.62 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01618/20.11, allocations: 1.885 MB / 5.622 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06242/20.18, allocations: 18.14 MB / 5.639 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001109/20.18, allocations: 406.7 kB / 5.64 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007437/20.18, allocations: 0.7656 MB / 5.64 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05238/20.24, allocations: 14.46 MB / 5.655 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08185/20.32, allocations: 16.14 MB / 5.67 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001221/20.32, allocations: 39.66 kB / 5.67 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006889/20.33, allocations: 22.19 kB / 5.67 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005126/20.33, allocations: 355.9 kB / 5.671 GB, free: 28.37 MB / 0.7292 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.1518/20.48, allocations: 78.55 MB / 5.747 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01865/20.5, allocations: 11.3 MB / 5.758 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009966/20.51, allocations: 5.809 MB / 5.764 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07777/20.59, allocations: 28.45 MB / 5.792 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/20.59, allocations: 118.6 kB / 5.792 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009599/20.6, allocations: 0.5591 MB / 5.793 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=651): time 5.718e-05/20.6, allocations: 0 / 5.793 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=651): time 0.03293/20.63, allocations: 10.48 MB / 5.803 GB, free: 7.238 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.74e-05/20.63, allocations: 122.9 kB / 5.803 GB, free: 7.164 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7746/21.4, allocations: 10.87 MB / 5.814 GB, free: 66.66 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.003305/21.41, allocations: 33.22 kB / 5.814 GB, free: 66.63 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.01458/21.42, allocations: 7.136 MB / 5.821 GB, free: 65.32 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.005214/21.43, allocations: 2.206 MB / 5.823 GB, free: 63.92 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003156/21.43, allocations: 0.6562 kB / 5.823 GB, free: 63.92 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.001886/21.43, allocations: 0.7723 MB / 5.823 GB, free: 63.59 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01378/21.45, allocations: 5.36 MB / 5.829 GB, free: 63.57 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02086/21.47, allocations: 9.158 MB / 5.838 GB, free: 59.02 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02645/21.49, allocations: 9.475 MB / 5.847 GB, free: 58.93 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004568/21.49, allocations: 36 kB / 5.847 GB, free: 58.93 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.05963/21.55, allocations: 19.11 MB / 5.866 GB, free: 58.01 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.02124/21.57, allocations: 67.2 MB / 5.931 GB, free: 20.76 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007231/21.57, allocations: 121.6 kB / 5.931 GB, free: 20.76 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01304/21.59, allocations: 4.036 MB / 5.935 GB, free: 20.62 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01176/21.6, allocations: 2.397 MB / 5.938 GB, free: 20.62 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02331/21.62, allocations: 20.64 MB / 5.958 GB, free: 24.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01808/21.64, allocations: 0.8662 MB / 5.959 GB, free: 24.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004352/21.65, allocations: 0.54 MB / 5.959 GB, free: 24.62 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/21.65, allocations: 5.812 kB / 5.959 GB, free: 24.62 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05311/21.7, allocations: 17.89 MB / 5.977 GB, free: 24.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001152/21.7, allocations: 126.7 kB / 5.977 GB, free: 24.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0142/21.71, allocations: 4.054 MB / 5.981 GB, free: 23.92 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01191/21.73, allocations: 2.375 MB / 5.983 GB, free: 23.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02294/21.75, allocations: 18.83 MB / 6.001 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01739/21.77, allocations: 0.8235 MB / 6.002 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004351/21.77, allocations: 0.5388 MB / 6.003 GB, free: 13.42 MB / 0.8073 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.006325/21.78, allocations: 446.3 kB / 6.003 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0285/21.81, allocations: 10.44 MB / 6.013 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006357/21.81, allocations: 1.103 MB / 6.014 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02984/21.84, allocations: 11.45 MB / 6.026 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.111e-05/21.84, allocations: 71.8 kB / 6.026 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-05/21.84, allocations: 5.906 kB / 6.026 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0222/21.86, allocations: 9.647 MB / 6.035 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07679/21.94, allocations: 24.34 MB / 6.059 GB, free: 9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-05/21.94, allocations: 14.09 kB / 6.059 GB, free: 9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005863/21.95, allocations: 1.131 MB / 6.06 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00772/21.95, allocations: 2.475 MB / 6.062 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002007/21.96, allocations: 101.3 kB / 6.063 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01847/21.98, allocations: 17.93 MB / 6.08 GB, free: 12.88 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-05/21.98, allocations: 26.75 kB / 6.08 GB, free: 12.88 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04714/22.02, allocations: 21.03 MB / 6.101 GB, free: 3.027 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01451/22.04, allocations: 2.725 MB / 6.103 GB, free: 1.555 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007355/22.04, allocations: 43.62 kB / 6.103 GB, free: 1.547 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0155/22.06, allocations: 0.6319 MB / 6.104 GB, free: 1.477 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002524/22.06, allocations: 449.1 kB / 6.104 GB, free: 1.387 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002449/22.07, allocations: 291.1 kB / 6.105 GB, free: 1.332 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.8595/22.92, allocations: 8.378 MB / 6.113 GB, free: 120.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.12e-07/22.92, allocations: 0 / 6.113 GB, free: 120.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.05451/22.98, allocations: 7.538 MB / 6.12 GB, free: 120.3 MB / 0.823 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.05185/23.03, allocations: 24.51 MB / 6.144 GB, free: 113.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.05274/23.08, allocations: 20.62 MB / 6.164 GB, free: 112.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.993e-05/23.08, allocations: 7.219 kB / 6.164 GB, free: 112.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0136/23.1, allocations: 4.963 MB / 6.169 GB, free: 112 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03888/23.14, allocations: 5.355 MB / 6.174 GB, free: 111.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1144/23.25, allocations: 31.5 MB / 6.205 GB, free: 106.2 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02375/23.28, allocations: 10.2 MB / 6.215 GB, free: 104.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.04125/23.32, allocations: 8.522 MB / 6.223 GB, free: 104.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01611/23.33, allocations: 6.111 MB / 6.229 GB, free: 104.3 MB / 0.823 GB Notification: Performance of SimCode: time 3.116e-06/23.33, allocations: 0 / 6.229 GB, free: 104.3 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.401/24.73, allocations: 370.8 MB / 6.591 GB, free: 90.13 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/24.73, allocations: 176.1 kB / 6.592 GB, free: 89.94 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.92/45.66, allocations: 0 / 6.592 GB, free: 89.94 MB / 0.823 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)