Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1994/0.2014, allocations: 80.83 MB / 0.6706 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05724/0.2587, allocations: 60.81 MB / 0.73 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02621/0.2849, allocations: 19.23 MB / 0.7488 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003716/0.2888, allocations: 75.62 kB / 0.7489 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004151/0.2929, allocations: 1.04 MB / 0.7499 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.4924/0.7854, allocations: 2.646 MB / 0.7525 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005278/0.7907, allocations: 1.557 MB / 0.754 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02769/0.8184, allocations: 20.17 MB / 0.7737 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01805/0.8365, allocations: 10.17 MB / 0.7836 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01987/0.8564, allocations: 7.102 MB / 0.7905 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01424/0.8706, allocations: 6.289 MB / 0.7967 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003366/0.874, allocations: 0.8955 MB / 0.7976 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01307/0.8871, allocations: 1.563 MB / 0.7991 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.006498/0.8937, allocations: 2.223 MB / 0.8013 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01717/0.9109, allocations: 4.592 MB / 0.8057 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02577/0.9367, allocations: 12.69 MB / 0.8181 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.9368, allocations: 0 / 0.8181 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9368, allocations: 0 / 0.8181 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0006044/0.9374, allocations: 3.75 kB / 0.8181 GB, free: 14.41 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.03435/0.9718, allocations: 8.318 MB / 0.8263 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.9718, allocations: 15.97 kB / 0.8263 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00556/0.9774, allocations: 0.8509 MB / 0.8271 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01645/0.9939, allocations: 6.066 MB / 0.833 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006401/0.9946, allocations: 459.2 kB / 0.8335 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003298/0.9979, allocations: 0.5894 MB / 0.834 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02564/1.024, allocations: 8.956 MB / 0.8428 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000327/1.024, allocations: 27.72 kB / 0.8428 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00216/1.026, allocations: 258.3 kB / 0.8431 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002687/1.026, allocations: 184 kB / 0.8432 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01901/1.045, allocations: 7.378 MB / 0.8504 GB, free: 12.89 MB / 0.6387 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.06819/1.114, allocations: 39.1 MB / 0.8886 GB, free: 3.844 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007821/1.122, allocations: 4.506 MB / 0.893 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005672/1.127, allocations: 3.506 MB / 0.8964 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/1.128, allocations: 484.5 kB / 0.8969 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005282/1.134, allocations: 2.734 MB / 0.8996 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003536/1.137, allocations: 393.7 kB / 0.8999 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=359): time 2.223e-05/1.137, allocations: 0 / 0.8999 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of matching and sorting (n=387): time 0.04318/1.181, allocations: 17.98 MB / 0.9175 GB, free: 6.027 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000166/1.181, allocations: 244.7 kB / 0.9177 GB, free: 5.738 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.013/1.194, allocations: 5.597 MB / 0.9232 GB, free: 168 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.001156/1.195, allocations: 97.7 kB / 0.9233 GB, free: 64 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.004332/1.199, allocations: 3.107 MB / 0.9263 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.003165/1.202, allocations: 1.353 MB / 0.9277 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003646/1.206, allocations: 0.9574 MB / 0.9286 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.206, allocations: 305.1 kB / 0.9289 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006078/1.212, allocations: 2.469 MB / 0.9313 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008068/1.221, allocations: 4.085 MB / 0.9353 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01205/1.233, allocations: 7.107 MB / 0.9422 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-05/1.233, allocations: 16 kB / 0.9422 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=637) (initialization): time 0.01799/1.251, allocations: 7.533 MB / 0.9496 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/1.251, allocations: 50.67 kB / 0.9496 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001092/1.251, allocations: 52 kB / 0.9497 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/1.252, allocations: 436.6 kB / 0.9501 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005081/1.257, allocations: 1.193 MB / 0.9513 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006737/1.264, allocations: 5.688 MB / 0.9568 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006566/1.271, allocations: 271.6 kB / 0.9571 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001362/1.272, allocations: 244 kB / 0.9573 GB, free: 11.47 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 224 * 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 (608): * Single equations (assignments): 605 * 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.006941/1.279, allocations: 2.475 MB / 0.9597 GB, free: 8.984 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002759/1.282, allocations: 0.548 MB / 0.9603 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01729/1.299, allocations: 6.964 MB / 0.9671 GB, free: 1.395 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.296e-05/1.299, allocations: 43.98 kB / 0.9671 GB, free: 1.352 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.014e-05/1.299, allocations: 4 kB / 0.9671 GB, free: 1.348 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01139/1.311, allocations: 5.757 MB / 0.9727 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03779/1.349, allocations: 13.96 MB / 0.9864 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-05/1.349, allocations: 8 kB / 0.9864 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003462/1.352, allocations: 0.7106 MB / 0.9871 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002053/1.354, allocations: 0.9578 MB / 0.988 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006544/1.355, allocations: 127.9 kB / 0.9881 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/1.367, allocations: 13.93 MB / 1.002 GB, free: 13 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.247e-05/1.367, allocations: 11.94 kB / 1.002 GB, free: 12.99 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01949/1.386, allocations: 9.781 MB / 1.011 GB, free: 3.008 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004457/1.391, allocations: 1.259 MB / 1.013 GB, free: 1.723 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003091/1.394, allocations: 107.9 kB / 1.013 GB, free: 1.617 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005673/1.399, allocations: 167.8 kB / 1.013 GB, free: 1.453 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001093/1.401, allocations: 274.5 kB / 1.013 GB, free: 1.184 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007615/1.401, allocations: 147.6 kB / 1.013 GB, free: 1.043 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0106/1.412, allocations: 3.909 MB / 1.017 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.3e-07/1.412, allocations: 0 / 1.017 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.01001/1.422, allocations: 1.719 MB / 1.019 GB, free: 11.44 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 20 (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,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,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 (349): * Single equations (assignments): 331 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 16 * 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): 14 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001989/1.424, allocations: 490 kB / 1.019 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01217/1.436, allocations: 6.265 MB / 1.025 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-05/1.436, allocations: 8.156 kB / 1.025 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.006314/1.443, allocations: 3.224 MB / 1.028 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02007/1.463, allocations: 3.524 MB / 1.032 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03894/1.502, allocations: 15.06 MB / 1.047 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008416/1.51, allocations: 4.697 MB / 1.051 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.008612/1.519, allocations: 2.068 MB / 1.053 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002709/1.522, allocations: 0.4914 MB / 1.054 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of SimCode: time 1.212e-06/1.522, allocations: 0 / 1.054 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of Templates: time 0.6376/2.159, allocations: 125 MB / 1.176 GB, free: 230.9 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)