Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial",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.001694/0.001694, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7873/0.7873, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.655/1.655, allocations: 221.3 MB / 400.4 MB, free: 5.852 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009541/0.0009542, allocations: 91.88 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.176e-05/4.181e-05, allocations: 2.188 kB / 0.5601 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2004, allocations: 82.31 MB / 0.6405 GB, free: 7.77 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.612/1.812, allocations: 378.5 MB / 1.01 GB, free: 243.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/1.813, allocations: 89.27 kB / 1.01 GB, free: 243.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.423/11.24, allocations: 2.11 GB / 3.121 GB, free: 77.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.665e-06/11.24, allocations: 0 / 3.121 GB, free: 77.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.00141/11.24, allocations: 180.5 kB / 3.121 GB, free: 77.74 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.02596/11.26, allocations: 5.528 MB / 3.126 GB, free: 75.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.752e-05/11.26, allocations: 13.47 kB / 3.126 GB, free: 75.91 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002887/11.27, allocations: 0.7628 MB / 3.127 GB, free: 75.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004537/11.27, allocations: 0.7742 MB / 3.128 GB, free: 75.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02257/11.29, allocations: 7.481 MB / 3.135 GB, free: 74.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007052/11.29, allocations: 416.5 kB / 3.135 GB, free: 74.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00283/11.3, allocations: 0.5396 MB / 3.136 GB, free: 74.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02596/11.32, allocations: 7.409 MB / 3.143 GB, free: 73.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003809/11.32, allocations: 13.72 kB / 3.143 GB, free: 73.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00196/11.33, allocations: 232.6 kB / 3.143 GB, free: 73.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00026/11.33, allocations: 230 kB / 3.144 GB, free: 73.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0134/11.34, allocations: 5.848 MB / 3.149 GB, free: 73.83 MB / 0.698 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.04999/11.39, allocations: 29.71 MB / 3.178 GB, free: 61.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005823/11.39, allocations: 3.525 MB / 3.182 GB, free: 61.12 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004031/11.4, allocations: 2.984 MB / 3.185 GB, free: 61.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008818/11.4, allocations: 0.8297 MB / 3.186 GB, free: 60.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.794e-05/11.4, allocations: 69.61 kB / 3.186 GB, free: 60.15 MB / 0.698 GB Notification: Performance of pre-optimization done (n=267): time 5.54e-06/11.4, allocations: 3.844 kB / 3.186 GB, free: 60.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=267): time 0.007676/11.41, allocations: 3.652 MB / 3.189 GB, free: 59.76 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/11.41, allocations: 80.61 kB / 3.189 GB, free: 59.69 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01219/11.42, allocations: 4.839 MB / 3.194 GB, free: 59.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007821/11.42, allocations: 79.11 kB / 3.194 GB, free: 59.31 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003457/11.42, allocations: 2.848 MB / 3.197 GB, free: 58.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00162/11.43, allocations: 0.9376 MB / 3.198 GB, free: 57.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005326/11.43, allocations: 71.16 kB / 3.198 GB, free: 57.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000404/11.43, allocations: 467.7 kB / 3.198 GB, free: 57.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002951/11.43, allocations: 1.606 MB / 3.2 GB, free: 57.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003683/11.43, allocations: 2.865 MB / 3.203 GB, free: 55.81 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003738/11.44, allocations: 2.237 MB / 3.205 GB, free: 55.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.873e-05/11.44, allocations: 14.94 kB / 3.205 GB, free: 55.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009712/11.45, allocations: 5.301 MB / 3.21 GB, free: 55.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.191e-05/11.45, allocations: 21.5 kB / 3.21 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.102e-05/11.45, allocations: 42.97 kB / 3.21 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009549/11.45, allocations: 415.1 kB / 3.21 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002874/11.45, allocations: 0.8602 MB / 3.211 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00476/11.46, allocations: 5.305 MB / 3.216 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006413/11.46, allocations: 0.6721 MB / 3.217 GB, free: 52.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005738/11.46, allocations: 184.2 kB / 3.217 GB, free: 52.34 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008996/11.46, allocations: 348.1 kB / 3.218 GB, free: 52.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001442/11.47, allocations: 487.6 kB / 3.218 GB, free: 51.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0072/11.47, allocations: 4.074 MB / 3.222 GB, free: 51.74 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/11.47, allocations: 22.94 kB / 3.222 GB, free: 51.74 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/11.47, allocations: 7.906 kB / 3.222 GB, free: 51.74 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004528/11.48, allocations: 3.538 MB / 3.226 GB, free: 51.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01979/11.5, allocations: 10.19 MB / 3.235 GB, free: 50.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/11.5, allocations: 8.5 kB / 3.235 GB, free: 50.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001964/11.5, allocations: 0.4969 MB / 3.236 GB, free: 50.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007581/11.5, allocations: 371.9 kB / 3.236 GB, free: 50.42 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001842/11.5, allocations: 76.02 kB / 3.236 GB, free: 50.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004654/11.5, allocations: 5.242 MB / 3.242 GB, free: 47.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/11.5, allocations: 6.281 kB / 3.242 GB, free: 47.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009586/11.51, allocations: 6.772 MB / 3.248 GB, free: 44.49 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004673/11.52, allocations: 1.212 MB / 3.249 GB, free: 43.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002281/11.52, allocations: 61.77 kB / 3.249 GB, free: 43.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005298/11.53, allocations: 300.1 kB / 3.25 GB, free: 43.72 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004194/11.53, allocations: 182.5 kB / 3.25 GB, free: 43.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004367/11.53, allocations: 128 kB / 3.25 GB, free: 43.67 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.008167/11.54, allocations: 3.935 MB / 3.254 GB, free: 42.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.91e-07/11.54, allocations: 0 / 3.254 GB, free: 42.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.009809/11.55, allocations: 1.849 MB / 3.256 GB, free: 41.89 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01193/11.56, allocations: 8.775 MB / 3.264 GB, free: 37.13 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006452/11.56, allocations: 4.144 MB / 3.268 GB, free: 35.67 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/11.56, allocations: 3.312 kB / 3.268 GB, free: 35.67 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002945/11.57, allocations: 1.987 MB / 3.27 GB, free: 34.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01927/11.59, allocations: 3.242 MB / 3.273 GB, free: 34.36 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02903/11.62, allocations: 12.53 MB / 3.286 GB, free: 29.82 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005164/11.62, allocations: 4.416 MB / 3.29 GB, free: 43.62 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.007295/11.63, allocations: 1.85 MB / 3.292 GB, free: 42.35 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004832/11.63, allocations: 2.463 MB / 3.294 GB, free: 40.08 MB / 0.7136 GB Notification: Performance of SimCode: time 1.483e-06/11.63, allocations: 1.031 kB / 3.294 GB, free: 40.08 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8816/12.51, allocations: 166.2 MB / 3.456 GB, free: 65.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/12.51, allocations: 209.2 kB / 3.457 GB, free: 65.46 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.264/19.78, allocations: 3.938 kB / 3.457 GB, free: 65.46 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)