Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading",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.001414/0.001414, allocations: 174.4 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.7459/0.7459, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.639/1.639, allocations: 221.3 MB / 400.4 MB, free: 5.766 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.001186/0.001186, allocations: 97.98 kB / 483.3 MB, free: 5.801 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.011e-05/6.063e-05, allocations: 2.625 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2311, allocations: 82.31 MB / 0.6405 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.717/1.948, allocations: 381.1 MB / 1.013 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/1.949, allocations: 95.03 kB / 1.013 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.637/11.59, allocations: 2.227 GB / 3.239 GB, free: 79.95 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.815e-06/11.59, allocations: 0.75 kB / 3.239 GB, free: 79.95 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001377/11.59, allocations: 198.3 kB / 3.24 GB, free: 79.91 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02392/11.61, allocations: 6.157 MB / 3.246 GB, free: 77.55 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/11.61, allocations: 6.875 kB / 3.246 GB, free: 77.55 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004327/11.62, allocations: 0.8386 MB / 3.246 GB, free: 77.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006246/11.62, allocations: 0.8468 MB / 3.247 GB, free: 77.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0237/11.65, allocations: 7.929 MB / 3.255 GB, free: 76.22 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006196/11.65, allocations: 455.1 kB / 3.255 GB, free: 76.21 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003023/11.65, allocations: 0.6004 MB / 3.256 GB, free: 76.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02544/11.67, allocations: 8.316 MB / 3.264 GB, free: 74.74 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004084/11.68, allocations: 25.34 kB / 3.264 GB, free: 74.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00236/11.68, allocations: 266.1 kB / 3.264 GB, free: 74.54 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002697/11.68, allocations: 236.8 kB / 3.265 GB, free: 74.52 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01672/11.69, allocations: 6.728 MB / 3.271 GB, free: 72.1 MB / 0.7136 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.05769/11.75, allocations: 34.23 MB / 3.305 GB, free: 49.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006862/11.76, allocations: 4.178 MB / 3.309 GB, free: 48.46 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005009/11.76, allocations: 3.459 MB / 3.312 GB, free: 45.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/11.77, allocations: 0.9578 MB / 3.313 GB, free: 44.55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004308/11.77, allocations: 2.287 MB / 3.315 GB, free: 42.69 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00432/11.77, allocations: 486.3 kB / 3.316 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=317): time 1.825e-05/11.77, allocations: 0 / 3.316 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=317): time 0.008757/11.78, allocations: 4.527 MB / 3.32 GB, free: 37.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/11.78, allocations: 85.91 kB / 3.32 GB, free: 37.54 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01215/11.8, allocations: 5.222 MB / 3.325 GB, free: 32.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0009143/11.8, allocations: 85.7 kB / 3.325 GB, free: 32.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.004035/11.8, allocations: 3.186 MB / 3.329 GB, free: 29.05 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00199/11.8, allocations: 1.115 MB / 3.33 GB, free: 27.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008117/11.8, allocations: 88 kB / 3.33 GB, free: 27.86 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0005392/11.8, allocations: 487.6 kB / 3.33 GB, free: 27.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004019/11.81, allocations: 2.051 MB / 3.332 GB, free: 25.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00569/11.81, allocations: 3.583 MB / 3.336 GB, free: 21.03 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004832/11.82, allocations: 2.831 MB / 3.338 GB, free: 18.17 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-05/11.82, allocations: 16 kB / 3.338 GB, free: 18.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0125/11.83, allocations: 6.545 MB / 3.345 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.345e-05/11.83, allocations: 57.69 kB / 3.345 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.431e-05/11.83, allocations: 52 kB / 3.345 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/11.83, allocations: 426.6 kB / 3.345 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003766/11.84, allocations: 1.037 MB / 3.346 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00492/11.84, allocations: 5.309 MB / 3.352 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006777/11.85, allocations: 478.7 kB / 3.352 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007548/11.85, allocations: 216 kB / 3.352 GB, free: 3.738 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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.001426/11.85, allocations: 391.4 kB / 3.353 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002135/11.85, allocations: 0.5249 MB / 3.353 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.645/12.5, allocations: 5.087 MB / 3.358 GB, free: 82.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.881e-05/12.5, allocations: 30.91 kB / 3.358 GB, free: 82.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/12.5, allocations: 4.469 kB / 3.358 GB, free: 82.84 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00766/12.5, allocations: 4.354 MB / 3.362 GB, free: 82.39 MB / 0.7136 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 postOpt removeSimpleEquations (simulation): time 0.02779/12.53, allocations: 11.84 MB / 3.374 GB, free: 81.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/12.53, allocations: 2.562 kB / 3.374 GB, free: 81.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002943/12.54, allocations: 0.621 MB / 3.375 GB, free: 81.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009477/12.54, allocations: 367.2 kB / 3.375 GB, free: 81.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002684/12.54, allocations: 82.67 kB / 3.375 GB, free: 81.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005768/12.54, allocations: 5.2 MB / 3.38 GB, free: 78.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/12.54, allocations: 6.75 kB / 3.38 GB, free: 78.95 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01379/12.56, allocations: 7.545 MB / 3.387 GB, free: 78.44 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00463/12.56, allocations: 1.269 MB / 3.389 GB, free: 78.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001519/12.56, allocations: 60.97 kB / 3.389 GB, free: 78.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00426/12.57, allocations: 412.2 kB / 3.389 GB, free: 78.17 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004369/12.57, allocations: 204.8 kB / 3.389 GB, free: 78.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000316/12.57, allocations: 143.7 kB / 3.389 GB, free: 78.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.007429/12.58, allocations: 4.05 MB / 3.393 GB, free: 77.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.52e-07/12.58, allocations: 2.75 kB / 3.393 GB, free: 77.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01267/12.59, allocations: 2.063 MB / 3.395 GB, free: 77.83 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.01816/12.61, allocations: 8.997 MB / 3.404 GB, free: 76.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.008695/12.61, allocations: 5.198 MB / 3.409 GB, free: 75.94 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/12.61, allocations: 1.344 kB / 3.409 GB, free: 75.94 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003944/12.62, allocations: 2.423 MB / 3.412 GB, free: 75.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01826/12.64, allocations: 3.173 MB / 3.415 GB, free: 75.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04227/12.68, allocations: 13.72 MB / 3.428 GB, free: 73.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01059/12.69, allocations: 4.755 MB / 3.433 GB, free: 88.57 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.01168/12.7, allocations: 2.103 MB / 3.435 GB, free: 88.52 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007577/12.71, allocations: 2.681 MB / 3.437 GB, free: 88.51 MB / 0.7292 GB Notification: Performance of SimCode: time 2.314e-06/12.71, allocations: 3.969 kB / 3.437 GB, free: 88.51 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3049/13.01, allocations: 176.8 MB / 3.61 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/13.01, allocations: 212 kB / 3.61 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.548/21.56, allocations: 0 / 3.61 GB, free: 0.5117 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)