Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_dev_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.01618/0.01618, allocations: 169 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.509/1.509, allocations: 135.2 MB / 151 MB, free: 13.81 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.942/2.942, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.002129/0.002129, allocations: 94.33 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007033/0.0007034, allocations: 11.98 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.041, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.772/2.813, allocations: 381.1 MB / 1.022 GB, free: 8.645 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004966/2.813, allocations: 94.2 kB / 1.022 GB, free: 8.594 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 17.2/20.01, allocations: 2.232 GB / 3.254 GB, free: 77.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.479e-06/20.01, allocations: 3.938 kB / 3.254 GB, free: 77.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.002119/20.01, allocations: 195.8 kB / 3.254 GB, free: 77.77 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.05516/20.07, allocations: 7.281 MB / 3.261 GB, free: 75.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001167/20.07, allocations: 11.47 kB / 3.261 GB, free: 75.27 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009167/20.08, allocations: 0.8436 MB / 3.262 GB, free: 75.19 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01198/20.09, allocations: 0.8516 MB / 3.263 GB, free: 74.79 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04321/20.13, allocations: 7.963 MB / 3.271 GB, free: 73.94 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001354/20.14, allocations: 454 kB / 3.271 GB, free: 73.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005966/20.14, allocations: 0.6019 MB / 3.272 GB, free: 73.92 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04244/20.18, allocations: 8.46 MB / 3.28 GB, free: 72.96 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009133/20.19, allocations: 18.72 kB / 3.28 GB, free: 72.96 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005818/20.19, allocations: 262.1 kB / 3.28 GB, free: 72.96 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006674/20.19, allocations: 239.1 kB / 3.28 GB, free: 72.95 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03584/20.23, allocations: 6.898 MB / 3.287 GB, free: 72.9 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.1183/20.35, allocations: 34.22 MB / 3.321 GB, free: 58.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01344/20.36, allocations: 4.272 MB / 3.325 GB, free: 58.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002236/20.36, allocations: 0.9584 MB / 3.326 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009719/20.37, allocations: 2.357 MB / 3.328 GB, free: 57 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008778/20.38, allocations: 478.5 kB / 3.329 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=317): time 4.658e-05/20.38, allocations: 4.75 kB / 3.329 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=317): time 0.0338/20.41, allocations: 7.067 MB / 3.335 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/20.41, allocations: 90.06 kB / 3.336 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02381/20.44, allocations: 5.267 MB / 3.341 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.002132/20.44, allocations: 90.08 kB / 3.341 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.008927/20.45, allocations: 3.18 MB / 3.344 GB, free: 54.46 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.004123/20.45, allocations: 1.112 MB / 3.345 GB, free: 53.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009431/20.46, allocations: 88.97 kB / 3.345 GB, free: 53.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0006571/20.46, allocations: 494.2 kB / 3.345 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007482/20.46, allocations: 2.133 MB / 3.348 GB, free: 53.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01213/20.48, allocations: 3.656 MB / 3.351 GB, free: 51.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01131/20.49, allocations: 2.889 MB / 3.354 GB, free: 51.53 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002129/20.49, allocations: 16.91 kB / 3.354 GB, free: 51.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.02957/20.52, allocations: 6.707 MB / 3.361 GB, free: 50.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003493/20.52, allocations: 56.77 kB / 3.361 GB, free: 50.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002704/20.52, allocations: 49.84 kB / 3.361 GB, free: 50.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/20.52, allocations: 439.4 kB / 3.361 GB, free: 50.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008929/20.53, allocations: 1.035 MB / 3.362 GB, free: 50.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/20.54, allocations: 5.404 MB / 3.367 GB, free: 47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01256/20.55, allocations: 485.6 kB / 3.368 GB, free: 46.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002244/20.55, allocations: 218.5 kB / 3.368 GB, free: 46.84 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.01226/20.57, allocations: 2.477 MB / 3.37 GB, free: 45.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004026/20.57, allocations: 0.5301 MB / 3.371 GB, free: 45.56 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01918/20.59, allocations: 5.224 MB / 3.376 GB, free: 43.55 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.077e-05/20.59, allocations: 35.12 kB / 3.376 GB, free: 43.55 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.243e-05/20.59, allocations: 7.781 kB / 3.376 GB, free: 43.55 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01386/20.6, allocations: 4.494 MB / 3.38 GB, free: 41.69 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.05569/20.66, allocations: 11.84 MB / 3.392 GB, free: 37.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.323e-05/20.66, allocations: 0 / 3.392 GB, free: 37.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004887/20.66, allocations: 0.6262 MB / 3.393 GB, free: 37.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/20.67, allocations: 365 kB / 3.393 GB, free: 36.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001032/20.67, allocations: 87.77 kB / 3.393 GB, free: 36.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008734/20.68, allocations: 5.313 MB / 3.398 GB, free: 33.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/20.68, allocations: 0 / 3.398 GB, free: 33.09 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02517/20.7, allocations: 7.739 MB / 3.406 GB, free: 29.83 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008154/20.71, allocations: 1.263 MB / 3.407 GB, free: 29.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003807/20.71, allocations: 66.58 kB / 3.407 GB, free: 29.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01073/20.72, allocations: 423.3 kB / 3.408 GB, free: 29.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001367/20.73, allocations: 198.5 kB / 3.408 GB, free: 29.01 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0015/20.73, allocations: 138 kB / 3.408 GB, free: 28.98 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.01836/20.75, allocations: 4.102 MB / 3.412 GB, free: 26.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.765e-06/20.75, allocations: 0 / 3.412 GB, free: 26.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01962/20.77, allocations: 2.061 MB / 3.414 GB, free: 24.74 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.02811/20.79, allocations: 9.221 MB / 3.423 GB, free: 16.71 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.02032/20.81, allocations: 5.358 MB / 3.428 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.221e-05/20.81, allocations: 4.312 kB / 3.428 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01125/20.83, allocations: 2.494 MB / 3.431 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03106/20.86, allocations: 3.175 MB / 3.434 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.375/22.23, allocations: 84.83 MB / 3.516 GB, free: 73.18 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01735/22.25, allocations: 4.744 MB / 3.521 GB, free: 72.33 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.02123/22.27, allocations: 2.142 MB / 3.523 GB, free: 72.28 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0139/22.28, allocations: 2.671 MB / 3.526 GB, free: 72.27 MB / 0.7448 GB Notification: Performance of SimCode: time 4.358e-06/22.28, allocations: 2.625 kB / 3.526 GB, free: 72.27 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5489/22.83, allocations: 176 MB / 3.698 GB, free: 20.13 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004247/22.83, allocations: 251.6 kB / 3.698 GB, free: 19.87 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.31/38.15, allocations: 0 / 3.698 GB, free: 19.87 MB / 0.7448 GB (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)