Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_11_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.00173/0.00173, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002143/0.002143, allocations: 199.2 kB / 16.26 MB, free: 6.629 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.257/1.257, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.45/2.45, allocations: 469.8 MB / 0.7421 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001693, allocations: 63.02 kB / 0.9082 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2662, allocations: 159.2 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05692/0.3232, allocations: 48.91 MB / 1.111 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01726/0.3405, allocations: 13.7 MB / 1.125 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.3417, allocations: 59.62 kB / 1.125 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.3432, allocations: 0.6838 MB / 1.125 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003874/0.3471, allocations: 2.096 MB / 1.128 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.3494, allocations: 1.19 MB / 1.129 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.02558/0.375, allocations: 19.68 MB / 1.148 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01027/0.3853, allocations: 9.828 MB / 1.157 GB, free: 13.98 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01121/0.3965, allocations: 6.552 MB / 1.164 GB, free: 7.449 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007083/0.4036, allocations: 5.942 MB / 1.17 GB, free: 1.484 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001084/0.4047, allocations: 0.8359 MB / 1.171 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003079/0.4078, allocations: 1.604 MB / 1.172 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001829/0.4096, allocations: 2.1 MB / 1.174 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.005531/0.4152, allocations: 4.268 MB / 1.178 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01204/0.4272, allocations: 11.9 MB / 1.19 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4273, allocations: 0 / 1.19 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4273, allocations: 0 / 1.19 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001259/0.4274, allocations: 0 / 1.19 GB, free: 12.71 MB / 0.9512 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.01135/0.4388, allocations: 7.717 MB / 1.197 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.4388, allocations: 8.031 kB / 1.197 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009531/0.4398, allocations: 0.7642 MB / 1.198 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.4417, allocations: 0.7969 MB / 1.199 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008996/0.4507, allocations: 6.228 MB / 1.205 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002992/0.451, allocations: 423.2 kB / 1.205 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007358/0.4517, allocations: 0.5466 MB / 1.206 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01519/0.4669, allocations: 8.065 MB / 1.214 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001001/0.4671, allocations: 15.88 kB / 1.214 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005079/0.4676, allocations: 236 kB / 1.214 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/0.4677, allocations: 167.9 kB / 1.214 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009204/0.4769, allocations: 6.52 MB / 1.221 GB, free: 12.84 MB / 0.9825 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.4022/0.8792, allocations: 31.12 MB / 1.251 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004056/0.8832, allocations: 3.65 MB / 1.255 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002755/0.886, allocations: 2.801 MB / 1.257 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006386/0.8866, allocations: 0.8278 MB / 1.258 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.8867, allocations: 74.56 kB / 1.258 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=267): time 4.188e-06/0.8867, allocations: 0 / 1.258 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=267): time 0.008477/0.8952, allocations: 5.761 MB / 1.264 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.8952, allocations: 84.25 kB / 1.264 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006033/0.9013, allocations: 5.028 MB / 1.269 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002442/0.9015, allocations: 80.67 kB / 1.269 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001593/0.9031, allocations: 2.867 MB / 1.272 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007006/0.9038, allocations: 0.944 MB / 1.273 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008099/0.9046, allocations: 0.7119 MB / 1.273 GB, free: 152.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.157e-05/0.9047, allocations: 303.2 kB / 1.274 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002088/0.9068, allocations: 1.676 MB / 1.275 GB, free: 152 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002573/0.9094, allocations: 2.932 MB / 1.278 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004725/0.9141, allocations: 4.969 MB / 1.283 GB, free: 146.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.866e-05/0.9141, allocations: 14.75 kB / 1.283 GB, free: 146.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.006802/0.9209, allocations: 5.43 MB / 1.288 GB, free: 144.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.921, allocations: 23.41 kB / 1.288 GB, free: 144.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-05/0.921, allocations: 39.78 kB / 1.288 GB, free: 144.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007836/0.9218, allocations: 436.6 kB / 1.289 GB, free: 144.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/0.9242, allocations: 0.8526 MB / 1.29 GB, free: 144.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003929/0.9282, allocations: 5.7 MB / 1.295 GB, free: 140.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003286/0.9315, allocations: 0.6464 MB / 1.296 GB, free: 140 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/0.9317, allocations: 181.2 kB / 1.296 GB, free: 140 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.002395/0.9341, allocations: 2.276 MB / 1.298 GB, free: 139 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005619/0.9346, allocations: 490.1 kB / 1.299 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004691/0.9393, allocations: 4.192 MB / 1.303 GB, free: 136.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.9394, allocations: 27.91 kB / 1.303 GB, free: 136.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.9394, allocations: 3.875 kB / 1.303 GB, free: 136.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003439/0.9428, allocations: 3.635 MB / 1.306 GB, free: 134.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/0.9534, allocations: 10.2 MB / 1.316 GB, free: 128.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.9534, allocations: 4 kB / 1.316 GB, free: 128.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001693/0.9551, allocations: 0.5008 MB / 1.317 GB, free: 127.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005915/0.9557, allocations: 379.4 kB / 1.317 GB, free: 127.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/0.9559, allocations: 71.97 kB / 1.317 GB, free: 127.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003463/0.9593, allocations: 5.655 MB / 1.323 GB, free: 121.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.9593, allocations: 4 kB / 1.323 GB, free: 121.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005839/0.9652, allocations: 6.251 MB / 1.329 GB, free: 114.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/0.9666, allocations: 1.076 MB / 1.33 GB, free: 113.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005152/0.9671, allocations: 61.84 kB / 1.33 GB, free: 113.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00245/0.9696, allocations: 332.3 kB / 1.33 GB, free: 113.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/0.9698, allocations: 177.6 kB / 1.33 GB, free: 113.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001819/0.97, allocations: 127.9 kB / 1.331 GB, free: 113 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003228/0.9733, allocations: 3.683 MB / 1.334 GB, free: 109.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9733, allocations: 4 kB / 1.334 GB, free: 109.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003144/0.9764, allocations: 1.782 MB / 1.336 GB, free: 107.6 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.006602/0.983, allocations: 7.168 MB / 1.343 GB, free: 100.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01038/0.9934, allocations: 8.073 MB / 1.351 GB, free: 92.21 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.9934, allocations: 4 kB / 1.351 GB, free: 92.21 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001834/0.9953, allocations: 2.038 MB / 1.353 GB, free: 90.14 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009925/1.005, allocations: 3.468 MB / 1.356 GB, free: 86.87 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09047/1.096, allocations: 58.54 MB / 1.413 GB, free: 23.33 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00268/1.098, allocations: 4.307 MB / 1.418 GB, free: 18.99 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004342/1.103, allocations: 1.845 MB / 1.419 GB, free: 17.15 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002295/1.105, allocations: 2.44 MB / 1.422 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/1.105, allocations: 4 kB / 1.422 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.49/8.595, allocations: 155.6 MB / 1.574 GB, free: 4.176 MB / 1.139 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006193/8.595, allocations: 285.9 kB / 1.574 GB, free: 3.789 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/20.5, allocations: 0 / 1.574 GB, free: 3.789 MB / 1.139 GB (rm -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)