Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8159/0.8159, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 173 kB / 182.2 MB, free: 9.461 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009135/0.0009135, allocations: 87.55 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001817/0.001817, allocations: 267.5 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.007e-05/2.008e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4033, allocations: 82.76 MB / 0.7575 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7756/1.179, allocations: 377.7 MB / 1.126 GB, free: 3.613 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/1.179, allocations: 85.64 kB / 1.126 GB, free: 3.57 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.534/9.713, allocations: 2.209 GB / 3.335 GB, free: 76.98 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.014e-06/9.713, allocations: 3.469 kB / 3.335 GB, free: 76.98 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.00107/9.715, allocations: 190.4 kB / 3.335 GB, free: 76.95 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.02104/9.736, allocations: 6.12 MB / 3.341 GB, free: 74.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/9.736, allocations: 7.75 kB / 3.341 GB, free: 74.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005063/9.741, allocations: 0.8429 MB / 3.342 GB, free: 74.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01677/9.758, allocations: 7.706 MB / 3.35 GB, free: 73.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002978/9.758, allocations: 200 kB / 3.35 GB, free: 73.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00194/9.76, allocations: 355.7 kB / 3.35 GB, free: 73.66 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01265/9.772, allocations: 6.315 MB / 3.356 GB, free: 73.63 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01653/9.789, allocations: 7.45 MB / 3.364 GB, free: 72.69 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001863/9.789, allocations: 22.52 kB / 3.364 GB, free: 72.69 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009141/9.79, allocations: 11.59 kB / 3.364 GB, free: 72.69 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002061/9.79, allocations: 244.8 kB / 3.364 GB, free: 72.68 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.04488/9.835, allocations: 33.04 MB / 3.396 GB, free: 58.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005248/9.841, allocations: 4.011 MB / 3.4 GB, free: 58.03 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003677/9.844, allocations: 3.101 MB / 3.403 GB, free: 57.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/9.845, allocations: 0.9612 MB / 3.404 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003011/9.848, allocations: 2.182 MB / 3.406 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003073/9.851, allocations: 353 kB / 3.407 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=317): time 8.105e-06/9.851, allocations: 1.812 kB / 3.407 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=317): time 0.008105/9.86, allocations: 4.525 MB / 3.411 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/9.86, allocations: 90.62 kB / 3.411 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007155/9.867, allocations: 4.249 MB / 3.415 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0008682/9.868, allocations: 29.3 kB / 3.415 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002821/9.871, allocations: 3.145 MB / 3.418 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001378/9.872, allocations: 1.075 MB / 3.419 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/9.872, allocations: 0 / 3.419 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002168/9.872, allocations: 492.5 kB / 3.42 GB, free: 53.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002483/9.875, allocations: 1.959 MB / 3.422 GB, free: 53.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003069/9.878, allocations: 3.468 MB / 3.425 GB, free: 51.74 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004256/9.882, allocations: 2.946 MB / 3.428 GB, free: 51.69 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.784e-05/9.882, allocations: 16.06 kB / 3.428 GB, free: 51.69 MB / 0.7136 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01008/9.892, allocations: 6.223 MB / 3.434 GB, free: 51.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.046e-05/9.893, allocations: 54.23 kB / 3.434 GB, free: 51.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.159e-05/9.893, allocations: 51.28 kB / 3.434 GB, free: 51.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008734/9.893, allocations: 427.8 kB / 3.435 GB, free: 51.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003704/9.897, allocations: 1.038 MB / 3.436 GB, free: 51.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004684/9.902, allocations: 5.139 MB / 3.441 GB, free: 48.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005762/9.908, allocations: 382.5 kB / 3.441 GB, free: 48.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006737/9.908, allocations: 215.5 kB / 3.441 GB, free: 48.59 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.0009617/9.909, allocations: 258.1 kB / 3.441 GB, free: 48.45 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007757/9.917, allocations: 4.527 MB / 3.446 GB, free: 48.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/9.918, allocations: 468.7 kB / 3.446 GB, free: 47.83 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008435/9.927, allocations: 5.009 MB / 3.451 GB, free: 47.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.671e-05/9.927, allocations: 30.78 kB / 3.451 GB, free: 47.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/9.927, allocations: 9.172 kB / 3.451 GB, free: 47.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005946/9.933, allocations: 4.414 MB / 3.456 GB, free: 47.12 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.02161/9.955, allocations: 11.12 MB / 3.466 GB, free: 46.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/9.955, allocations: 3.25 kB / 3.466 GB, free: 46.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002709/9.957, allocations: 0.6263 MB / 3.467 GB, free: 46.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007593/9.958, allocations: 353.2 kB / 3.467 GB, free: 46.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003065/9.958, allocations: 45.09 kB / 3.467 GB, free: 46.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004566/9.963, allocations: 5.045 MB / 3.472 GB, free: 43.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/9.963, allocations: 2.75 kB / 3.472 GB, free: 43.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/9.975, allocations: 7.443 MB / 3.48 GB, free: 42.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004239/9.979, allocations: 1.192 MB / 3.481 GB, free: 42.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001631/9.981, allocations: 18.25 kB / 3.481 GB, free: 42.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005106/9.986, allocations: 355.5 kB / 3.481 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007297/9.987, allocations: 198.7 kB / 3.481 GB, free: 42.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004708/9.987, allocations: 141 kB / 3.481 GB, free: 42.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0058/9.993, allocations: 3.22 MB / 3.485 GB, free: 40.95 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.502e-06/9.993, allocations: 0 / 3.485 GB, free: 40.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01093/10, allocations: 2.026 MB / 3.487 GB, free: 40.57 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.01429/10.02, allocations: 8.87 MB / 3.495 GB, free: 36.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00783/10.03, allocations: 4.957 MB / 3.5 GB, free: 34.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/10.03, allocations: 3.125 kB / 3.5 GB, free: 34.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003503/10.03, allocations: 2.333 MB / 3.502 GB, free: 33.98 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01366/10.04, allocations: 2.512 MB / 3.505 GB, free: 33.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03085/10.07, allocations: 13.13 MB / 3.518 GB, free: 25.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006559/10.08, allocations: 4.715 MB / 3.522 GB, free: 38.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.007669/10.09, allocations: 1.897 MB / 3.524 GB, free: 36.92 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005715/10.09, allocations: 2.639 MB / 3.527 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of SimCode: time 1.082e-06/10.09, allocations: 3.5 kB / 3.527 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7147/10.81, allocations: 145.6 MB / 3.669 GB, free: 67.38 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001567/10.81, allocations: 198.6 kB / 3.669 GB, free: 67.18 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.641/17.45, allocations: 0 / 3.669 GB, free: 67.18 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)