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.7236/0.7236, allocations: 141.7 MB / 154.3 MB, free: 15.47 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.001003/0.001003, allocations: 184 kB / 187.3 MB, free: 11.87 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.268/1.268, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0008876/0.0008876, allocations: 96.12 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00178/0.001781, allocations: 276.6 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.621e-05/3.623e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.473/0.473, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8199/1.293, allocations: 375.8 MB / 1.131 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/1.293, allocations: 87.77 kB / 1.131 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.897/8.19, allocations: 2.104 GB / 3.235 GB, free: 94.75 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.162e-06/8.19, allocations: 0 / 3.235 GB, free: 94.75 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0007446/8.191, allocations: 165.1 kB / 3.235 GB, free: 94.73 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.01329/8.205, allocations: 5.499 MB / 3.241 GB, free: 92.24 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/8.205, allocations: 7.594 kB / 3.241 GB, free: 92.24 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002009/8.207, allocations: 0.7661 MB / 3.241 GB, free: 91.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00338/8.21, allocations: 0.7682 MB / 3.242 GB, free: 91.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.014/8.224, allocations: 7.276 MB / 3.249 GB, free: 88.79 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003068/8.224, allocations: 411.6 kB / 3.25 GB, free: 88.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001526/8.226, allocations: 0.5417 MB / 3.25 GB, free: 88.42 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01303/8.239, allocations: 7.401 MB / 3.257 GB, free: 84.45 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/8.239, allocations: 22.22 kB / 3.257 GB, free: 84.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006337/8.24, allocations: 234.5 kB / 3.258 GB, free: 84.26 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001503/8.24, allocations: 225.6 kB / 3.258 GB, free: 84.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009729/8.25, allocations: 5.848 MB / 3.263 GB, free: 81.5 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.03783/8.287, allocations: 29.67 MB / 3.292 GB, free: 51.47 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00437/8.292, allocations: 3.53 MB / 3.296 GB, free: 47.96 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0032/8.295, allocations: 2.975 MB / 3.299 GB, free: 44.99 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006785/8.296, allocations: 0.8288 MB / 3.3 GB, free: 44 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.139e-05/8.296, allocations: 80.56 kB / 3.3 GB, free: 43.91 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=267): time 5.13e-06/8.296, allocations: 0 / 3.3 GB, free: 43.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=267): time 0.005628/8.302, allocations: 3.654 MB / 3.303 GB, free: 40.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/8.302, allocations: 77.52 kB / 3.303 GB, free: 40.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006927/8.309, allocations: 4.763 MB / 3.308 GB, free: 35.35 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0007403/8.309, allocations: 77.7 kB / 3.308 GB, free: 35.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001844/8.311, allocations: 2.828 MB / 3.311 GB, free: 32.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001145/8.312, allocations: 0.9403 MB / 3.312 GB, free: 31.49 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/8.313, allocations: 76 kB / 3.312 GB, free: 31.42 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001836/8.313, allocations: 457.9 kB / 3.312 GB, free: 30.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/8.315, allocations: 1.612 MB / 3.314 GB, free: 29.35 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002302/8.317, allocations: 2.857 MB / 3.317 GB, free: 25.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002533/8.32, allocations: 2.235 MB / 3.319 GB, free: 23.67 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.108e-05/8.32, allocations: 12 kB / 3.319 GB, free: 23.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.00747/8.327, allocations: 5.3 MB / 3.324 GB, free: 18.31 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/8.327, allocations: 25.25 kB / 3.324 GB, free: 18.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.653e-05/8.327, allocations: 40 kB / 3.324 GB, free: 18.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007632/8.328, allocations: 423.4 kB / 3.324 GB, free: 17.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002797/8.331, allocations: 0.8616 MB / 3.325 GB, free: 16.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004031/8.335, allocations: 5.303 MB / 3.33 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005161/8.34, allocations: 0.6626 MB / 3.331 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000615/8.341, allocations: 184 kB / 3.331 GB, free: 10.56 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 () * 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.000709/8.341, allocations: 344.2 kB / 3.332 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/8.342, allocations: 486.2 kB / 3.332 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005817/8.348, allocations: 4.073 MB / 3.336 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/8.348, allocations: 24 kB / 3.336 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/8.348, allocations: 4 kB / 3.336 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003744/8.352, allocations: 3.522 MB / 3.34 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01959/8.372, allocations: 10.19 MB / 3.349 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/8.372, allocations: 4 kB / 3.349 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002119/8.374, allocations: 0.4998 MB / 3.35 GB, free: 7.148 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008305/8.375, allocations: 373.3 kB / 3.35 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002538/8.375, allocations: 75.95 kB / 3.35 GB, free: 6.703 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005245/8.38, allocations: 5.235 MB / 3.355 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/8.38, allocations: 4.078 kB / 3.355 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3979/8.778, allocations: 6.744 MB / 3.362 GB, free: 107.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003451/8.782, allocations: 1.206 MB / 3.363 GB, free: 107.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001348/8.783, allocations: 67.62 kB / 3.363 GB, free: 107.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00379/8.787, allocations: 308.3 kB / 3.364 GB, free: 107.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002924/8.787, allocations: 171.7 kB / 3.364 GB, free: 107.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003004/8.787, allocations: 133.1 kB / 3.364 GB, free: 107.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.006102/8.794, allocations: 3.878 MB / 3.368 GB, free: 107.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.01e-07/8.794, allocations: 0.6562 kB / 3.368 GB, free: 107.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006474/8.8, allocations: 1.845 MB / 3.37 GB, free: 107.1 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 () * 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.009979/8.81, allocations: 8.778 MB / 3.378 GB, free: 104.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005511/8.816, allocations: 4.142 MB / 3.382 GB, free: 104 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/8.816, allocations: 6.062 kB / 3.382 GB, free: 104 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0022/8.818, allocations: 1.987 MB / 3.384 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01518/8.833, allocations: 3.24 MB / 3.387 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02714/8.86, allocations: 12.44 MB / 3.399 GB, free: 101.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004851/8.865, allocations: 4.39 MB / 3.404 GB, free: 100.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.006954/8.872, allocations: 1.839 MB / 3.405 GB, free: 100.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004708/8.877, allocations: 2.441 MB / 3.408 GB, free: 100.7 MB / 0.7292 GB Notification: Performance of SimCode: time 9.52e-07/8.877, allocations: 0 / 3.408 GB, free: 100.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2014/9.078, allocations: 165.5 MB / 3.569 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/9.079, allocations: 241.1 kB / 3.57 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.569/14.65, allocations: 0 / 3.57 GB, free: 32.34 MB / 0.7292 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)