Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.StratifiedNonUniformInitial,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial",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.8643/0.8643, allocations: 143.3 MB / 158.3 MB, free: 5.797 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.001274/0.001274, allocations: 181 kB / 191.5 MB, free: 5.766 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.686/1.686, allocations: 223.1 MB / 447.7 MB, free: 4.883 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.001028/0.001028, allocations: 104.2 kB / 0.5187 GB, free: 1.23 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002383/0.002383, allocations: 278.9 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004608/0.0004608, allocations: 11.84 kB / 0.6929 GB, free: 59.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2083, allocations: 82.79 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9523/1.161, allocations: 375.8 MB / 1.141 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/1.161, allocations: 90.95 kB / 1.141 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.267/9.428, allocations: 2.109 GB / 3.25 GB, free: 90.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.755e-06/9.428, allocations: 0 / 3.25 GB, free: 90.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001282/9.429, allocations: 172.5 kB / 3.25 GB, free: 90.66 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: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.02689/9.456, allocations: 6.52 MB / 3.256 GB, free: 88.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/9.456, allocations: 10.41 kB / 3.256 GB, free: 88.25 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004261/9.46, allocations: 0.7705 MB / 3.257 GB, free: 88.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005898/9.466, allocations: 0.7727 MB / 3.258 GB, free: 87.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0239/9.49, allocations: 7.304 MB / 3.265 GB, free: 87.04 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006969/9.491, allocations: 413.2 kB / 3.265 GB, free: 87.03 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003278/9.494, allocations: 0.5426 MB / 3.266 GB, free: 87.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02736/9.522, allocations: 7.495 MB / 3.273 GB, free: 86.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006131/9.522, allocations: 20.11 kB / 3.273 GB, free: 86.17 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003437/9.526, allocations: 234.8 kB / 3.273 GB, free: 86 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003987/9.526, allocations: 224.5 kB / 3.274 GB, free: 85.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02139/9.548, allocations: 5.967 MB / 3.279 GB, free: 83.87 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.06497/9.613, allocations: 29.67 MB / 3.308 GB, free: 64.54 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007377/9.62, allocations: 3.58 MB / 3.312 GB, free: 61.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/9.621, allocations: 0.8313 MB / 3.313 GB, free: 60.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/9.621, allocations: 72.62 kB / 3.313 GB, free: 60.67 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=267): time 9.849e-06/9.622, allocations: 0 / 3.313 GB, free: 60.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=267): time 0.01429/9.636, allocations: 5.748 MB / 3.318 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/9.636, allocations: 77.52 kB / 3.318 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01432/9.65, allocations: 4.809 MB / 3.323 GB, free: 49.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001049/9.651, allocations: 81.7 kB / 3.323 GB, free: 49.85 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.003736/9.655, allocations: 2.825 MB / 3.326 GB, free: 47.01 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002084/9.657, allocations: 0.9405 MB / 3.327 GB, free: 46.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000842/9.658, allocations: 72 kB / 3.327 GB, free: 46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000506/9.659, allocations: 457.9 kB / 3.327 GB, free: 45.55 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003307/9.662, allocations: 1.666 MB / 3.329 GB, free: 43.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004207/9.666, allocations: 2.915 MB / 3.332 GB, free: 40.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004039/9.67, allocations: 2.277 MB / 3.334 GB, free: 38.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.786e-05/9.67, allocations: 12 kB / 3.334 GB, free: 38.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01138/9.682, allocations: 5.395 MB / 3.339 GB, free: 32.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.852e-05/9.682, allocations: 27.95 kB / 3.339 GB, free: 32.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.783e-05/9.682, allocations: 42.91 kB / 3.339 GB, free: 32.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/9.683, allocations: 421.5 kB / 3.34 GB, free: 32.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003548/9.687, allocations: 0.8541 MB / 3.341 GB, free: 31.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006513/9.693, allocations: 5.405 MB / 3.346 GB, free: 25.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007608/9.701, allocations: 0.6704 MB / 3.347 GB, free: 24.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00101/9.702, allocations: 180 kB / 3.347 GB, free: 24.79 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (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 (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * 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.006188/9.708, allocations: 2.268 MB / 3.349 GB, free: 22.51 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002459/9.711, allocations: 486.2 kB / 3.349 GB, free: 22.03 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009094/9.72, allocations: 4.156 MB / 3.353 GB, free: 17.83 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.324e-05/9.72, allocations: 31.98 kB / 3.353 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.199e-05/9.72, allocations: 4 kB / 3.353 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00505/9.725, allocations: 3.609 MB / 3.357 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02513/9.75, allocations: 10.03 MB / 3.367 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-05/9.75, allocations: 4 kB / 3.367 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002251/9.752, allocations: 0.4915 MB / 3.367 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008211/9.753, allocations: 367.9 kB / 3.368 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003528/9.754, allocations: 79.95 kB / 3.368 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00572/9.759, allocations: 5.346 MB / 3.373 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/9.759, allocations: 4 kB / 3.373 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/9.772, allocations: 6.885 MB / 3.38 GB, free: 6.195 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005463/9.778, allocations: 1.201 MB / 3.381 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002874/9.781, allocations: 63.98 kB / 3.381 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00589/9.787, allocations: 303.2 kB / 3.381 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005486/9.787, allocations: 181.6 kB / 3.381 GB, free: 4.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006607/9.788, allocations: 131.6 kB / 3.381 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0108/9.799, allocations: 3.923 MB / 3.385 GB, free: 404 kB / 0.7292 GB Notification: Performance of sort global known variables: time 4.21e-07/9.799, allocations: 0 / 3.385 GB, free: 404 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.6546/10.45, allocations: 1.847 MB / 3.387 GB, free: 101.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.01588/10.47, allocations: 8.895 MB / 3.396 GB, free: 99.26 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01013/10.48, allocations: 4.254 MB / 3.4 GB, free: 98.96 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.86e-05/10.48, allocations: 3.594 kB / 3.4 GB, free: 98.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004165/10.48, allocations: 2.04 MB / 3.402 GB, free: 98.71 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01851/10.5, allocations: 3.247 MB / 3.405 GB, free: 98.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.129/10.63, allocations: 72.81 MB / 3.476 GB, free: 53.65 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005477/10.64, allocations: 4.383 MB / 3.481 GB, free: 52.82 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.008104/10.65, allocations: 1.881 MB / 3.482 GB, free: 52.77 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005543/10.65, allocations: 2.433 MB / 3.485 GB, free: 52.76 MB / 0.7292 GB Notification: Performance of SimCode: time 2.254e-06/10.65, allocations: 2.844 kB / 3.485 GB, free: 52.76 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2916/10.94, allocations: 164.9 MB / 3.646 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002643/10.94, allocations: 267.2 kB / 3.646 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.473/18.42, allocations: 4.062 kB / 3.646 GB, free: 12.2 MB / 0.7605 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)