Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_9_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.001787/0.001792, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002113/0.002113, allocations: 195 kB / 16.14 MB, free: 6.645 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.2/1.2, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 390.2 MB / 0.6643 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5054/0.5067, allocations: 140.4 MB / 0.949 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.03922/0.5459, allocations: 49 MB / 0.9969 GB, free: 0.9258 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01518/0.5611, allocations: 13.83 MB / 1.01 GB, free: 3.055 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001581/0.5627, allocations: 59.62 kB / 1.01 GB, free: 2.996 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.5643, allocations: 0.6486 MB / 1.011 GB, free: 2.344 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003832/0.5681, allocations: 2.096 MB / 1.013 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002192/0.5703, allocations: 1.184 MB / 1.014 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01821/0.5886, allocations: 25.62 MB / 1.039 GB, free: 5.387 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007695/0.5963, allocations: 8.114 MB / 1.047 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006317/0.6026, allocations: 4.996 MB / 1.052 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00574/0.6084, allocations: 5.59 MB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0007216/0.6091, allocations: 424 kB / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/0.6119, allocations: 1.1 MB / 1.059 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001272/0.6132, allocations: 1.619 MB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003694/0.6169, allocations: 3.748 MB / 1.064 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0085/0.6254, allocations: 11.57 MB / 1.076 GB, free: 16 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6254, allocations: 0 / 1.076 GB, free: 16 kB / 0.8262 GB Notification: Performance of FrontEnd: time 7.11e-07/0.6254, allocations: 0 / 1.076 GB, free: 16 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001332/0.6255, allocations: 0 / 1.076 GB, free: 16 kB / 0.8262 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.01071/0.6362, allocations: 7.71 MB / 1.083 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.6363, allocations: 8.031 kB / 1.083 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008432/0.6371, allocations: 0.7603 MB / 1.084 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/0.6391, allocations: 0.793 MB / 1.085 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008199/0.6473, allocations: 6.252 MB / 1.091 GB, free: 344 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002394/0.6475, allocations: 415.2 kB / 1.091 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006714/0.6482, allocations: 0.5428 MB / 1.092 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.6589, allocations: 8.061 MB / 1.1 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.054e-05/0.659, allocations: 23.78 kB / 1.1 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004745/0.6594, allocations: 236 kB / 1.1 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001283/0.6596, allocations: 175.9 kB / 1.1 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008716/0.6683, allocations: 6.52 MB / 1.106 GB, free: 132 kB / 0.8575 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.03033/0.6986, allocations: 31.14 MB / 1.137 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004564/0.7032, allocations: 3.644 MB / 1.14 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003293/0.7065, allocations: 2.807 MB / 1.143 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008138/0.7074, allocations: 0.8241 MB / 1.144 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.486e-05/0.7074, allocations: 68.67 kB / 1.144 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=267): time 4.167e-06/0.7074, allocations: 0 / 1.144 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of matching and sorting (n=267): time 0.009085/0.7165, allocations: 5.77 MB / 1.15 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.7166, allocations: 81.45 kB / 1.15 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006186/0.7228, allocations: 5.028 MB / 1.155 GB, free: 12.62 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.000195/0.723, allocations: 77.7 kB / 1.155 GB, free: 12.54 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001952/0.7249, allocations: 2.872 MB / 1.157 GB, free: 9.645 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.00078/0.7257, allocations: 0.9398 MB / 1.158 GB, free: 8.691 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008641/0.7266, allocations: 0.7113 MB / 1.159 GB, free: 7.973 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 7.553e-05/0.7267, allocations: 305.1 kB / 1.159 GB, free: 7.672 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/0.7289, allocations: 1.674 MB / 1.161 GB, free: 5.996 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002905/0.7318, allocations: 2.928 MB / 1.164 GB, free: 2.512 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00544/0.7372, allocations: 4.966 MB / 1.169 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.711e-05/0.7373, allocations: 12 kB / 1.169 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.0078/0.7451, allocations: 5.441 MB / 1.174 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.7451, allocations: 20 kB / 1.174 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.081e-05/0.7452, allocations: 44.78 kB / 1.174 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000866/0.746, allocations: 422.8 kB / 1.174 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002634/0.7487, allocations: 0.858 MB / 1.175 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004695/0.7534, allocations: 5.253 MB / 1.18 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003602/0.757, allocations: 0.6471 MB / 1.181 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002373/0.7572, allocations: 180 kB / 1.181 GB, free: 15.75 MB / 0.9512 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.003101/0.7603, allocations: 2.284 MB / 1.183 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000778/0.7611, allocations: 494.1 kB / 1.184 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005712/0.7669, allocations: 4.18 MB / 1.188 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.698e-05/0.7669, allocations: 35.94 kB / 1.188 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.7669, allocations: 4 kB / 1.188 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004536/0.7714, allocations: 3.628 MB / 1.192 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0137/0.7852, allocations: 10.2 MB / 1.202 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.7852, allocations: 7.938 kB / 1.202 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001948/0.7871, allocations: 0.5037 MB / 1.202 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007117/0.7879, allocations: 375 kB / 1.202 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001603/0.788, allocations: 75.97 kB / 1.202 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004632/0.7927, allocations: 5.208 MB / 1.208 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.7927, allocations: 11.94 kB / 1.208 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007871/0.8006, allocations: 6.247 MB / 1.214 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001878/0.8024, allocations: 1.072 MB / 1.215 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005738/0.803, allocations: 63.98 kB / 1.215 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002539/0.8056, allocations: 327.3 kB / 1.215 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000276/0.8059, allocations: 181.6 kB / 1.215 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002169/0.8061, allocations: 127.9 kB / 1.215 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.004493/0.8106, allocations: 3.687 MB / 1.219 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8106, allocations: 0 / 1.219 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003809/0.8144, allocations: 1.785 MB / 1.221 GB, free: 6.469 MB / 0.9825 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.008629/0.823, allocations: 7.182 MB / 1.228 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00561/0.8287, allocations: 4.254 MB / 1.232 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.8287, allocations: 4 kB / 1.232 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002478/0.8312, allocations: 2.036 MB / 1.234 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01109/0.8423, allocations: 3.285 MB / 1.237 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.463/1.305, allocations: 58.52 MB / 1.294 GB, free: 255.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002837/1.308, allocations: 4.304 MB / 1.298 GB, free: 252.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.004844/1.313, allocations: 1.834 MB / 1.3 GB, free: 252.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002508/1.316, allocations: 2.442 MB / 1.303 GB, free: 250.3 MB / 1.014 GB Notification: Performance of SimCode: time 8.51e-07/1.316, allocations: 3.406 kB / 1.303 GB, free: 250.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.862/4.177, allocations: 151.7 MB / 1.451 GB, free: 106.3 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/4.177, allocations: 282.4 kB / 1.451 GB, free: 105.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.105/10.28, allocations: 0 / 1.451 GB, free: 105.9 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)