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.2274/0.2282, allocations: 82.21 MB / 0.5935 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05889/0.2871, allocations: 56 MB / 0.6481 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02682/0.314, allocations: 18.01 MB / 0.6657 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003979/0.318, allocations: 67.62 kB / 0.6658 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003673/0.3217, allocations: 0.7102 MB / 0.6665 GB, free: 10.97 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.008896/0.3307, allocations: 2.036 MB / 0.6685 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004552/0.3352, allocations: 1.077 MB / 0.6695 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.02475/0.36, allocations: 22.86 MB / 0.6919 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4072/0.7673, allocations: 6.777 MB / 0.6985 GB, free: 26.44 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01392/0.7812, allocations: 5.26 MB / 0.7036 GB, free: 26.44 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01698/0.7983, allocations: 5.432 MB / 0.7089 GB, free: 26.42 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.003849/0.8022, allocations: 339.6 kB / 0.7092 GB, free: 26.42 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009594/0.8118, allocations: 0.7099 MB / 0.7099 GB, free: 26.42 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.005693/0.8175, allocations: 1.454 MB / 0.7114 GB, free: 26.42 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.009791/0.8273, allocations: 1.589 MB / 0.7129 GB, free: 26.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01747/0.8449, allocations: 9.917 MB / 0.7226 GB, free: 25.85 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.8449, allocations: 0 / 0.7226 GB, free: 25.85 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.106e-06/0.8449, allocations: 0 / 0.7226 GB, free: 25.85 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0005544/0.8455, allocations: 0 / 0.7226 GB, free: 25.85 MB / 0.545 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.02631/0.8718, allocations: 6.811 MB / 0.7292 GB, free: 23.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.8719, allocations: 9.719 kB / 0.7293 GB, free: 23.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007188/0.8791, allocations: 0.858 MB / 0.7301 GB, free: 22.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01597/0.8951, allocations: 5.851 MB / 0.7358 GB, free: 21.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004814/0.8956, allocations: 458.1 kB / 0.7362 GB, free: 21.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002908/0.8985, allocations: 0.5999 MB / 0.7368 GB, free: 21.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02929/0.9279, allocations: 8.915 MB / 0.7455 GB, free: 18.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006148/0.9285, allocations: 26.66 kB / 0.7456 GB, free: 18.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00359/0.9321, allocations: 259.2 kB / 0.7458 GB, free: 18.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002993/0.9325, allocations: 193.1 kB / 0.746 GB, free: 18.24 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02149/0.954, allocations: 7.332 MB / 0.7531 GB, free: 16.91 MB / 0.545 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.07422/1.028, allocations: 39.07 MB / 0.7913 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/1.039, allocations: 4.515 MB / 0.7957 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007866/1.047, allocations: 3.579 MB / 0.7992 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/1.048, allocations: 0.5096 MB / 0.7997 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007336/1.056, allocations: 2.725 MB / 0.8024 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005088/1.061, allocations: 475.4 kB / 0.8028 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=359): time 2.635e-05/1.061, allocations: 0 / 0.8028 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=387): time 0.05481/1.116, allocations: 17.84 MB / 0.8202 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001834/1.116, allocations: 256.3 kB / 0.8205 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01493/1.131, allocations: 5.355 MB / 0.8257 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001409/1.132, allocations: 93.7 kB / 0.8258 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00513/1.138, allocations: 3.121 MB / 0.8289 GB, free: 112 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002929/1.14, allocations: 1.35 MB / 0.8302 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001194/1.142, allocations: 100 kB / 0.8303 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0006199/1.142, allocations: 0.5048 MB / 0.8308 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00567/1.148, allocations: 2.448 MB / 0.8332 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006974/1.155, allocations: 4.063 MB / 0.8371 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006814/1.162, allocations: 3.272 MB / 0.8403 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.905e-05/1.162, allocations: 16 kB / 0.8403 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=637) (initialization): time 0.02111/1.183, allocations: 7.479 MB / 0.8476 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001653/1.183, allocations: 55.45 kB / 0.8477 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001347/1.183, allocations: 51.98 kB / 0.8477 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/1.185, allocations: 440.5 kB / 0.8482 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005881/1.191, allocations: 1.197 MB / 0.8493 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006761/1.197, allocations: 5.256 MB / 0.8545 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007677/1.205, allocations: 462.9 kB / 0.8549 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001495/1.207, allocations: 238.5 kB / 0.8551 GB, free: 4.648 MB / 0.6231 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 ($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 (608): * Single equations (assignments): 605 * 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.008482/1.215, allocations: 2.471 MB / 0.8575 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003002/1.218, allocations: 0.5519 MB / 0.8581 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01601/1.234, allocations: 6.94 MB / 0.8649 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.168e-05/1.234, allocations: 40 kB / 0.8649 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/1.234, allocations: 4 kB / 0.8649 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01057/1.245, allocations: 5.724 MB / 0.8705 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03346/1.278, allocations: 13.96 MB / 0.8841 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.311e-05/1.279, allocations: 11.95 kB / 0.8841 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003597/1.282, allocations: 0.7226 MB / 0.8848 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002306/1.284, allocations: 0.9911 MB / 0.8858 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008732/1.285, allocations: 119.9 kB / 0.8859 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01197/1.297, allocations: 13.44 MB / 0.899 GB, free: 7.004 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/1.297, allocations: 10.16 kB / 0.8991 GB, free: 6.996 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0193/1.317, allocations: 9.598 MB / 0.9084 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005663/1.322, allocations: 1.326 MB / 0.9097 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002072/1.325, allocations: 104 kB / 0.9098 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005787/1.33, allocations: 475 kB / 0.9103 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009916/1.331, allocations: 278 kB / 0.9105 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004206/1.332, allocations: 143.9 kB / 0.9107 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.009646/1.341, allocations: 3.714 MB / 0.9143 GB, free: 7.207 MB / 0.6856 GB Notification: Performance of sort global known variables: time 6.61e-07/1.342, allocations: 0 / 0.9143 GB, free: 7.207 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.01067/1.352, allocations: 1.699 MB / 0.916 GB, free: 5.508 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 16 * 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: 14 {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.002064/1.354, allocations: 456.9 kB / 0.9164 GB, free: 5.121 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01269/1.367, allocations: 6.158 MB / 0.9224 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/1.367, allocations: 0 / 0.9224 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00717/1.374, allocations: 3.171 MB / 0.9255 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01959/1.394, allocations: 3.343 MB / 0.9288 GB, free: 8.605 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03214/1.426, allocations: 17.46 MB / 0.9458 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005875/1.432, allocations: 4.695 MB / 0.9504 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.008161/1.44, allocations: 2.036 MB / 0.9524 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002494/1.443, allocations: 491.2 kB / 0.9529 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of SimCode: time 1.193e-06/1.443, allocations: 0 / 0.9529 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of Templates: time 0.518/1.961, allocations: 119.5 MB / 1.07 GB, free: 205.3 MB / 0.7325 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: