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.001096/0.001096, allocations: 103.8 kB / 16.27 MB, free: 6.418 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.001067/0.001067, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.353/1.353, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.77/1.77, allocations: 292.3 MB / 0.5495 GB, free: 17.7 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.001436/0.001437, allocations: 63.91 kB / 0.6721 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2568, allocations: 114.6 MB / 0.784 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4715/0.7283, allocations: 56 MB / 0.8387 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02667/0.755, allocations: 17.88 MB / 0.8562 GB, free: 104 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004716/0.7598, allocations: 76.78 kB / 0.8562 GB, free: 76 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003993/0.7639, allocations: 0.8939 MB / 0.8571 GB, free: 15.51 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01065/0.7746, allocations: 2.481 MB / 0.8595 GB, free: 14.01 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00551/0.7801, allocations: 1.505 MB / 0.861 GB, free: 13.18 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02657/0.8067, allocations: 21.12 MB / 0.8816 GB, free: 2.156 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01653/0.8233, allocations: 10.67 MB / 0.892 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01806/0.8414, allocations: 7.136 MB / 0.899 GB, free: 5.215 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01456/0.856, allocations: 6.37 MB / 0.9052 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.003326/0.8594, allocations: 0.9375 MB / 0.9062 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00834/0.8677, allocations: 1.698 MB / 0.9078 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.004828/0.8726, allocations: 2.333 MB / 0.9101 GB, free: 9.844 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.01212/0.8848, allocations: 4.688 MB / 0.9147 GB, free: 5.137 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.02007/0.9049, allocations: 12.99 MB / 0.9274 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/0.9049, allocations: 3.984 kB / 0.9274 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9049, allocations: 0 / 0.9274 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005135/0.9055, allocations: 0 / 0.9274 GB, free: 8.105 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.02527/0.9307, allocations: 8.456 MB / 0.9356 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.9308, allocations: 12.03 kB / 0.9356 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004597/0.9354, allocations: 0.8431 MB / 0.9365 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01303/0.9485, allocations: 6.316 MB / 0.9426 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004199/0.9489, allocations: 460.4 kB / 0.9431 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002253/0.9512, allocations: 0.5975 MB / 0.9436 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02064/0.9718, allocations: 9.021 MB / 0.9524 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001795/0.9721, allocations: 19.81 kB / 0.9525 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001285/0.9734, allocations: 268 kB / 0.9527 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000188/0.9736, allocations: 180 kB / 0.9529 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0168/0.9904, allocations: 7.445 MB / 0.9602 GB, free: 6.016 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.05674/1.047, allocations: 36.23 MB / 0.9955 GB, free: 15.72 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006631/1.054, allocations: 4.283 MB / 0.9997 GB, free: 11.44 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004626/1.058, allocations: 3.305 MB / 1.003 GB, free: 8.121 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001319/1.06, allocations: 0.9605 MB / 1.004 GB, free: 6.977 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003707/1.064, allocations: 2.386 MB / 1.006 GB, free: 4.555 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002835/1.066, allocations: 379.7 kB / 1.007 GB, free: 4.18 MB / 0.795 GB Notification: Performance of pre-optimization done (n=317): time 9.268e-06/1.066, allocations: 4 kB / 1.007 GB, free: 4.176 MB / 0.795 GB Notification: Performance of matching and sorting (n=317): time 0.01274/1.079, allocations: 7.125 MB / 1.014 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/1.079, allocations: 85.89 kB / 1.014 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009685/1.089, allocations: 5.576 MB / 1.019 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0009885/1.09, allocations: 89.7 kB / 1.019 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.003327/1.093, allocations: 3.172 MB / 1.022 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001797/1.095, allocations: 1.113 MB / 1.023 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001353/1.097, allocations: 0.8542 MB / 1.024 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.097, allocations: 309 kB / 1.024 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003401/1.1, allocations: 2.167 MB / 1.027 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004462/1.105, allocations: 3.689 MB / 1.03 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00876/1.113, allocations: 6.327 MB / 1.036 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-05/1.113, allocations: 12 kB / 1.036 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01236/1.126, allocations: 6.768 MB / 1.043 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.311e-05/1.126, allocations: 57.69 kB / 1.043 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.558e-05/1.126, allocations: 48 kB / 1.043 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/1.127, allocations: 432.7 kB / 1.044 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00377/1.131, allocations: 1.01 MB / 1.044 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005873/1.137, allocations: 5.696 MB / 1.05 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006114/1.143, allocations: 279.5 kB / 1.05 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/1.144, allocations: 221.8 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.006278/1.15, allocations: 2.46 MB / 1.053 GB, free: 2.785 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002353/1.153, allocations: 0.5249 MB / 1.053 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/1.164, allocations: 5.268 MB / 1.059 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.555e-05/1.164, allocations: 32 kB / 1.059 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/1.164, allocations: 7.828 kB / 1.059 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006956/1.171, allocations: 4.528 MB / 1.063 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02887/1.2, allocations: 12.02 MB / 1.075 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-05/1.2, allocations: 4 kB / 1.075 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003179/1.203, allocations: 0.6438 MB / 1.075 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009866/1.204, allocations: 366.7 kB / 1.076 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005617/1.205, allocations: 83.95 kB / 1.076 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006364/1.211, allocations: 5.627 MB / 1.081 GB, free: 5.066 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.211, allocations: 8 kB / 1.081 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01537/1.227, allocations: 7.752 MB / 1.089 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003941/1.231, allocations: 1.151 MB / 1.09 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002114/1.233, allocations: 79.86 kB / 1.09 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004827/1.238, allocations: 183.8 kB / 1.09 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006892/1.238, allocations: 206.2 kB / 1.091 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006523/1.239, allocations: 135.9 kB / 1.091 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.009082/1.248, allocations: 3.902 MB / 1.094 GB, free: 7.559 MB / 0.8887 GB Notification: Performance of sort global known variables: time 5.81e-07/1.248, allocations: 3.938 kB / 1.094 GB, free: 7.555 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.009306/1.257, allocations: 2.003 MB / 1.096 GB, free: 5.547 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.002167/1.26, allocations: 494.6 kB / 1.097 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.02293/1.283, allocations: 11.63 MB / 1.108 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/1.283, allocations: 4 kB / 1.108 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.004752/1.287, allocations: 2.541 MB / 1.111 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01894/1.306, allocations: 3.41 MB / 1.114 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03045/1.337, allocations: 13.99 MB / 1.128 GB, free: 5.516 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007153/1.344, allocations: 4.525 MB / 1.132 GB, free: 0.957 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002643/1.347, allocations: 479.3 kB / 1.133 GB, free: 500 kB / 0.92 GB Notification: Performance of SimCode: time 2.595e-06/1.347, allocations: 7.938 kB / 1.133 GB, free: 492 kB / 0.92 GB Notification: Performance of Templates: time 0.657/2.004, allocations: 185.8 MB / 1.314 GB, free: 148.8 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)