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.001014/0.001014, allocations: 173.9 kB / 7.648 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.7593/0.7593, allocations: 133.6 MB / 141.6 MB, free: 2.871 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.508/1.508, allocations: 221.5 MB / 395.5 MB, free: 10.77 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.0008553/0.0008554, allocations: 100.7 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.867e-05/2.868e-05, allocations: 0 / 0.5535 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.809/0.809, allocations: 82.3 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.188/1.997, allocations: 380.4 MB / 1.005 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003679/1.998, allocations: 93.58 kB / 1.005 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.794/11.79, allocations: 2.216 GB / 3.221 GB, free: 90.39 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.073e-06/11.79, allocations: 0 / 3.221 GB, free: 90.39 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001224/11.79, allocations: 196.9 kB / 3.221 GB, free: 90.36 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.02155/11.82, allocations: 6.148 MB / 3.227 GB, free: 88.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/11.82, allocations: 7.656 kB / 3.227 GB, free: 88.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006246/11.82, allocations: 0.8503 MB / 3.228 GB, free: 87.81 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02541/11.85, allocations: 7.923 MB / 3.236 GB, free: 86.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006268/11.85, allocations: 202 kB / 3.236 GB, free: 86.96 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00295/11.85, allocations: 356.6 kB / 3.236 GB, free: 86.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01793/11.87, allocations: 6.316 MB / 3.243 GB, free: 86.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02734/11.9, allocations: 7.449 MB / 3.25 GB, free: 86 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002702/11.9, allocations: 15.06 kB / 3.25 GB, free: 86 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00137/11.9, allocations: 10.91 kB / 3.25 GB, free: 86 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002757/11.9, allocations: 247.9 kB / 3.25 GB, free: 85.99 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.06934/11.97, allocations: 33.06 MB / 3.282 GB, free: 71.38 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007412/11.97, allocations: 4.01 MB / 3.286 GB, free: 71.33 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004177/11.98, allocations: 3.093 MB / 3.289 GB, free: 71.29 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/11.98, allocations: 0.9611 MB / 3.29 GB, free: 70.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003421/11.98, allocations: 2.179 MB / 3.292 GB, free: 70.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003828/11.99, allocations: 361.4 kB / 3.293 GB, free: 70.07 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=317): time 7.965e-06/11.99, allocations: 0 / 3.293 GB, free: 70.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=317): time 0.008405/12, allocations: 4.535 MB / 3.297 GB, free: 69.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/12, allocations: 86.44 kB / 3.297 GB, free: 69.61 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01067/12.01, allocations: 4.313 MB / 3.301 GB, free: 69.28 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001614/12.01, allocations: 29.86 kB / 3.301 GB, free: 69.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.004606/12.01, allocations: 3.173 MB / 3.305 GB, free: 67.87 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00183/12.01, allocations: 1.07 MB / 3.306 GB, free: 67.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002893/12.02, allocations: 0 / 3.306 GB, free: 67.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002749/12.02, allocations: 493.4 kB / 3.306 GB, free: 66.86 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002621/12.02, allocations: 1.96 MB / 3.308 GB, free: 66.85 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003694/12.02, allocations: 3.468 MB / 3.311 GB, free: 65.03 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005509/12.03, allocations: 2.957 MB / 3.314 GB, free: 64.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-05/12.03, allocations: 14.66 kB / 3.314 GB, free: 64.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01345/12.04, allocations: 6.235 MB / 3.32 GB, free: 63.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.455e-05/12.04, allocations: 53.45 kB / 3.32 GB, free: 63.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-05/12.04, allocations: 50.59 kB / 3.32 GB, free: 63.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009058/12.04, allocations: 424.1 kB / 3.321 GB, free: 63.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004366/12.05, allocations: 1.035 MB / 3.322 GB, free: 63.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004944/12.05, allocations: 5.147 MB / 3.327 GB, free: 60.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006869/12.06, allocations: 387.5 kB / 3.327 GB, free: 60.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001224/12.06, allocations: 222.2 kB / 3.327 GB, free: 60.04 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.001149/12.06, allocations: 246.7 kB / 3.328 GB, free: 59.88 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008374/12.07, allocations: 4.534 MB / 3.332 GB, free: 58.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001828/12.07, allocations: 477.6 kB / 3.333 GB, free: 58 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009138/12.08, allocations: 5.016 MB / 3.338 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.836e-05/12.08, allocations: 35.48 kB / 3.338 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/12.08, allocations: 6.656 kB / 3.338 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00692/12.09, allocations: 4.409 MB / 3.342 GB, free: 54.51 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.0246/12.11, allocations: 11.13 MB / 3.353 GB, free: 50.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/12.11, allocations: 6.969 kB / 3.353 GB, free: 50.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002729/12.11, allocations: 0.6201 MB / 3.353 GB, free: 50.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008228/12.12, allocations: 365.5 kB / 3.354 GB, free: 50.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002635/12.12, allocations: 44.45 kB / 3.354 GB, free: 50.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004522/12.12, allocations: 5.038 MB / 3.359 GB, free: 46.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/12.12, allocations: 3.5 kB / 3.359 GB, free: 46.52 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/12.13, allocations: 7.443 MB / 3.366 GB, free: 40.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004253/12.14, allocations: 1.2 MB / 3.367 GB, free: 39.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001813/12.14, allocations: 21.89 kB / 3.367 GB, free: 39.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005143/12.14, allocations: 359.5 kB / 3.367 GB, free: 39.19 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005158/12.14, allocations: 199.7 kB / 3.368 GB, free: 39.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004587/12.14, allocations: 139.3 kB / 3.368 GB, free: 38.95 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.005955/12.15, allocations: 3.276 MB / 3.371 GB, free: 36.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/12.15, allocations: 0 / 3.371 GB, free: 36.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0105/12.16, allocations: 2.022 MB / 3.373 GB, free: 34.12 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.01344/12.17, allocations: 8.897 MB / 3.382 GB, free: 26.31 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006814/12.18, allocations: 4.953 MB / 3.386 GB, free: 21.85 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/12.18, allocations: 0 / 3.386 GB, free: 21.85 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002979/12.18, allocations: 2.338 MB / 3.389 GB, free: 19.74 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01415/12.2, allocations: 2.49 MB / 3.391 GB, free: 18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03333/12.23, allocations: 13.22 MB / 3.404 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004934/12.24, allocations: 4.745 MB / 3.409 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.007531/12.24, allocations: 1.891 MB / 3.411 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007723/12.25, allocations: 2.807 MB / 3.413 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of SimCode: time 1.182e-06/12.25, allocations: 0 / 3.413 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8168/13.07, allocations: 146.2 MB / 3.556 GB, free: 86.27 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/13.07, allocations: 175.2 kB / 3.556 GB, free: 86.08 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.316/20.39, allocations: 1.75 kB / 3.556 GB, free: 86.08 MB / 0.7292 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)