Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="IDEAS_IDEAS_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.001155/0.001155, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8364/0.8364, allocations: 133.6 MB / 141.6 MB, free: 2.879 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.757/1.757, allocations: 221.5 MB / 395.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008972/0.0008972, allocations: 95.25 kB / 478.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.307e-05/2.267e-05, allocations: 4 kB / 0.5535 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5413/0.5414, allocations: 82.3 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9711/1.512, allocations: 393.7 MB / 1.018 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/1.513, allocations: 93.25 kB / 1.018 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 20.98/22.49, allocations: 4.667 GB / 5.686 GB, free: 48.77 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.356e-06/22.49, allocations: 1.641 kB / 5.686 GB, free: 48.77 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.003762/22.49, allocations: 411.5 kB / 5.686 GB, free: 48.71 MB / 0.8073 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.06106/22.55, allocations: 13.7 MB / 5.7 GB, free: 43.78 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.341e-05/22.55, allocations: 9.094 kB / 5.7 GB, free: 43.78 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01536/22.57, allocations: 1.883 MB / 5.701 GB, free: 42.88 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05942/22.63, allocations: 18.16 MB / 5.719 GB, free: 41.13 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001179/22.63, allocations: 404.3 kB / 5.72 GB, free: 41.13 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007708/22.64, allocations: 0.7602 MB / 5.72 GB, free: 41.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04755/22.69, allocations: 14.46 MB / 5.734 GB, free: 41.07 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06427/22.75, allocations: 16.13 MB / 5.75 GB, free: 38.86 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001161/22.75, allocations: 43.5 kB / 5.75 GB, free: 38.86 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006661/22.76, allocations: 25.91 kB / 5.75 GB, free: 38.86 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004501/22.76, allocations: 356.5 kB / 5.751 GB, free: 38.85 MB / 0.8073 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.1692/22.93, allocations: 78.56 MB / 5.827 GB, free: 16.55 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02316/22.95, allocations: 11.29 MB / 5.838 GB, free: 11.85 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01111/22.96, allocations: 5.817 MB / 5.844 GB, free: 9.656 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8389/23.8, allocations: 28.3 MB / 5.872 GB, free: 77.82 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/23.8, allocations: 119.7 kB / 5.872 GB, free: 77.77 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01131/23.81, allocations: 0.5555 MB / 5.872 GB, free: 77.77 MB / 0.823 GB Notification: Performance of pre-optimization done (n=651): time 7.505e-05/23.81, allocations: 0 / 5.872 GB, free: 77.77 MB / 0.823 GB Notification: Performance of matching and sorting (n=651): time 0.03624/23.85, allocations: 10.48 MB / 5.883 GB, free: 77.41 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/23.85, allocations: 121.4 kB / 5.883 GB, free: 77.34 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03331/23.88, allocations: 10.83 MB / 5.893 GB, free: 76.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.003495/23.89, allocations: 33.52 kB / 5.893 GB, free: 76.67 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.01236/23.9, allocations: 7.142 MB / 5.9 GB, free: 74.47 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.005559/23.9, allocations: 2.201 MB / 5.902 GB, free: 73.04 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003121/23.91, allocations: 0 / 5.902 GB, free: 73.04 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.002034/23.91, allocations: 0.7743 MB / 5.903 GB, free: 72.71 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01194/23.92, allocations: 5.355 MB / 5.908 GB, free: 72.68 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01678/23.94, allocations: 9.164 MB / 5.917 GB, free: 68.13 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02667/23.97, allocations: 9.473 MB / 5.927 GB, free: 68.04 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004765/23.97, allocations: 35.12 kB / 5.927 GB, free: 68.04 MB / 0.823 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.06262/24.03, allocations: 19.11 MB / 5.945 GB, free: 67.11 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.02532/24.05, allocations: 67.19 MB / 6.011 GB, free: 29.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007225/24.05, allocations: 123.2 kB / 6.011 GB, free: 29.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01427/24.07, allocations: 4.038 MB / 6.015 GB, free: 29.72 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01175/24.08, allocations: 2.402 MB / 6.017 GB, free: 29.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02354/24.1, allocations: 20.63 MB / 6.037 GB, free: 17.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01573/24.12, allocations: 0.8668 MB / 6.038 GB, free: 17.72 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00338/24.12, allocations: 0.5397 MB / 6.039 GB, free: 17.72 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/24.12, allocations: 5.5 kB / 6.039 GB, free: 17.72 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04887/24.17, allocations: 17.9 MB / 6.056 GB, free: 17.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007057/24.17, allocations: 121.7 kB / 6.056 GB, free: 17.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01284/24.19, allocations: 4.051 MB / 6.06 GB, free: 17.24 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01085/24.2, allocations: 2.374 MB / 6.063 GB, free: 17.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02234/24.22, allocations: 18.83 MB / 6.081 GB, free: 22.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01546/24.23, allocations: 0.8193 MB / 6.082 GB, free: 22.75 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003672/24.24, allocations: 0.5338 MB / 6.082 GB, free: 22.75 MB / 0.8698 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.006077/24.24, allocations: 458.9 kB / 6.083 GB, free: 22.39 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02917/24.27, allocations: 10.43 MB / 6.093 GB, free: 21.42 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005366/24.28, allocations: 1.107 MB / 6.094 GB, free: 20.83 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03434/24.31, allocations: 11.45 MB / 6.105 GB, free: 20.25 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001185/24.31, allocations: 66.09 kB / 6.105 GB, free: 20.25 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.056e-05/24.31, allocations: 3.75 kB / 6.105 GB, free: 20.25 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02396/24.34, allocations: 9.654 MB / 6.115 GB, free: 19.64 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07623/24.41, allocations: 24.32 MB / 6.139 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.448e-05/24.41, allocations: 15.22 kB / 6.139 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006118/24.42, allocations: 1.127 MB / 6.14 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008063/24.43, allocations: 2.484 MB / 6.142 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002386/24.43, allocations: 93.3 kB / 6.142 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01902/24.45, allocations: 17.93 MB / 6.16 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-05/24.45, allocations: 24.69 kB / 6.16 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8064/25.26, allocations: 21.51 MB / 6.181 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01315/25.27, allocations: 2.724 MB / 6.183 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00534/25.27, allocations: 48.38 kB / 6.183 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01261/25.29, allocations: 0.631 MB / 6.184 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002543/25.29, allocations: 442.5 kB / 6.185 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002022/25.29, allocations: 295 kB / 6.185 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0205/25.31, allocations: 8.097 MB / 6.193 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.51e-07/25.31, allocations: 0.6875 kB / 6.193 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.04732/25.36, allocations: 7.535 MB / 6.2 GB, free: 127 MB / 0.8855 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.04608/25.41, allocations: 24.51 MB / 6.224 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.04229/25.45, allocations: 20.63 MB / 6.244 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.707e-05/25.45, allocations: 6.719 kB / 6.244 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01187/25.46, allocations: 4.963 MB / 6.249 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03228/25.49, allocations: 5.35 MB / 6.254 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1058/25.6, allocations: 31.5 MB / 6.285 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02711/25.63, allocations: 10.2 MB / 6.295 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0379/25.66, allocations: 8.51 MB / 6.303 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01933/25.68, allocations: 6.112 MB / 6.309 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.493e-06/25.68, allocations: 0 / 6.309 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.271/26.95, allocations: 370.8 MB / 6.671 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/26.95, allocations: 171 kB / 6.672 GB, free: 116 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.96/48.91, allocations: 4 kB / 6.672 GB, free: 116 MB / 0.8855 GB (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Examples_StratifiedEnhancedInternalHex_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.fmu > IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)