Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.798/1.798, allocations: 288.4 MB / 303.6 MB, free: 8.129 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.001035/0.001035, allocations: 194.8 kB / 372.3 MB, free: 10.11 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.713/1.713, allocations: 205.4 MB / 0.631 GB, free: 9.852 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.0008168/0.0008169, allocations: 90.88 kB / 0.7444 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004506/0.0004507, allocations: 15.22 kB / 0.8675 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2625, allocations: 115.3 MB / 0.9801 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04568/0.3083, allocations: 51.55 MB / 1.03 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0228/0.3312, allocations: 16.74 MB / 1.047 GB, free: 6.855 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003123/0.3343, allocations: 59.62 kB / 1.047 GB, free: 6.797 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002378/0.3367, allocations: 0.6365 MB / 1.047 GB, free: 6.156 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007579/0.3443, allocations: 2.122 MB / 1.05 GB, free: 4.023 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004246/0.3486, allocations: 1.097 MB / 1.051 GB, free: 2.938 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.6716/1.02, allocations: 23.58 MB / 1.074 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01868/1.039, allocations: 8.403 MB / 1.082 GB, free: 27.57 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01633/1.055, allocations: 5.271 MB / 1.087 GB, free: 27.56 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01638/1.072, allocations: 5.476 MB / 1.092 GB, free: 27.54 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.004091/1.076, allocations: 346.3 kB / 1.093 GB, free: 27.54 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01072/1.087, allocations: 0.9874 MB / 1.094 GB, free: 27.54 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.005449/1.092, allocations: 1.524 MB / 1.095 GB, free: 27.54 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.01511/1.107, allocations: 3.71 MB / 1.099 GB, free: 27.24 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01975/1.127, allocations: 10.33 MB / 1.109 GB, free: 26.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/1.127, allocations: 3.844 kB / 1.109 GB, free: 26.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.167e-06/1.127, allocations: 4 kB / 1.109 GB, free: 26.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0007215/1.128, allocations: 1.344 kB / 1.109 GB, free: 26.7 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02608/1.154, allocations: 6.84 MB / 1.116 GB, free: 23.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/1.154, allocations: 11.83 kB / 1.116 GB, free: 23.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00727/1.161, allocations: 0.8425 MB / 1.116 GB, free: 23.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01768/1.179, allocations: 6.494 MB / 1.123 GB, free: 21.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008459/1.18, allocations: 467.1 kB / 1.123 GB, free: 21.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003732/1.184, allocations: 0.6002 MB / 1.124 GB, free: 21.19 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02956/1.213, allocations: 8.988 MB / 1.133 GB, free: 18.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003039/1.214, allocations: 23.86 kB / 1.133 GB, free: 18.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002009/1.216, allocations: 260.9 kB / 1.133 GB, free: 18.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003109/1.216, allocations: 176.6 kB / 1.133 GB, free: 18.35 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02214/1.238, allocations: 7.415 MB / 1.14 GB, free: 16.92 MB / 0.698 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.07742/1.316, allocations: 35.96 MB / 1.175 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008827/1.325, allocations: 4.261 MB / 1.179 GB, free: 68 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006445/1.331, allocations: 3.386 MB / 1.183 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001613/1.333, allocations: 0.9845 MB / 1.184 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005429/1.338, allocations: 2.378 MB / 1.186 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005012/1.343, allocations: 439.8 kB / 1.187 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=317): time 2.176e-05/1.343, allocations: 0 / 1.187 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of matching and sorting (n=317): time 0.01859/1.362, allocations: 7.105 MB / 1.193 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/1.362, allocations: 89.89 kB / 1.194 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01353/1.375, allocations: 5.334 MB / 1.199 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.001158/1.377, allocations: 89.7 kB / 1.199 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.005281/1.382, allocations: 3.172 MB / 1.202 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.003153/1.385, allocations: 1.119 MB / 1.203 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001045/1.386, allocations: 84 kB / 1.203 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000569/1.387, allocations: 499.6 kB / 1.204 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005418/1.392, allocations: 2.136 MB / 1.206 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006699/1.399, allocations: 3.677 MB / 1.209 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01127/1.41, allocations: 6.294 MB / 1.215 GB, free: 9.602 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.957e-05/1.41, allocations: 16 kB / 1.215 GB, free: 9.586 MB / 0.7605 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01791/1.428, allocations: 6.716 MB / 1.222 GB, free: 2.82 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/1.429, allocations: 63.25 kB / 1.222 GB, free: 2.754 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.14e-05/1.429, allocations: 48 kB / 1.222 GB, free: 2.707 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/1.43, allocations: 430.7 kB / 1.222 GB, free: 2.281 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004851/1.435, allocations: 1.014 MB / 1.223 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006208/1.441, allocations: 5.25 MB / 1.229 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007934/1.449, allocations: 478.7 kB / 1.229 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001472/1.45, allocations: 212 kB / 1.229 GB, free: 11.09 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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.00798/1.458, allocations: 2.469 MB / 1.232 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002684/1.461, allocations: 0.5133 MB / 1.232 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/1.475, allocations: 5.23 MB / 1.237 GB, free: 2.801 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.502e-05/1.475, allocations: 28 kB / 1.237 GB, free: 2.773 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.719e-05/1.475, allocations: 7.984 kB / 1.237 GB, free: 2.766 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008383/1.483, allocations: 4.523 MB / 1.242 GB, free: 14.14 MB / 0.7917 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 postOpt removeSimpleEquations (simulation): time 0.03108/1.514, allocations: 11.94 MB / 1.253 GB, free: 2.098 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/1.514, allocations: 3.938 kB / 1.253 GB, free: 2.094 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002938/1.517, allocations: 0.6515 MB / 1.254 GB, free: 1.441 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008963/1.518, allocations: 370.1 kB / 1.254 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003322/1.518, allocations: 83.95 kB / 1.254 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00527/1.524, allocations: 5.182 MB / 1.26 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.524, allocations: 3.938 kB / 1.26 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/1.537, allocations: 7.588 MB / 1.267 GB, free: 3.875 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004989/1.542, allocations: 1.213 MB / 1.268 GB, free: 2.637 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001899/1.544, allocations: 67.98 kB / 1.268 GB, free: 2.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005515/1.549, allocations: 470.1 kB / 1.269 GB, free: 2.113 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005017/1.55, allocations: 202.2 kB / 1.269 GB, free: 1.914 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004258/1.55, allocations: 139.9 kB / 1.269 GB, free: 1.777 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.008079/1.559, allocations: 3.706 MB / 1.273 GB, free: 14.09 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.51e-07/1.559, allocations: 0 / 1.273 GB, free: 14.09 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0104/1.569, allocations: 1.979 MB / 1.275 GB, free: 12.11 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.001804/1.571, allocations: 485.9 kB / 1.275 GB, free: 11.66 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01056/1.581, allocations: 5.359 MB / 1.28 GB, free: 6.246 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/1.581, allocations: 4 kB / 1.28 GB, free: 6.242 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004115/1.586, allocations: 2.5 MB / 1.283 GB, free: 3.715 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02011/1.606, allocations: 3.191 MB / 1.286 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03451/1.64, allocations: 16.04 MB / 1.301 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00833/1.649, allocations: 4.602 MB / 1.306 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.009355/1.658, allocations: 2.001 MB / 1.308 GB, free: 9.895 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003131/1.661, allocations: 455.2 kB / 1.308 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of SimCode: time 1.262e-06/1.661, allocations: 0 / 1.308 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of Templates: time 0.204/1.865, allocations: 113.6 MB / 1.419 GB, free: 8.582 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)