Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 108.9 kB / 16.29 MB, free: 6.43 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.001054/0.001054, allocations: 187.9 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.824/1.824, allocations: 292.3 MB / 0.5495 GB, free: 17.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 63.91 kB / 0.6722 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3284, allocations: 114.6 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.5464/0.8749, allocations: 56 MB / 0.8388 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02471/0.8996, allocations: 17.87 MB / 0.8562 GB, free: 15.96 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00382/0.9035, allocations: 71.91 kB / 0.8563 GB, free: 15.94 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003466/0.907, allocations: 0.8944 MB / 0.8572 GB, free: 15.37 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009263/0.9163, allocations: 2.485 MB / 0.8596 GB, free: 13.87 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005983/0.9223, allocations: 1.507 MB / 0.861 GB, free: 13.04 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02812/0.9505, allocations: 21.13 MB / 0.8817 GB, free: 1.867 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0189/0.9694, allocations: 10.67 MB / 0.8921 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01955/0.989, allocations: 7.164 MB / 0.8991 GB, free: 5.102 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01424/1.003, allocations: 6.366 MB / 0.9053 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.003421/1.007, allocations: 0.9375 MB / 0.9062 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009731/1.017, allocations: 1.702 MB / 0.9079 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.005311/1.022, allocations: 2.345 MB / 0.9102 GB, free: 9.719 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.01437/1.036, allocations: 4.684 MB / 0.9148 GB, free: 5.016 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.02002/1.056, allocations: 13.13 MB / 0.9276 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/1.056, allocations: 0 / 0.9276 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/1.056, allocations: 0 / 0.9276 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004591/1.057, allocations: 0 / 0.9276 GB, free: 7.852 MB / 0.7169 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.02686/1.084, allocations: 8.464 MB / 0.9359 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/1.084, allocations: 11.97 kB / 0.9359 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004542/1.088, allocations: 0.8509 MB / 0.9367 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01507/1.103, allocations: 6.305 MB / 0.9429 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005322/1.104, allocations: 463.6 kB / 0.9433 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00271/1.107, allocations: 0.5975 MB / 0.9439 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02986/1.137, allocations: 9.013 MB / 0.9527 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003551/1.137, allocations: 19.88 kB / 0.9527 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002589/1.14, allocations: 268 kB / 0.953 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002338/1.14, allocations: 179.9 kB / 0.9531 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01904/1.159, allocations: 7.449 MB / 0.9604 GB, free: 5.758 MB / 0.7481 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.06994/1.229, allocations: 35.97 MB / 0.9955 GB, free: 15.72 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008048/1.237, allocations: 4.287 MB / 0.9997 GB, free: 11.43 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005692/1.243, allocations: 3.292 MB / 1.003 GB, free: 8.129 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001661/1.244, allocations: 0.9544 MB / 1.004 GB, free: 6.988 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005134/1.25, allocations: 2.394 MB / 1.006 GB, free: 4.559 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003791/1.253, allocations: 371.8 kB / 1.007 GB, free: 4.191 MB / 0.795 GB Notification: Performance of pre-optimization done (n=317): time 2.553e-05/1.253, allocations: 0 / 1.007 GB, free: 4.191 MB / 0.795 GB Notification: Performance of matching and sorting (n=317): time 0.01631/1.27, allocations: 7.129 MB / 1.014 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.112e-05/1.27, allocations: 85.91 kB / 1.014 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01459/1.284, allocations: 5.58 MB / 1.019 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.00105/1.286, allocations: 85.7 kB / 1.019 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.004174/1.29, allocations: 3.176 MB / 1.022 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.002154/1.292, allocations: 1.121 MB / 1.023 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002471/1.294, allocations: 0.8464 MB / 1.024 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.815e-05/1.295, allocations: 309.1 kB / 1.024 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003971/1.299, allocations: 2.171 MB / 1.027 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005295/1.304, allocations: 3.693 MB / 1.03 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009657/1.314, allocations: 6.319 MB / 1.036 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.364e-05/1.314, allocations: 15.94 kB / 1.036 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01433/1.328, allocations: 6.772 MB / 1.043 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/1.328, allocations: 53.7 kB / 1.043 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001162/1.328, allocations: 48.09 kB / 1.043 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001315/1.33, allocations: 440.6 kB / 1.043 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004702/1.334, allocations: 1.002 MB / 1.044 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007054/1.341, allocations: 5.703 MB / 1.05 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006253/1.348, allocations: 284.7 kB / 1.05 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001228/1.349, allocations: 216 kB / 1.051 GB, free: 5.258 MB / 0.8419 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (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.00636/1.355, allocations: 2.46 MB / 1.053 GB, free: 2.785 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002509/1.358, allocations: 0.521 MB / 1.053 GB, free: 2.258 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/1.37, allocations: 5.258 MB / 1.059 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.327e-05/1.37, allocations: 32 kB / 1.059 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.769e-05/1.37, allocations: 8 kB / 1.059 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008287/1.379, allocations: 4.528 MB / 1.063 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02837/1.407, allocations: 12.01 MB / 1.075 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/1.407, allocations: 3.938 kB / 1.075 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003177/1.41, allocations: 0.6477 MB / 1.075 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009684/1.411, allocations: 375 kB / 1.076 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004679/1.412, allocations: 89.08 kB / 1.076 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006213/1.418, allocations: 5.611 MB / 1.081 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/1.418, allocations: 8.062 kB / 1.081 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01464/1.433, allocations: 7.76 MB / 1.089 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004233/1.437, allocations: 1.155 MB / 1.09 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002046/1.439, allocations: 63.94 kB / 1.09 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004536/1.443, allocations: 193 kB / 1.09 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006251/1.444, allocations: 198.2 kB / 1.09 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005391/1.445, allocations: 143.9 kB / 1.091 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.009424/1.454, allocations: 3.894 MB / 1.094 GB, free: 7.582 MB / 0.8887 GB Notification: Performance of sort global known variables: time 5.41e-07/1.454, allocations: 7.938 kB / 1.094 GB, free: 7.574 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.009537/1.464, allocations: 2.007 MB / 1.096 GB, free: 5.562 MB / 0.8887 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 (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.001944/1.466, allocations: 498.2 kB / 1.097 GB, free: 5.078 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01068/1.476, allocations: 5.444 MB / 1.102 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/1.476, allocations: 4 kB / 1.102 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.004414/1.481, allocations: 2.541 MB / 1.105 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01874/1.5, allocations: 3.402 MB / 1.108 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03255/1.532, allocations: 13.78 MB / 1.121 GB, free: 11.89 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0081/1.54, allocations: 4.603 MB / 1.126 GB, free: 7.254 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.008529/1.549, allocations: 2.052 MB / 1.128 GB, free: 5.215 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002469/1.551, allocations: 463.2 kB / 1.128 GB, free: 4.762 MB / 0.92 GB Notification: Performance of SimCode: time 8.02e-07/1.551, allocations: 0 / 1.128 GB, free: 4.762 MB / 0.92 GB Notification: Performance of Templates: time 0.6737/2.225, allocations: 121.9 MB / 1.247 GB, free: 216.2 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)