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.007664/0.007664, allocations: 170.8 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7614/0.7614, allocations: 135.2 MB / 151.1 MB, free: 13.77 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.631/1.631, allocations: 223.2 MB / 406.8 MB, free: 3.133 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.001076/0.001076, allocations: 93.88 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003475, allocations: 8 kB / 0.5691 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4676/0.4679, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9193/1.387, allocations: 381.1 MB / 1.022 GB, free: 8.609 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/1.388, allocations: 102.1 kB / 1.022 GB, free: 8.555 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.923/10.31, allocations: 2.232 GB / 3.254 GB, free: 77.86 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.387e-06/10.31, allocations: 0 / 3.254 GB, free: 77.86 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001248/10.31, allocations: 198 kB / 3.254 GB, free: 77.83 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.02817/10.34, allocations: 7.285 MB / 3.261 GB, free: 75.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/10.34, allocations: 9.625 kB / 3.261 GB, free: 75.32 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004314/10.34, allocations: 0.8445 MB / 3.262 GB, free: 75.25 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005374/10.35, allocations: 0.8505 MB / 3.263 GB, free: 74.85 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02121/10.37, allocations: 7.958 MB / 3.271 GB, free: 74 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004879/10.37, allocations: 460.6 kB / 3.271 GB, free: 73.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002635/10.37, allocations: 0.5939 MB / 3.272 GB, free: 73.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01981/10.39, allocations: 8.451 MB / 3.28 GB, free: 73.02 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001819/10.39, allocations: 19.28 kB / 3.28 GB, free: 73.01 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009879/10.4, allocations: 266.4 kB / 3.28 GB, free: 73.01 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002098/10.4, allocations: 244.5 kB / 3.28 GB, free: 73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01489/10.41, allocations: 6.893 MB / 3.287 GB, free: 72.95 MB / 0.7136 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.06946/10.48, allocations: 34.24 MB / 3.321 GB, free: 58.17 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00821/10.49, allocations: 4.274 MB / 3.325 GB, free: 58.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001362/10.49, allocations: 0.9573 MB / 3.326 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00525/10.49, allocations: 2.354 MB / 3.328 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004796/10.5, allocations: 488.4 kB / 3.329 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=317): time 2.297e-05/10.5, allocations: 0 / 3.329 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=317): time 0.01395/10.51, allocations: 7.074 MB / 3.335 GB, free: 56.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/10.51, allocations: 86.34 kB / 3.336 GB, free: 56.13 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01023/10.52, allocations: 5.268 MB / 3.341 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001185/10.53, allocations: 89.61 kB / 3.341 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.003472/10.53, allocations: 3.182 MB / 3.344 GB, free: 54.51 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001864/10.53, allocations: 1.115 MB / 3.345 GB, free: 53.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002823/10.53, allocations: 87.69 kB / 3.345 GB, free: 53.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002497/10.53, allocations: 488.1 kB / 3.345 GB, free: 53.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003161/10.53, allocations: 2.128 MB / 3.348 GB, free: 53.49 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003814/10.54, allocations: 3.666 MB / 3.351 GB, free: 51.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004039/10.54, allocations: 2.883 MB / 3.354 GB, free: 51.58 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.749e-05/10.54, allocations: 13.81 kB / 3.354 GB, free: 51.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01191/10.55, allocations: 6.708 MB / 3.361 GB, free: 50.99 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/10.55, allocations: 55.27 kB / 3.361 GB, free: 50.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001/10.55, allocations: 47.5 kB / 3.361 GB, free: 50.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/10.56, allocations: 448.4 kB / 3.361 GB, free: 50.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003985/10.56, allocations: 1.026 MB / 3.362 GB, free: 50.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005329/10.56, allocations: 5.405 MB / 3.367 GB, free: 47.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008232/10.57, allocations: 481.2 kB / 3.368 GB, free: 46.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001425/10.57, allocations: 225.8 kB / 3.368 GB, free: 46.86 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 () * Number of clocked 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.007318/10.58, allocations: 2.479 MB / 3.37 GB, free: 45.87 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002609/10.58, allocations: 0.5277 MB / 3.371 GB, free: 45.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/10.6, allocations: 5.233 MB / 3.376 GB, free: 43.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-05/10.6, allocations: 29.22 kB / 3.376 GB, free: 43.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.41e-05/10.6, allocations: 7.625 kB / 3.376 GB, free: 43.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008097/10.61, allocations: 4.492 MB / 3.38 GB, free: 41.72 MB / 0.7136 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 postOpt removeSimpleEquations (simulation): time 0.03472/10.64, allocations: 11.84 MB / 3.392 GB, free: 37.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/10.64, allocations: 0 / 3.392 GB, free: 37.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003297/10.64, allocations: 0.6225 MB / 3.393 GB, free: 37.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009003/10.65, allocations: 362.3 kB / 3.393 GB, free: 37.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007318/10.65, allocations: 87.16 kB / 3.393 GB, free: 36.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005175/10.65, allocations: 5.313 MB / 3.398 GB, free: 33.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/10.65, allocations: 3.812 kB / 3.398 GB, free: 33.12 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01556/10.67, allocations: 7.742 MB / 3.406 GB, free: 29.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005869/10.67, allocations: 1.264 MB / 3.407 GB, free: 29.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002614/10.68, allocations: 69.66 kB / 3.407 GB, free: 29.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006376/10.68, allocations: 407.9 kB / 3.408 GB, free: 29.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008866/10.68, allocations: 200.5 kB / 3.408 GB, free: 29.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008377/10.68, allocations: 143.5 kB / 3.408 GB, free: 29.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.01114/10.7, allocations: 4.1 MB / 3.412 GB, free: 26.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.51e-07/10.7, allocations: 2.156 kB / 3.412 GB, free: 26.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01165/10.71, allocations: 2.059 MB / 3.414 GB, free: 24.91 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) * Number of clocked states: 0 () * 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.01924/10.73, allocations: 9.229 MB / 3.423 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009742/10.74, allocations: 5.356 MB / 3.428 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/10.74, allocations: 0 / 3.428 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.004483/10.74, allocations: 2.501 MB / 3.431 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01797/10.76, allocations: 3.167 MB / 3.434 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7129/11.47, allocations: 84.83 MB / 3.516 GB, free: 73.33 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009531/11.48, allocations: 4.752 MB / 3.521 GB, free: 72.47 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.01277/11.49, allocations: 2.146 MB / 3.523 GB, free: 72.42 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01103/11.51, allocations: 2.671 MB / 3.526 GB, free: 72.42 MB / 0.7448 GB Notification: Performance of SimCode: time 2.625e-06/11.51, allocations: 0 / 3.526 GB, free: 72.42 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.29/11.8, allocations: 176 MB / 3.698 GB, free: 20.23 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/11.8, allocations: 239.9 kB / 3.698 GB, free: 19.99 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.248/20.04, allocations: 0 / 3.698 GB, free: 19.99 MB / 0.7448 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)