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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 106.4 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 192.6 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.183/3.183, allocations: 489 MB / 0.7678 GB, free: 29.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.89 kB / 1.101 GB, free: 5.891 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9326/0.9346, allocations: 163.8 MB / 1.261 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05698/0.9916, allocations: 49.39 MB / 1.309 GB, free: 5.566 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0211/1.013, allocations: 13.82 MB / 1.323 GB, free: 7.711 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002814/1.016, allocations: 71.62 kB / 1.323 GB, free: 7.641 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002602/1.018, allocations: 0.8031 MB / 1.324 GB, free: 6.832 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008198/1.027, allocations: 2.245 MB / 1.326 GB, free: 4.578 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004943/1.031, allocations: 1.316 MB / 1.327 GB, free: 3.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.02745/1.059, allocations: 19.64 MB / 1.346 GB, free: 15.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01541/1.074, allocations: 9.906 MB / 1.356 GB, free: 5.543 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01637/1.091, allocations: 6.717 MB / 1.363 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01136/1.102, allocations: 5.7 MB / 1.368 GB, free: 9.129 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.003039/1.105, allocations: 0.8438 MB / 1.369 GB, free: 8.285 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0076/1.113, allocations: 1.604 MB / 1.37 GB, free: 6.68 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004998/1.118, allocations: 2.111 MB / 1.373 GB, free: 4.562 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01098/1.129, allocations: 4.303 MB / 1.377 GB, free: 248 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02047/1.15, allocations: 12.14 MB / 1.389 GB, free: 4.07 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/1.15, allocations: 0 / 1.389 GB, free: 4.07 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.024e-06/1.15, allocations: 0 / 1.389 GB, free: 4.07 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0004491/1.15, allocations: 0 / 1.389 GB, free: 4.07 MB / 1.092 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.02554/1.176, allocations: 7.921 MB / 1.396 GB, free: 12.06 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.194e-05/1.176, allocations: 8.031 kB / 1.396 GB, free: 12.05 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003266/1.179, allocations: 0.7642 MB / 1.397 GB, free: 11.28 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005188/1.184, allocations: 0.8282 MB / 1.398 GB, free: 10.45 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0163/1.201, allocations: 6.354 MB / 1.404 GB, free: 4.035 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005376/1.201, allocations: 415.2 kB / 1.404 GB, free: 3.629 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002594/1.204, allocations: 0.5468 MB / 1.405 GB, free: 3.082 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02598/1.23, allocations: 8.065 MB / 1.413 GB, free: 10.78 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003338/1.23, allocations: 23.81 kB / 1.413 GB, free: 10.76 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002174/1.232, allocations: 236 kB / 1.413 GB, free: 10.53 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002427/1.233, allocations: 167.9 kB / 1.413 GB, free: 10.36 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01738/1.25, allocations: 6.528 MB / 1.42 GB, free: 3.824 MB / 1.123 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.05655/1.307, allocations: 31.31 MB / 1.45 GB, free: 2.68 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007242/1.314, allocations: 3.643 MB / 1.454 GB, free: 15.04 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004731/1.319, allocations: 2.8 MB / 1.457 GB, free: 12.23 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/1.32, allocations: 0.8319 MB / 1.457 GB, free: 11.23 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.956e-05/1.32, allocations: 68.67 kB / 1.457 GB, free: 11.16 MB / 1.17 GB Notification: Performance of pre-optimization done (n=267): time 4.9e-06/1.32, allocations: 0 / 1.457 GB, free: 11.16 MB / 1.17 GB Notification: Performance of matching and sorting (n=267): time 0.01215/1.332, allocations: 5.785 MB / 1.463 GB, free: 5.273 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/1.332, allocations: 77.52 kB / 1.463 GB, free: 5.184 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009268/1.341, allocations: 5.239 MB / 1.468 GB, free: 15.95 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.000755/1.342, allocations: 73.7 kB / 1.468 GB, free: 15.87 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.002957/1.345, allocations: 2.934 MB / 1.471 GB, free: 12.91 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.00164/1.347, allocations: 0.98 MB / 1.472 GB, free: 11.92 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001147/1.348, allocations: 0.7196 MB / 1.473 GB, free: 11.2 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.348, allocations: 309.1 kB / 1.473 GB, free: 10.89 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002802/1.351, allocations: 1.67 MB / 1.475 GB, free: 9.219 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003933/1.355, allocations: 2.943 MB / 1.478 GB, free: 5.727 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0074/1.362, allocations: 4.97 MB / 1.483 GB, free: 168 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.379e-05/1.362, allocations: 12 kB / 1.483 GB, free: 156 kB / 1.186 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01088/1.373, allocations: 5.456 MB / 1.488 GB, free: 10.64 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.316e-05/1.373, allocations: 24 kB / 1.488 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.455e-05/1.373, allocations: 43.98 kB / 1.488 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/1.374, allocations: 425.5 kB / 1.488 GB, free: 10.15 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00333/1.378, allocations: 0.8658 MB / 1.489 GB, free: 9.285 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006709/1.384, allocations: 5.695 MB / 1.495 GB, free: 3.32 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00488/1.389, allocations: 0.5315 MB / 1.495 GB, free: 2.785 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007773/1.39, allocations: 180 kB / 1.495 GB, free: 2.609 MB / 1.201 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.005391/1.396, allocations: 2.28 MB / 1.498 GB, free: 324 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001779/1.397, allocations: 0.501 MB / 1.498 GB, free: 15.81 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008269/1.406, allocations: 4.18 MB / 1.502 GB, free: 11.58 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.835e-05/1.406, allocations: 32 kB / 1.502 GB, free: 11.55 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/1.406, allocations: 4 kB / 1.502 GB, free: 11.54 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006009/1.412, allocations: 3.639 MB / 1.506 GB, free: 7.789 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02127/1.433, allocations: 10.27 MB / 1.516 GB, free: 13.34 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/1.433, allocations: 4 kB / 1.516 GB, free: 13.34 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002308/1.435, allocations: 0.4998 MB / 1.516 GB, free: 12.84 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009431/1.436, allocations: 375.3 kB / 1.517 GB, free: 12.47 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002961/1.437, allocations: 75.95 kB / 1.517 GB, free: 12.39 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00659/1.443, allocations: 5.652 MB / 1.522 GB, free: 6.461 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.338e-05/1.443, allocations: 11.92 kB / 1.522 GB, free: 6.449 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/1.457, allocations: 6.276 MB / 1.528 GB, free: 4 kB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003526/1.46, allocations: 1.118 MB / 1.529 GB, free: 14.86 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001145/1.461, allocations: 59.98 kB / 1.53 GB, free: 14.8 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002851/1.464, allocations: 183.7 kB / 1.53 GB, free: 14.62 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000375/1.465, allocations: 181.6 kB / 1.53 GB, free: 14.45 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002875/1.465, allocations: 131.9 kB / 1.53 GB, free: 14.32 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.006811/1.472, allocations: 3.839 MB / 1.534 GB, free: 10.49 MB / 1.248 GB Notification: Performance of sort global known variables: time 4.61e-07/1.472, allocations: 4 kB / 1.534 GB, free: 10.49 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.006788/1.479, allocations: 1.821 MB / 1.536 GB, free: 8.664 MB / 1.248 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.01237/1.491, allocations: 7.203 MB / 1.543 GB, free: 1.293 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.00779/1.499, allocations: 4.278 MB / 1.547 GB, free: 12.97 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.692e-05/1.499, allocations: 4 kB / 1.547 GB, free: 12.97 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.003522/1.502, allocations: 2.046 MB / 1.549 GB, free: 10.89 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01741/1.52, allocations: 3.462 MB / 1.552 GB, free: 7.531 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09503/1.615, allocations: 47.13 MB / 1.598 GB, free: 6.703 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005602/1.62, allocations: 4.303 MB / 1.602 GB, free: 2.367 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.00765/1.628, allocations: 1.858 MB / 1.604 GB, free: 0.5234 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.6958/2.324, allocations: 2.437 MB / 1.607 GB, free: 317.6 MB / 1.311 GB Notification: Performance of SimCode: time 2.575e-06/2.324, allocations: 0 / 1.607 GB, free: 317.6 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2213/2.545, allocations: 154.1 MB / 1.757 GB, free: 191.8 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.99/23.53, allocations: 4 kB / 1.757 GB, free: 191.8 MB / 1.311 GB " [Timeout remaining time 276] (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 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 29.884495115838945] Failed to read output from testmodel.py, exit status != 0: 23.70102990209125 23.709176018 22.557821696 Calling exit ...