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.1997/0.2021, allocations: 80.83 MB / 0.6706 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0608/0.263, allocations: 60.82 MB / 0.73 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02886/0.2919, allocations: 19.22 MB / 0.7488 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004082/0.2961, allocations: 75.62 kB / 0.7489 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005645/0.3018, allocations: 1.028 MB / 0.7499 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.4898/0.7916, allocations: 2.529 MB / 0.7523 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005281/0.7969, allocations: 1.545 MB / 0.7538 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0289/0.8259, allocations: 20.14 MB / 0.7735 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01788/0.8438, allocations: 10.16 MB / 0.7834 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02088/0.8647, allocations: 7.099 MB / 0.7904 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01545/0.8802, allocations: 6.289 MB / 0.7965 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003441/0.8837, allocations: 0.8968 MB / 0.7974 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008642/0.8923, allocations: 1.561 MB / 0.7989 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004605/0.897, allocations: 2.227 MB / 0.8011 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01251/0.9095, allocations: 4.583 MB / 0.8056 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01747/0.927, allocations: 12.7 MB / 0.818 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.927, allocations: 0 / 0.818 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.482e-06/0.927, allocations: 0 / 0.818 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0004633/0.9275, allocations: 0 / 0.818 GB, free: 14.57 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.02258/0.9501, allocations: 8.316 MB / 0.8261 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.9502, allocations: 8.031 kB / 0.8261 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003553/0.9537, allocations: 0.8585 MB / 0.8269 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01504/0.9688, allocations: 6.078 MB / 0.8329 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004481/0.9693, allocations: 460 kB / 0.8333 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002493/0.9718, allocations: 0.5898 MB / 0.8339 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02083/0.9926, allocations: 8.955 MB / 0.8426 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001853/0.9929, allocations: 27.72 kB / 0.8426 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001285/0.9942, allocations: 260 kB / 0.8429 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000189/0.9944, allocations: 183.9 kB / 0.8431 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01575/1.01, allocations: 7.375 MB / 0.8503 GB, free: 13.05 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.05248/1.063, allocations: 39.08 MB / 0.8884 GB, free: 4.016 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006594/1.069, allocations: 4.515 MB / 0.8928 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004833/1.074, allocations: 3.509 MB / 0.8963 GB, free: 12 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009775/1.075, allocations: 486 kB / 0.8967 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004272/1.079, allocations: 2.729 MB / 0.8994 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00249/1.082, allocations: 395.3 kB / 0.8998 GB, free: 8.309 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=359): time 1.118e-05/1.082, allocations: 0 / 0.8998 GB, free: 8.309 MB / 0.6856 GB Notification: Performance of matching and sorting (n=387): time 0.03472/1.117, allocations: 17.97 MB / 0.9173 GB, free: 6.191 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/1.117, allocations: 244.7 kB / 0.9176 GB, free: 5.902 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007581/1.124, allocations: 5.597 MB / 0.923 GB, free: 336 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0007697/1.125, allocations: 93.7 kB / 0.9231 GB, free: 236 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.002705/1.128, allocations: 3.114 MB / 0.9262 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001764/1.13, allocations: 1.353 MB / 0.9275 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001353/1.131, allocations: 0.9627 MB / 0.9284 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.97e-05/1.131, allocations: 305.1 kB / 0.9287 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003619/1.135, allocations: 2.469 MB / 0.9311 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004764/1.14, allocations: 4.081 MB / 0.9351 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009703/1.149, allocations: 7.103 MB / 0.942 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.932e-05/1.149, allocations: 24 kB / 0.9421 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=637) (initialization): time 0.01282/1.162, allocations: 7.529 MB / 0.9494 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.779e-05/1.162, allocations: 54.64 kB / 0.9495 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.927e-05/1.162, allocations: 48 kB / 0.9495 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009797/1.163, allocations: 444.5 kB / 0.9499 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004276/1.168, allocations: 1.186 MB / 0.9511 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005787/1.173, allocations: 5.694 MB / 0.9567 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004613/1.178, allocations: 271.6 kB / 0.9569 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007499/1.179, allocations: 236 kB / 0.9571 GB, free: 11.63 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.004415/1.183, allocations: 2.478 MB / 0.9596 GB, free: 9.145 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001685/1.185, allocations: 0.5518 MB / 0.9601 GB, free: 8.586 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/1.197, allocations: 6.965 MB / 0.9669 GB, free: 1.555 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-05/1.197, allocations: 47.98 kB / 0.967 GB, free: 1.508 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/1.197, allocations: 4 kB / 0.967 GB, free: 1.504 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008945/1.206, allocations: 5.758 MB / 0.9726 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02886/1.235, allocations: 13.94 MB / 0.9862 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-05/1.235, allocations: 8 kB / 0.9862 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003143/1.238, allocations: 0.7105 MB / 0.9869 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001908/1.24, allocations: 0.9579 MB / 0.9878 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004315/1.241, allocations: 127.9 kB / 0.988 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/1.251, allocations: 13.93 MB / 1.002 GB, free: 13.16 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/1.252, allocations: 8 kB / 1.002 GB, free: 13.15 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01597/1.267, allocations: 9.787 MB / 1.011 GB, free: 3.168 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00383/1.271, allocations: 1.263 MB / 1.012 GB, free: 1.879 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001657/1.273, allocations: 107.9 kB / 1.012 GB, free: 1.773 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003581/1.277, allocations: 171.8 kB / 1.013 GB, free: 1.605 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006208/1.277, allocations: 266.6 kB / 1.013 GB, free: 1.344 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003998/1.278, allocations: 143.9 kB / 1.013 GB, free: 1.203 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00746/1.285, allocations: 3.909 MB / 1.017 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of sort global known variables: time 7.22e-07/1.285, allocations: 0 / 1.017 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.006479/1.292, allocations: 1.726 MB / 1.019 GB, free: 11.59 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.001338/1.293, allocations: 485.4 kB / 1.019 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.009862/1.303, allocations: 6.266 MB / 1.025 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/1.303, allocations: 3.781 kB / 1.025 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00533/1.308, allocations: 3.228 MB / 1.028 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02044/1.329, allocations: 3.516 MB / 1.032 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02852/1.357, allocations: 15.06 MB / 1.046 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008033/1.365, allocations: 4.697 MB / 1.051 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.008519/1.374, allocations: 2.074 MB / 1.053 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002582/1.377, allocations: 499.2 kB / 1.053 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of SimCode: time 1.152e-06/1.377, allocations: 0 / 1.053 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of Templates: time 0.5616/1.938, allocations: 126.7 MB / 1.177 GB, free: 227.8 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)