Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.626/2.626, allocations: 287.5 MB / 302.4 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001362/0.001362, allocations: 184.6 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.16/2.16, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001778/0.001778, allocations: 88.47 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004714/0.0004716, allocations: 11.34 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2094, allocations: 115.3 MB / 0.9784 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.06485/0.2743, allocations: 45.35 MB / 1.023 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02709/0.3015, allocations: 12.89 MB / 1.035 GB, free: 1.859 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002654/0.3042, allocations: 55.62 kB / 1.035 GB, free: 1.805 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003029/0.3072, allocations: 0.5705 MB / 1.036 GB, free: 1.23 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007633/0.3149, allocations: 1.768 MB / 1.038 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004825/0.3198, allocations: 0.9382 MB / 1.039 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.03318/0.353, allocations: 21.6 MB / 1.06 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01387/0.3669, allocations: 6.523 MB / 1.066 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6521/1.019, allocations: 4.766 MB / 1.071 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01941/1.039, allocations: 4.934 MB / 1.076 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.00338/1.042, allocations: 302.3 kB / 1.076 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0091/1.051, allocations: 0.7443 MB / 1.077 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.004928/1.056, allocations: 1.354 MB / 1.078 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.005979/1.062, allocations: 1.469 MB / 1.079 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01942/1.082, allocations: 9.423 MB / 1.088 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.082, allocations: 0 / 1.088 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.663e-06/1.082, allocations: 0 / 1.088 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004897/1.082, allocations: 0 / 1.088 GB, free: 15.04 MB / 0.6823 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.02792/1.11, allocations: 6.254 MB / 1.095 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.13e-05/1.11, allocations: 9.938 kB / 1.095 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006232/1.116, allocations: 0.7656 MB / 1.095 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00671/1.123, allocations: 0.7838 MB / 1.096 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01954/1.143, allocations: 5.977 MB / 1.102 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007715/1.144, allocations: 414.1 kB / 1.102 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00324/1.147, allocations: 0.5441 MB / 1.103 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03002/1.177, allocations: 8.024 MB / 1.111 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003893/1.177, allocations: 18.39 kB / 1.111 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002633/1.18, allocations: 238.3 kB / 1.111 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002928/1.18, allocations: 167.8 kB / 1.111 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02429/1.205, allocations: 6.482 MB / 1.117 GB, free: 10.43 MB / 0.6823 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.07528/1.28, allocations: 31.13 MB / 1.148 GB, free: 7.801 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/1.29, allocations: 3.623 MB / 1.151 GB, free: 6.285 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007302/1.298, allocations: 2.886 MB / 1.154 GB, free: 4.969 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001675/1.299, allocations: 0.8407 MB / 1.155 GB, free: 4.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/1.299, allocations: 73.95 kB / 1.155 GB, free: 4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=267): time 6.262e-06/1.3, allocations: 0 / 1.155 GB, free: 4 MB / 0.698 GB Notification: Performance of matching and sorting (n=267): time 0.02071/1.32, allocations: 5.73 MB / 1.161 GB, free: 0.957 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.669e-05/1.32, allocations: 78.17 kB / 1.161 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01289/1.333, allocations: 4.904 MB / 1.166 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001061/1.334, allocations: 79.36 kB / 1.166 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.004224/1.339, allocations: 2.84 MB / 1.168 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002191/1.341, allocations: 0.9393 MB / 1.169 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004021/1.341, allocations: 72.59 kB / 1.169 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003839/1.342, allocations: 464.7 kB / 1.17 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004874/1.347, allocations: 1.667 MB / 1.171 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006766/1.353, allocations: 2.92 MB / 1.174 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006774/1.36, allocations: 2.271 MB / 1.177 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.534e-05/1.36, allocations: 12 kB / 1.177 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01881/1.379, allocations: 5.396 MB / 1.182 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.185e-05/1.379, allocations: 26.48 kB / 1.182 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.098e-05/1.379, allocations: 40 kB / 1.182 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00178/1.381, allocations: 425.7 kB / 1.182 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006761/1.388, allocations: 0.8635 MB / 1.183 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009372/1.397, allocations: 5.261 MB / 1.188 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008713/1.406, allocations: 0.6432 MB / 1.189 GB, free: 7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001115/1.407, allocations: 186.2 kB / 1.189 GB, free: 6.82 MB / 0.7292 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 (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.007545/1.415, allocations: 2.26 MB / 1.191 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002164/1.417, allocations: 474.3 kB / 1.192 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01366/1.431, allocations: 4.164 MB / 1.196 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.768e-05/1.431, allocations: 32 kB / 1.196 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/1.431, allocations: 4 kB / 1.196 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01402/1.445, allocations: 3.615 MB / 1.199 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03845/1.483, allocations: 10.17 MB / 1.209 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.881e-05/1.483, allocations: 4 kB / 1.209 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00493/1.488, allocations: 0.5011 MB / 1.21 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001694/1.49, allocations: 378.6 kB / 1.21 GB, free: 1.098 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007602/1.491, allocations: 71.97 kB / 1.21 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009667/1.501, allocations: 5.201 MB / 1.215 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-05/1.501, allocations: 6.438 kB / 1.215 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01894/1.52, allocations: 6.212 MB / 1.221 GB, free: 5.227 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006651/1.526, allocations: 1.166 MB / 1.223 GB, free: 4.035 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002696/1.529, allocations: 63.98 kB / 1.223 GB, free: 3.973 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008009/1.537, allocations: 327.3 kB / 1.223 GB, free: 3.656 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009023/1.538, allocations: 176 kB / 1.223 GB, free: 3.488 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006344/1.539, allocations: 127.9 kB / 1.223 GB, free: 3.363 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.01079/1.55, allocations: 3.586 MB / 1.227 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.41e-07/1.55, allocations: 3.562 kB / 1.227 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01008/1.56, allocations: 1.777 MB / 1.228 GB, free: 14.01 MB / 0.7761 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 (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.02014/1.58, allocations: 7.119 MB / 1.235 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01283/1.593, allocations: 4.237 MB / 1.239 GB, free: 2.637 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.461e-05/1.593, allocations: 4 kB / 1.24 GB, free: 2.633 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.006028/1.599, allocations: 2.033 MB / 1.241 GB, free: 0.6289 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03064/1.63, allocations: 3.291 MB / 1.245 GB, free: 13.39 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1993/1.829, allocations: 45.29 MB / 1.289 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01041/1.839, allocations: 4.266 MB / 1.293 GB, free: 9.121 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.01234/1.852, allocations: 1.905 MB / 1.295 GB, free: 7.23 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007175/1.859, allocations: 2.414 MB / 1.297 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of SimCode: time 1.813e-06/1.859, allocations: 1.406 kB / 1.297 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.014/2.873, allocations: 159.1 MB / 1.453 GB, free: 344.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002858/2.873, allocations: 258.9 kB / 1.453 GB, free: 344.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/10.92, allocations: 1.438 kB / 1.453 GB, free: 344.4 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)