Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json 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/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 194.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.204/1.204, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.47/2.47, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 65.77 kB / 0.8992 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2363, allocations: 157.4 MB / 1.053 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0432/0.2796, allocations: 49.31 MB / 1.101 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01655/0.2962, allocations: 13.82 MB / 1.115 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.2979, allocations: 67.62 kB / 1.115 GB, free: 8.922 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.2996, allocations: 0.8071 MB / 1.115 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004529/0.3042, allocations: 2.25 MB / 1.118 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.3067, allocations: 1.303 MB / 1.119 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01539/0.3221, allocations: 19.57 MB / 1.138 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0099/0.3321, allocations: 9.91 MB / 1.148 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009457/0.3415, allocations: 6.492 MB / 1.154 GB, free: 432 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006778/0.3483, allocations: 5.755 MB / 1.16 GB, free: 10.64 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001181/0.3495, allocations: 0.8438 MB / 1.16 GB, free: 9.801 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003454/0.353, allocations: 1.596 MB / 1.162 GB, free: 8.203 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001741/0.3547, allocations: 2.119 MB / 1.164 GB, free: 6.078 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.004707/0.3594, allocations: 4.291 MB / 1.168 GB, free: 1.77 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.3696, allocations: 11.92 MB / 1.18 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3696, allocations: 3.938 kB / 1.18 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3696, allocations: 8 kB / 1.18 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0002132/0.3698, allocations: 0 / 1.18 GB, free: 5.805 MB / 0.9356 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.0124/0.3822, allocations: 7.721 MB / 1.187 GB, free: 14 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3823, allocations: 12.62 kB / 1.187 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009523/0.3832, allocations: 0.768 MB / 1.188 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/0.3854, allocations: 0.7775 MB / 1.189 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00892/0.3943, allocations: 6.05 MB / 1.195 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002697/0.3946, allocations: 419.2 kB / 1.195 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007258/0.3953, allocations: 0.5466 MB / 1.196 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01138/0.4067, allocations: 8.072 MB / 1.204 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.7e-05/0.4068, allocations: 19.81 kB / 1.204 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000505/0.4073, allocations: 240 kB / 1.204 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001353/0.4075, allocations: 164 kB / 1.204 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009439/0.4169, allocations: 6.524 MB / 1.21 GB, free: 6.098 MB / 0.9669 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.03663/0.4536, allocations: 31.45 MB / 1.241 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005087/0.4587, allocations: 3.647 MB / 1.245 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4379/0.8966, allocations: 2.803 MB / 1.247 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007712/0.8974, allocations: 0.826 MB / 1.248 GB, free: 175 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.963e-05/0.8975, allocations: 71.73 kB / 1.248 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=267): time 5.239e-06/0.8975, allocations: 0 / 1.248 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=267): time 0.009128/0.9066, allocations: 5.77 MB / 1.254 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.9067, allocations: 77.8 kB / 1.254 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006816/0.9135, allocations: 5.234 MB / 1.259 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003522/0.9139, allocations: 80.7 kB / 1.259 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002038/0.9159, allocations: 2.869 MB / 1.262 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008694/0.9168, allocations: 0.9399 MB / 1.263 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009336/0.9177, allocations: 0.7124 MB / 1.264 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.456e-05/0.9178, allocations: 307.4 kB / 1.264 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002457/0.9202, allocations: 1.674 MB / 1.266 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0034/0.9237, allocations: 2.93 MB / 1.268 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005293/0.929, allocations: 4.966 MB / 1.273 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-05/0.929, allocations: 11.38 kB / 1.273 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008186/0.9372, allocations: 5.434 MB / 1.279 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.9372, allocations: 22.8 kB / 1.279 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-05/0.9373, allocations: 43.59 kB / 1.279 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000896/0.9382, allocations: 426.3 kB / 1.279 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002834/0.941, allocations: 0.8577 MB / 1.28 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00452/0.9456, allocations: 5.699 MB / 1.285 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003596/0.9492, allocations: 0.5193 MB / 1.286 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002676/0.9495, allocations: 179.9 kB / 1.286 GB, free: 160.9 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002989/0.9524, allocations: 2.28 MB / 1.288 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/0.9535, allocations: 496 kB / 1.289 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005317/0.9588, allocations: 4.181 MB / 1.293 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/0.9588, allocations: 31.36 kB / 1.293 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.9588, allocations: 3.938 kB / 1.293 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003831/0.9627, allocations: 3.634 MB / 1.297 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/0.9749, allocations: 10.29 MB / 1.307 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.975, allocations: 3.719 kB / 1.307 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001835/0.9768, allocations: 0.5002 MB / 1.307 GB, free: 150.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006333/0.9775, allocations: 376 kB / 1.307 GB, free: 150 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001458/0.9776, allocations: 80.8 kB / 1.308 GB, free: 150 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003809/0.9814, allocations: 5.643 MB / 1.313 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.9814, allocations: 8 kB / 1.313 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00674/0.9882, allocations: 6.24 MB / 1.319 GB, free: 137.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001725/0.9899, allocations: 1.096 MB / 1.32 GB, free: 136.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000603/0.9905, allocations: 67.98 kB / 1.32 GB, free: 136.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002321/0.9929, allocations: 179.4 kB / 1.32 GB, free: 136.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000246/0.9931, allocations: 173.6 kB / 1.321 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/0.9933, allocations: 127.9 kB / 1.321 GB, free: 136.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003835/0.9972, allocations: 3.839 MB / 1.324 GB, free: 132.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9972, allocations: 0 / 1.324 GB, free: 132.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003653/1.001, allocations: 1.796 MB / 1.326 GB, free: 130.5 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007179/1.008, allocations: 7.193 MB / 1.333 GB, free: 123.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01114/1.019, allocations: 8.067 MB / 1.341 GB, free: 115.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.019, allocations: 4.375 kB / 1.341 GB, free: 115.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002026/1.021, allocations: 2.034 MB / 1.343 GB, free: 113 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01214/1.033, allocations: 3.485 MB / 1.347 GB, free: 109.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.049/1.082, allocations: 57.87 MB / 1.403 GB, free: 46.71 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002636/1.085, allocations: 4.307 MB / 1.407 GB, free: 42.38 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004702/1.09, allocations: 1.853 MB / 1.409 GB, free: 40.54 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002467/1.092, allocations: 2.444 MB / 1.411 GB, free: 38.09 MB / 0.9981 GB Notification: Performance of SimCode: time 1.162e-06/1.092, allocations: 4 kB / 1.411 GB, free: 38.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.979/3.072, allocations: 158.1 MB / 1.566 GB, free: 9.211 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.53/18.6, allocations: 10.58 kB / 1.566 GB, free: 9.203 MB / 1.123 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)