Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.759/1.759, allocations: 288.2 MB / 303.2 MB, free: 8.117 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.001404/0.001404, allocations: 179.4 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.0009704/0.0009702, allocations: 94.84 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004907/0.0004911, allocations: 15.39 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2817, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04425/0.326, allocations: 41.2 MB / 1.02 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01921/0.3453, allocations: 11.9 MB / 1.031 GB, free: 6.391 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00317/0.3485, allocations: 59.62 kB / 1.031 GB, free: 6.332 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003121/0.3517, allocations: 0.7423 MB / 1.032 GB, free: 5.586 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008717/0.3604, allocations: 1.959 MB / 1.034 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005314/0.3657, allocations: 1.419 MB / 1.035 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01506/0.3808, allocations: 10.45 MB / 1.046 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01165/0.3925, allocations: 6.531 MB / 1.052 GB, free: 1.156 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01138/0.404, allocations: 3.998 MB / 1.056 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008592/0.4126, allocations: 3.43 MB / 1.059 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002119/0.4148, allocations: 307.9 kB / 1.06 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006694/0.4215, allocations: 0.7962 MB / 1.06 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.003508/0.4251, allocations: 1.3 MB / 1.062 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.004062/0.4292, allocations: 1.471 MB / 1.063 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.6692/1.098, allocations: 9.366 MB / 1.072 GB, free: 23.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.098, allocations: 0 / 1.072 GB, free: 23.75 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.985e-06/1.099, allocations: 0 / 1.072 GB, free: 23.75 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0007072/1.099, allocations: 0 / 1.072 GB, free: 23.75 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.02337/1.123, allocations: 6.247 MB / 1.078 GB, free: 21.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.433e-05/1.123, allocations: 8.938 kB / 1.078 GB, free: 21.23 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005426/1.128, allocations: 0.7699 MB / 1.079 GB, free: 21.16 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007413/1.136, allocations: 0.7779 MB / 1.08 GB, free: 20.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01873/1.154, allocations: 5.547 MB / 1.085 GB, free: 20.09 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008769/1.155, allocations: 413.3 kB / 1.086 GB, free: 20.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003803/1.159, allocations: 0.5407 MB / 1.086 GB, free: 20.07 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03399/1.193, allocations: 7.986 MB / 1.094 GB, free: 19.28 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004585/1.194, allocations: 18.03 kB / 1.094 GB, free: 19.28 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00371/1.197, allocations: 243.6 kB / 1.094 GB, free: 19.27 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003728/1.198, allocations: 162.6 kB / 1.094 GB, free: 19.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02137/1.219, allocations: 6.484 MB / 1.101 GB, free: 19.22 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.05903/1.278, allocations: 31.38 MB / 1.131 GB, free: 18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00687/1.285, allocations: 3.617 MB / 1.135 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00127/1.286, allocations: 0.8387 MB / 1.136 GB, free: 16.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/1.287, allocations: 68.58 kB / 1.136 GB, free: 16.45 MB / 0.698 GB Notification: Performance of pre-optimization done (n=267): time 4.89e-06/1.287, allocations: 0 / 1.136 GB, free: 16.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=267): time 0.01259/1.299, allocations: 5.79 MB / 1.141 GB, free: 14.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/1.299, allocations: 81.42 kB / 1.141 GB, free: 14.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008882/1.308, allocations: 5.319 MB / 1.147 GB, free: 12.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001099/1.309, allocations: 79.77 kB / 1.147 GB, free: 12.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003018/1.312, allocations: 2.837 MB / 1.15 GB, free: 9.734 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001904/1.314, allocations: 0.9305 MB / 1.15 GB, free: 8.934 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002697/1.315, allocations: 80.81 kB / 1.15 GB, free: 8.871 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003379/1.315, allocations: 462 kB / 1.151 GB, free: 8.457 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002926/1.318, allocations: 1.687 MB / 1.153 GB, free: 7.582 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003888/1.322, allocations: 2.924 MB / 1.155 GB, free: 5.074 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003719/1.326, allocations: 2.286 MB / 1.158 GB, free: 3.863 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.369e-05/1.326, allocations: 11.06 kB / 1.158 GB, free: 3.863 MB / 0.698 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01037/1.336, allocations: 5.445 MB / 1.163 GB, free: 1.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.182e-05/1.336, allocations: 26.08 kB / 1.163 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.659e-05/1.336, allocations: 38.84 kB / 1.163 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/1.337, allocations: 429.7 kB / 1.163 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003165/1.34, allocations: 0.8551 MB / 1.164 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006212/1.347, allocations: 5.344 MB / 1.17 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006869/1.353, allocations: 0.682 MB / 1.17 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009907/1.355, allocations: 176 kB / 1.17 GB, free: 9.809 MB / 0.7136 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.005817/1.36, allocations: 2.256 MB / 1.173 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002134/1.362, allocations: 486.1 kB / 1.173 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008342/1.371, allocations: 4.208 MB / 1.177 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.482e-05/1.371, allocations: 27.98 kB / 1.177 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.371, allocations: 6.516 kB / 1.177 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00559/1.377, allocations: 3.667 MB / 1.181 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0231/1.4, allocations: 10.09 MB / 1.191 GB, free: 4.918 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/1.4, allocations: 8 kB / 1.191 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002101/1.402, allocations: 0.4939 MB / 1.191 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009041/1.403, allocations: 371.9 kB / 1.191 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002139/1.403, allocations: 79.95 kB / 1.192 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006479/1.409, allocations: 5.259 MB / 1.197 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/1.409, allocations: 7.656 kB / 1.197 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01231/1.422, allocations: 6.896 MB / 1.203 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005127/1.427, allocations: 1.254 MB / 1.205 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002202/1.429, allocations: 59.98 kB / 1.205 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005074/1.434, allocations: 337.5 kB / 1.205 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003857/1.435, allocations: 172.5 kB / 1.205 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004008/1.435, allocations: 123.9 kB / 1.205 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.007634/1.443, allocations: 3.919 MB / 1.209 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.91e-07/1.443, allocations: 4 kB / 1.209 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.009222/1.452, allocations: 1.804 MB / 1.211 GB, free: 15.66 MB / 0.7605 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.01561/1.468, allocations: 8.666 MB / 1.219 GB, free: 6.828 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.008469/1.476, allocations: 4.285 MB / 1.224 GB, free: 2.633 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.118e-05/1.476, allocations: 4 kB / 1.224 GB, free: 2.629 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003783/1.48, allocations: 2.06 MB / 1.226 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0201/1.5, allocations: 3.219 MB / 1.229 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1561/1.656, allocations: 72.7 MB / 1.3 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00763/1.664, allocations: 4.386 MB / 1.304 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.009689/1.674, allocations: 1.972 MB / 1.306 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006486/1.68, allocations: 2.413 MB / 1.308 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of SimCode: time 1.643e-06/1.68, allocations: 0 / 1.308 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.736/2.416, allocations: 160.6 MB / 1.465 GB, free: 335.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/2.417, allocations: 259.7 kB / 1.465 GB, free: 335.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.78/9.197, allocations: 0 / 1.465 GB, free: 335.5 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)