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.1755/0.1775, allocations: 80.84 MB / 0.6706 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0592/0.2368, allocations: 60.81 MB / 0.73 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02558/0.2624, allocations: 19.23 MB / 0.7488 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004059/0.2666, allocations: 79.62 kB / 0.7489 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003329/0.2699, allocations: 1.017 MB / 0.7498 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.52/0.79, allocations: 2.536 MB / 0.7523 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005936/0.7959, allocations: 1.545 MB / 0.7538 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.03295/0.8289, allocations: 20.15 MB / 0.7735 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02003/0.849, allocations: 10.16 MB / 0.7834 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02281/0.8718, allocations: 7.05 MB / 0.7903 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01548/0.8874, allocations: 6.29 MB / 0.7965 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.004032/0.8914, allocations: 0.8951 MB / 0.7973 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01142/0.9029, allocations: 1.564 MB / 0.7989 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.006095/0.909, allocations: 2.227 MB / 0.801 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01639/0.9254, allocations: 4.589 MB / 0.8055 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02156/0.9471, allocations: 12.69 MB / 0.8179 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.9471, allocations: 7.547 kB / 0.8179 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.786e-06/0.9471, allocations: 0 / 0.8179 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0005262/0.9477, allocations: 0 / 0.8179 GB, free: 14.56 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.02536/0.973, allocations: 8.303 MB / 0.826 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.9731, allocations: 8.031 kB / 0.826 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005426/0.9785, allocations: 0.8587 MB / 0.8269 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0176/0.9961, allocations: 6.075 MB / 0.8328 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005616/0.9968, allocations: 454.9 kB / 0.8332 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002964/0.9997, allocations: 0.5924 MB / 0.8338 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02708/1.027, allocations: 8.958 MB / 0.8426 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004213/1.027, allocations: 27.72 kB / 0.8426 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002484/1.03, allocations: 258.7 kB / 0.8428 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003175/1.03, allocations: 187.9 kB / 0.843 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01952/1.05, allocations: 7.373 MB / 0.8502 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.07242/1.122, allocations: 39.08 MB / 0.8884 GB, free: 4.012 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009855/1.132, allocations: 4.515 MB / 0.8928 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007703/1.14, allocations: 3.509 MB / 0.8962 GB, free: 12 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001307/1.141, allocations: 494.2 kB / 0.8967 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006929/1.148, allocations: 2.73 MB / 0.8994 GB, free: 8.688 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005312/1.154, allocations: 391.3 kB / 0.8997 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=359): time 3.228e-05/1.154, allocations: 4 kB / 0.8997 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of matching and sorting (n=387): time 0.0456/1.199, allocations: 17.97 MB / 0.9173 GB, free: 6.184 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001739/1.199, allocations: 252.6 kB / 0.9175 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01277/1.212, allocations: 5.593 MB / 0.923 GB, free: 324 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.001263/1.214, allocations: 93.7 kB / 0.9231 GB, free: 224 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.004179/1.218, allocations: 3.111 MB / 0.9261 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.002725/1.221, allocations: 1.355 MB / 0.9274 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003103/1.224, allocations: 0.9535 MB / 0.9284 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.224, allocations: 309.1 kB / 0.9287 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004233/1.228, allocations: 2.473 MB / 0.9311 GB, free: 8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005238/1.233, allocations: 4.085 MB / 0.9351 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/1.243, allocations: 7.095 MB / 0.942 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.181e-05/1.243, allocations: 12 kB / 0.942 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=637) (initialization): time 0.01382/1.257, allocations: 7.541 MB / 0.9494 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.086e-05/1.257, allocations: 53.7 kB / 0.9494 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.381e-05/1.257, allocations: 51.94 kB / 0.9495 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/1.258, allocations: 437.4 kB / 0.9499 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004578/1.263, allocations: 1.189 MB / 0.951 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006509/1.27, allocations: 5.694 MB / 0.9566 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006503/1.276, allocations: 263.5 kB / 0.9569 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001244/1.277, allocations: 240 kB / 0.9571 GB, free: 11.62 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.005876/1.283, allocations: 2.481 MB / 0.9595 GB, free: 9.133 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001974/1.285, allocations: 0.5441 MB / 0.96 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/1.298, allocations: 6.963 MB / 0.9668 GB, free: 1.551 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-05/1.298, allocations: 47.98 kB / 0.9669 GB, free: 1.504 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/1.298, allocations: 4 kB / 0.9669 GB, free: 1.5 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009739/1.308, allocations: 5.756 MB / 0.9725 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03021/1.338, allocations: 13.95 MB / 0.9861 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.019e-05/1.338, allocations: 4 kB / 0.9861 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003307/1.341, allocations: 0.7178 MB / 0.9868 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002038/1.344, allocations: 0.9617 MB / 0.9878 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004449/1.344, allocations: 123.9 kB / 0.9879 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0118/1.356, allocations: 13.93 MB / 1.002 GB, free: 13.15 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/1.356, allocations: 8 kB / 1.002 GB, free: 13.14 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01697/1.373, allocations: 9.789 MB / 1.011 GB, free: 3.16 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006681/1.38, allocations: 1.263 MB / 1.012 GB, free: 1.871 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002956/1.383, allocations: 103.9 kB / 1.012 GB, free: 1.77 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004595/1.387, allocations: 171.8 kB / 1.013 GB, free: 1.602 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007062/1.388, allocations: 266.6 kB / 1.013 GB, free: 1.34 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003604/1.388, allocations: 147.9 kB / 1.013 GB, free: 1.195 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00705/1.395, allocations: 3.905 MB / 1.017 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.41e-07/1.395, allocations: 0 / 1.017 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.008303/1.404, allocations: 1.719 MB / 1.018 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.0016/1.405, allocations: 491.6 kB / 1.019 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01077/1.416, allocations: 6.265 MB / 1.025 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-05/1.416, allocations: 5.75 kB / 1.025 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.006214/1.422, allocations: 3.218 MB / 1.028 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02275/1.445, allocations: 3.519 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.03377/1.479, allocations: 15.07 MB / 1.046 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00648/1.486, allocations: 4.693 MB / 1.051 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.007306/1.493, allocations: 2.073 MB / 1.053 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002197/1.495, allocations: 495.3 kB / 1.053 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of SimCode: time 1.183e-06/1.495, allocations: 0 / 1.053 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of Templates: time 0.5932/2.088, allocations: 125 MB / 1.176 GB, free: 229.4 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)