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.001456/0.001456, allocations: 171.8 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9151/0.9151, allocations: 133.6 MB / 141.6 MB, free: 2.934 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.709/1.709, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.001133/0.001133, allocations: 108.8 kB / 478.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.41e-05/2.414e-05, allocations: 4 kB / 0.5535 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5969/0.597, allocations: 82.3 MB / 0.6339 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.157/1.754, allocations: 380.4 MB / 1.005 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/1.755, allocations: 82.58 kB / 1.005 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 10.19/11.94, allocations: 2.216 GB / 3.221 GB, free: 91.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.314e-06/11.94, allocations: 0 / 3.221 GB, free: 91.05 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001529/11.95, allocations: 193.2 kB / 3.221 GB, free: 91.02 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.02853/11.97, allocations: 6.152 MB / 3.227 GB, free: 88.86 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.566e-05/11.97, allocations: 11.12 kB / 3.227 GB, free: 88.86 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007923/11.98, allocations: 0.849 MB / 3.228 GB, free: 88.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02527/12.01, allocations: 7.92 MB / 3.236 GB, free: 87.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006798/12.01, allocations: 194.3 kB / 3.236 GB, free: 87.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004589/12.01, allocations: 362.2 kB / 3.236 GB, free: 87.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0194/12.03, allocations: 6.315 MB / 3.243 GB, free: 87.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02785/12.06, allocations: 7.448 MB / 3.25 GB, free: 86.65 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004706/12.06, allocations: 21.25 kB / 3.25 GB, free: 86.65 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002834/12.06, allocations: 12.81 kB / 3.25 GB, free: 86.65 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003743/12.06, allocations: 240.7 kB / 3.25 GB, free: 86.64 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.06324/12.13, allocations: 33.05 MB / 3.282 GB, free: 72.03 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007001/12.13, allocations: 4.008 MB / 3.286 GB, free: 71.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005053/12.14, allocations: 3.096 MB / 3.289 GB, free: 71.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001502/12.14, allocations: 0.9644 MB / 3.29 GB, free: 70.99 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004982/12.15, allocations: 2.181 MB / 3.292 GB, free: 70.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004266/12.15, allocations: 356.1 kB / 3.293 GB, free: 70.72 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=317): time 1.991e-05/12.15, allocations: 0 / 3.293 GB, free: 70.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=317): time 0.01142/12.16, allocations: 4.532 MB / 3.297 GB, free: 70.33 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/12.16, allocations: 86.09 kB / 3.297 GB, free: 70.26 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01097/12.17, allocations: 4.319 MB / 3.301 GB, free: 69.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001075/12.17, allocations: 30.67 kB / 3.301 GB, free: 69.89 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.004438/12.18, allocations: 3.176 MB / 3.305 GB, free: 68.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002287/12.18, allocations: 1.073 MB / 3.306 GB, free: 67.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001067/12.18, allocations: 0 / 3.306 GB, free: 67.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0006654/12.18, allocations: 491.9 kB / 3.306 GB, free: 67.51 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0044/12.19, allocations: 1.965 MB / 3.308 GB, free: 67.49 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005178/12.19, allocations: 3.462 MB / 3.311 GB, free: 65.67 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006122/12.2, allocations: 2.951 MB / 3.314 GB, free: 65.62 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001398/12.2, allocations: 14.59 kB / 3.314 GB, free: 65.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01577/12.21, allocations: 6.23 MB / 3.32 GB, free: 64.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001504/12.21, allocations: 54.67 kB / 3.32 GB, free: 64.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001287/12.21, allocations: 51.64 kB / 3.32 GB, free: 64.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/12.22, allocations: 433.6 kB / 3.321 GB, free: 64.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004638/12.22, allocations: 1.034 MB / 3.322 GB, free: 64.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005529/12.23, allocations: 5.13 MB / 3.327 GB, free: 60.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006946/12.23, allocations: 399.2 kB / 3.327 GB, free: 60.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001435/12.23, allocations: 216.1 kB / 3.327 GB, free: 60.61 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.00238/12.24, allocations: 254.8 kB / 3.328 GB, free: 60.44 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01089/12.25, allocations: 4.53 MB / 3.332 GB, free: 58.81 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002195/12.25, allocations: 475.6 kB / 3.333 GB, free: 58.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/12.26, allocations: 5.016 MB / 3.337 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.54e-05/12.26, allocations: 30.75 kB / 3.338 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.603e-05/12.26, allocations: 8.719 kB / 3.338 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007983/12.27, allocations: 4.42 MB / 3.342 GB, free: 55.07 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.02682/12.3, allocations: 11.12 MB / 3.353 GB, free: 50.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/12.3, allocations: 3.719 kB / 3.353 GB, free: 50.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002765/12.3, allocations: 0.6277 MB / 3.353 GB, free: 50.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007994/12.3, allocations: 355.9 kB / 3.354 GB, free: 50.72 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002839/12.3, allocations: 46.44 kB / 3.354 GB, free: 50.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00465/12.3, allocations: 5.048 MB / 3.359 GB, free: 47.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/12.3, allocations: 7.438 kB / 3.359 GB, free: 47.08 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01174/12.32, allocations: 7.427 MB / 3.366 GB, free: 40.99 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004498/12.32, allocations: 1.203 MB / 3.367 GB, free: 39.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001869/12.32, allocations: 19.89 kB / 3.367 GB, free: 39.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004843/12.33, allocations: 354.5 kB / 3.367 GB, free: 39.71 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004207/12.33, allocations: 204.6 kB / 3.368 GB, free: 39.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003868/12.33, allocations: 138.7 kB / 3.368 GB, free: 39.47 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.005758/12.33, allocations: 3.274 MB / 3.371 GB, free: 36.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.51e-07/12.33, allocations: 3.125 kB / 3.371 GB, free: 36.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01277/12.35, allocations: 2.02 MB / 3.373 GB, free: 34.64 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.01614/12.36, allocations: 8.898 MB / 3.382 GB, free: 26.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.008914/12.37, allocations: 4.95 MB / 3.386 GB, free: 22.38 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/12.37, allocations: 4 kB / 3.386 GB, free: 22.38 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003391/12.38, allocations: 2.335 MB / 3.389 GB, free: 20.27 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01469/12.39, allocations: 2.494 MB / 3.391 GB, free: 18.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04236/12.43, allocations: 13.22 MB / 3.404 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009288/12.44, allocations: 4.743 MB / 3.409 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.01002/12.45, allocations: 1.901 MB / 3.411 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008362/12.46, allocations: 2.687 MB / 3.413 GB, free: 0 / 0.7136 GB Notification: Performance of SimCode: time 2.224e-06/12.46, allocations: 336 / 3.413 GB, free: 0 / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8241/13.28, allocations: 147.2 MB / 3.557 GB, free: 66.38 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/13.29, allocations: 162.5 kB / 3.557 GB, free: 66.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.587/20.87, allocations: 0 / 3.557 GB, free: 66.2 MB / 0.7136 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)