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.7083/0.7083, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009508/0.000951, allocations: 179.8 kB / 187.3 MB, free: 11.88 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.397/1.397, allocations: 221.3 MB / 441.4 MB, free: 4.586 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.0009422/0.0009421, allocations: 102.4 kB / 0.5124 GB, free: 24.29 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00184/0.00184, allocations: 269.7 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.483e-05, allocations: 4 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.44/0.4401, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7441/1.184, allocations: 378.4 MB / 1.134 GB, free: 11.97 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/1.185, allocations: 92.19 kB / 1.134 GB, free: 11.92 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.986/8.171, allocations: 2.22 GB / 3.354 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.844e-06/8.171, allocations: 0 / 3.354 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0007512/8.172, allocations: 191.8 kB / 3.354 GB, free: 6.504 MB / 0.7292 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.01486/8.186, allocations: 6.112 MB / 3.36 GB, free: 320 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/8.186, allocations: 8.031 kB / 3.36 GB, free: 312 kB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3799/8.566, allocations: 0.8332 MB / 3.361 GB, free: 82.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00454/8.571, allocations: 0.8387 MB / 3.362 GB, free: 82.34 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0186/8.59, allocations: 7.719 MB / 3.369 GB, free: 81.81 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004171/8.59, allocations: 457.4 kB / 3.37 GB, free: 81.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001881/8.592, allocations: 0.5946 MB / 3.37 GB, free: 81.79 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01505/8.607, allocations: 8.316 MB / 3.378 GB, free: 80.84 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001509/8.607, allocations: 20.47 kB / 3.378 GB, free: 80.84 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000735/8.608, allocations: 268.5 kB / 3.379 GB, free: 80.84 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001628/8.608, allocations: 238.9 kB / 3.379 GB, free: 80.82 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/8.62, allocations: 6.727 MB / 3.385 GB, free: 80.77 MB / 0.7292 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.04081/8.661, allocations: 34.22 MB / 3.419 GB, free: 66.29 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004858/8.666, allocations: 4.17 MB / 3.423 GB, free: 66.22 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003711/8.669, allocations: 3.469 MB / 3.426 GB, free: 66.17 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009065/8.67, allocations: 0.9557 MB / 3.427 GB, free: 65.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003003/8.673, allocations: 2.283 MB / 3.429 GB, free: 65.12 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002849/8.676, allocations: 483.9 kB / 3.43 GB, free: 64.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=317): time 9.458e-06/8.676, allocations: 0 / 3.43 GB, free: 64.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=317): time 0.006497/8.683, allocations: 4.518 MB / 3.434 GB, free: 64.49 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/8.683, allocations: 90.91 kB / 3.434 GB, free: 64.43 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008019/8.691, allocations: 5.134 MB / 3.439 GB, free: 64.06 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0007255/8.692, allocations: 89.45 kB / 3.439 GB, free: 64.03 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002556/8.694, allocations: 3.151 MB / 3.443 GB, free: 62.79 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001273/8.695, allocations: 1.119 MB / 3.444 GB, free: 62.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002565/8.696, allocations: 90.31 kB / 3.444 GB, free: 62.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001916/8.696, allocations: 495.6 kB / 3.444 GB, free: 61.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002429/8.698, allocations: 2.051 MB / 3.446 GB, free: 61.76 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002921/8.701, allocations: 3.58 MB / 3.45 GB, free: 59.92 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003451/8.705, allocations: 2.828 MB / 3.452 GB, free: 59.84 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.823e-05/8.705, allocations: 18.22 kB / 3.452 GB, free: 59.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01219/8.717, allocations: 6.539 MB / 3.459 GB, free: 59.39 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.242e-05/8.717, allocations: 54.23 kB / 3.459 GB, free: 59.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.025e-05/8.717, allocations: 51.12 kB / 3.459 GB, free: 59.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008158/8.718, allocations: 435.4 kB / 3.459 GB, free: 59.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003787/8.722, allocations: 1.03 MB / 3.46 GB, free: 59.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004112/8.726, allocations: 5.303 MB / 3.466 GB, free: 56.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005603/8.732, allocations: 469.2 kB / 3.466 GB, free: 56.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007493/8.732, allocations: 220.4 kB / 3.466 GB, free: 56.58 MB / 0.7292 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.0008642/8.733, allocations: 391 kB / 3.467 GB, free: 56.44 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001219/8.734, allocations: 0.5214 MB / 3.467 GB, free: 56.17 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007246/8.742, allocations: 5.086 MB / 3.472 GB, free: 55.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.549e-05/8.742, allocations: 35.42 kB / 3.472 GB, free: 55.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/8.742, allocations: 5.781 kB / 3.472 GB, free: 55.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004993/8.747, allocations: 4.355 MB / 3.476 GB, free: 55.46 MB / 0.7292 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.01875/8.766, allocations: 11.81 MB / 3.488 GB, free: 54.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/8.766, allocations: 11.52 kB / 3.488 GB, free: 54.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002449/8.768, allocations: 0.6275 MB / 3.488 GB, free: 54.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006712/8.769, allocations: 362.9 kB / 3.489 GB, free: 54.61 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002213/8.769, allocations: 83.48 kB / 3.489 GB, free: 54.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003921/8.773, allocations: 5.202 MB / 3.494 GB, free: 51.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/8.773, allocations: 2.531 kB / 3.494 GB, free: 51.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009236/8.782, allocations: 7.521 MB / 3.501 GB, free: 51.12 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003653/8.786, allocations: 1.263 MB / 3.503 GB, free: 50.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001535/8.787, allocations: 66.12 kB / 3.503 GB, free: 50.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004767/8.792, allocations: 414.2 kB / 3.503 GB, free: 50.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004906/8.793, allocations: 197.1 kB / 3.503 GB, free: 50.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003643/8.793, allocations: 145.1 kB / 3.503 GB, free: 50.72 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.005907/8.799, allocations: 3.993 MB / 3.507 GB, free: 50.52 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.91e-07/8.799, allocations: 0 / 3.507 GB, free: 50.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006606/8.806, allocations: 2.059 MB / 3.509 GB, free: 50.27 MB / 0.7292 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.01082/8.816, allocations: 9.003 MB / 3.518 GB, free: 47.45 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.007071/8.824, allocations: 5.202 MB / 3.523 GB, free: 45.6 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/8.824, allocations: 3.156 kB / 3.523 GB, free: 45.6 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003054/8.827, allocations: 2.421 MB / 3.526 GB, free: 44.62 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01428/8.841, allocations: 3.176 MB / 3.529 GB, free: 44.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02859/8.87, allocations: 13.63 MB / 3.542 GB, free: 39.65 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004789/8.874, allocations: 4.724 MB / 3.547 GB, free: 54.09 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.006047/8.881, allocations: 2.066 MB / 3.549 GB, free: 54.04 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003464/8.884, allocations: 2.647 MB / 3.551 GB, free: 51.98 MB / 0.7448 GB Notification: Performance of SimCode: time 8.82e-07/8.884, allocations: 0 / 3.551 GB, free: 51.98 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9469/9.831, allocations: 176.2 MB / 3.723 GB, free: 61.04 MB / 0.7449 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/9.831, allocations: 236.7 kB / 3.723 GB, free: 60.72 MB / 0.7449 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.961/15.79, allocations: 2.844 kB / 3.723 GB, free: 60.72 MB / 0.7449 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)