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.01539/0.01539, allocations: 171.2 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.314/1.314, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.82/2.82, allocations: 223.2 MB / 406.8 MB, free: 3.25 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.001604/0.001604, allocations: 100.6 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007376/0.0007381, allocations: 12 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9709/0.9717, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.55/2.521, allocations: 378.5 MB / 1.019 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000383/2.522, allocations: 94.12 kB / 1.019 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 15.79/18.31, allocations: 2.116 GB / 3.135 GB, free: 3.473 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.572e-06/18.31, allocations: 3.938 kB / 3.135 GB, free: 3.469 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.00259/18.32, allocations: 175.6 kB / 3.135 GB, free: 3.301 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 1.174/19.49, allocations: 6.572 MB / 3.141 GB, free: 72.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 0.000109/19.49, allocations: 9.312 kB / 3.141 GB, free: 72.92 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008623/19.5, allocations: 0.7675 MB / 3.142 GB, free: 72.85 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01223/19.51, allocations: 0.7857 MB / 3.143 GB, free: 72.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04287/19.56, allocations: 7.517 MB / 3.15 GB, free: 71.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00124/19.56, allocations: 412.9 kB / 3.151 GB, free: 71.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005036/19.56, allocations: 0.5402 MB / 3.151 GB, free: 71.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05739/19.62, allocations: 7.503 MB / 3.159 GB, free: 71.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008146/19.62, allocations: 26.53 kB / 3.159 GB, free: 71.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004453/19.62, allocations: 235.8 kB / 3.159 GB, free: 71.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005/19.62, allocations: 216.7 kB / 3.159 GB, free: 71.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03333/19.66, allocations: 5.968 MB / 3.165 GB, free: 71.12 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.1426/19.8, allocations: 29.69 MB / 3.194 GB, free: 58.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/19.81, allocations: 3.584 MB / 3.197 GB, free: 58.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/19.81, allocations: 0.824 MB / 3.198 GB, free: 57.63 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00011/19.81, allocations: 74.61 kB / 3.198 GB, free: 57.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=267): time 8.736e-06/19.81, allocations: 0 / 3.198 GB, free: 57.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=267): time 0.01758/19.83, allocations: 5.746 MB / 3.204 GB, free: 56.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.028e-05/19.83, allocations: 81.02 kB / 3.204 GB, free: 56.92 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01697/19.85, allocations: 4.89 MB / 3.209 GB, free: 56.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.00156/19.85, allocations: 81.86 kB / 3.209 GB, free: 56.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004478/19.85, allocations: 2.848 MB / 3.212 GB, free: 55.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003039/19.86, allocations: 0.9368 MB / 3.212 GB, free: 54.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003757/19.86, allocations: 72.03 kB / 3.213 GB, free: 54.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0004776/19.86, allocations: 466.8 kB / 3.213 GB, free: 54.54 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00417/19.86, allocations: 1.66 MB / 3.215 GB, free: 54.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005335/19.87, allocations: 2.916 MB / 3.217 GB, free: 53.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005395/19.87, allocations: 2.274 MB / 3.22 GB, free: 53.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.924e-05/19.87, allocations: 17.7 kB / 3.22 GB, free: 53.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01745/19.89, allocations: 5.401 MB / 3.225 GB, free: 52.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001226/19.89, allocations: 25.97 kB / 3.225 GB, free: 52.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001439/19.89, allocations: 37.53 kB / 3.225 GB, free: 52.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/19.89, allocations: 426.9 kB / 3.225 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005704/19.9, allocations: 0.8559 MB / 3.226 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00903/19.91, allocations: 5.407 MB / 3.232 GB, free: 49.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01251/19.92, allocations: 0.6813 MB / 3.232 GB, free: 49.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00211/19.92, allocations: 179.6 kB / 3.232 GB, free: 49.61 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 () * Number of clocked 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.01186/19.93, allocations: 2.283 MB / 3.235 GB, free: 49.47 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004194/19.94, allocations: 490.5 kB / 3.235 GB, free: 49.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01476/19.95, allocations: 4.175 MB / 3.239 GB, free: 49 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.279e-05/19.95, allocations: 24.75 kB / 3.239 GB, free: 49 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.125e-05/19.95, allocations: 7.156 kB / 3.239 GB, free: 49 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009426/19.96, allocations: 3.618 MB / 3.243 GB, free: 48.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04542/20.01, allocations: 10.04 MB / 3.252 GB, free: 47.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.529e-05/20.01, allocations: 3.781 kB / 3.253 GB, free: 47.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003489/20.01, allocations: 0.4986 MB / 3.253 GB, free: 47.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001336/20.01, allocations: 370.1 kB / 3.253 GB, free: 47.72 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005199/20.01, allocations: 77.61 kB / 3.253 GB, free: 47.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009211/20.02, allocations: 5.35 MB / 3.259 GB, free: 44.97 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.346e-05/20.02, allocations: 6.75 kB / 3.259 GB, free: 44.97 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02536/20.05, allocations: 6.884 MB / 3.265 GB, free: 43.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009214/20.06, allocations: 1.219 MB / 3.267 GB, free: 43.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004558/20.06, allocations: 62.89 kB / 3.267 GB, free: 43.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01263/20.07, allocations: 315 kB / 3.267 GB, free: 43.06 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001598/20.08, allocations: 170.8 kB / 3.267 GB, free: 43.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001083/20.08, allocations: 130.6 kB / 3.267 GB, free: 43.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.01666/20.09, allocations: 3.983 MB / 3.271 GB, free: 42.87 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.72e-07/20.09, allocations: 0 / 3.271 GB, free: 42.87 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01668/20.11, allocations: 1.851 MB / 3.273 GB, free: 42.64 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 () * Number of clocked 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.02178/20.13, allocations: 8.908 MB / 3.282 GB, free: 39.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.014/20.15, allocations: 4.251 MB / 3.286 GB, free: 38.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.535e-05/20.15, allocations: 5.469 kB / 3.286 GB, free: 38.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.007696/20.15, allocations: 2.035 MB / 3.288 GB, free: 38.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03185/20.19, allocations: 3.236 MB / 3.291 GB, free: 37.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2711/20.46, allocations: 73.5 MB / 3.363 GB, free: 16.02 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01156/20.47, allocations: 4.412 MB / 3.367 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.01349/20.48, allocations: 1.896 MB / 3.369 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01044/20.49, allocations: 2.459 MB / 3.371 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of SimCode: time 2.885e-06/20.49, allocations: 0 / 3.371 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.503/22, allocations: 165.8 MB / 3.533 GB, free: 103.6 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003136/22, allocations: 252.5 kB / 3.533 GB, free: 103.3 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/35.91, allocations: 0 / 3.533 GB, free: 103.3 MB / 0.7448 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)