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.2287/0.2319, allocations: 80.84 MB / 0.5897 GB, free: 7.156 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06206/0.294, allocations: 60.43 MB / 0.6487 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02676/0.3208, allocations: 19.18 MB / 0.6674 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004083/0.325, allocations: 75.56 kB / 0.6675 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003731/0.3288, allocations: 0.8274 MB / 0.6683 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008479/0.3373, allocations: 2.368 MB / 0.6706 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004622/0.3419, allocations: 1.398 MB / 0.672 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.4374/0.7793, allocations: 26.74 MB / 0.6981 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01499/0.7943, allocations: 8.301 MB / 0.7062 GB, free: 23.47 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01791/0.8123, allocations: 5.466 MB / 0.7115 GB, free: 22.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01402/0.8264, allocations: 6.103 MB / 0.7175 GB, free: 21.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002319/0.8287, allocations: 452.2 kB / 0.7179 GB, free: 21.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006797/0.8355, allocations: 1.045 MB / 0.719 GB, free: 21.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003223/0.8388, allocations: 1.72 MB / 0.7206 GB, free: 21.65 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01316/0.8519, allocations: 4.033 MB / 0.7246 GB, free: 20.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01923/0.8712, allocations: 12.16 MB / 0.7364 GB, free: 19.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.8713, allocations: 0 / 0.7364 GB, free: 19.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8713, allocations: 2.906 kB / 0.7364 GB, free: 19.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0004708/0.8717, allocations: 4 kB / 0.7364 GB, free: 19.17 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.02347/0.8952, allocations: 8.297 MB / 0.7446 GB, free: 15.3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.8953, allocations: 10.66 kB / 0.7446 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004036/0.8993, allocations: 0.8613 MB / 0.7454 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01396/0.9133, allocations: 6 MB / 0.7513 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006253/0.914, allocations: 468.2 kB / 0.7517 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002536/0.9165, allocations: 0.5951 MB / 0.7523 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02267/0.9392, allocations: 8.958 MB / 0.761 GB, free: 9.113 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001474/0.9394, allocations: 30.19 kB / 0.7611 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007407/0.9402, allocations: 257.7 kB / 0.7613 GB, free: 8.922 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001575/0.9403, allocations: 189.8 kB / 0.7615 GB, free: 8.902 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01623/0.9566, allocations: 7.372 MB / 0.7687 GB, free: 1.793 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.06578/1.022, allocations: 39.02 MB / 0.8068 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008896/1.031, allocations: 4.511 MB / 0.8112 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006116/1.037, allocations: 3.515 MB / 0.8146 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/1.039, allocations: 486.4 kB / 0.8151 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005674/1.044, allocations: 2.732 MB / 0.8178 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003731/1.048, allocations: 479.3 kB / 0.8182 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=359): time 1.525e-05/1.048, allocations: 0 / 0.8182 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of matching and sorting (n=387): time 0.04898/1.097, allocations: 17.85 MB / 0.8357 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001798/1.097, allocations: 247.5 kB / 0.8359 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01318/1.111, allocations: 5.398 MB / 0.8412 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.001166/1.112, allocations: 97.7 kB / 0.8413 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00425/1.116, allocations: 3.11 MB / 0.8443 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0025/1.119, allocations: 1.362 MB / 0.8456 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003172/1.122, allocations: 0.9496 MB / 0.8466 GB, free: 212 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.122, allocations: 305.1 kB / 0.8468 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004813/1.127, allocations: 2.465 MB / 0.8493 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005287/1.132, allocations: 4.075 MB / 0.8532 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009843/1.142, allocations: 7.079 MB / 0.8601 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.356e-05/1.142, allocations: 16 kB / 0.8602 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of matching and sorting (n=637) (initialization): time 0.01736/1.159, allocations: 7.506 MB / 0.8675 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/1.16, allocations: 53.7 kB / 0.8675 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001061/1.16, allocations: 48 kB / 0.8676 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/1.161, allocations: 439.9 kB / 0.868 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004611/1.165, allocations: 1.191 MB / 0.8692 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005853/1.171, allocations: 5.265 MB / 0.8743 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006823/1.178, allocations: 450.8 kB / 0.8747 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001268/1.179, allocations: 236 kB / 0.875 GB, free: 2.02 MB / 0.6544 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.00681/1.186, allocations: 2.471 MB / 0.8774 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00279/1.189, allocations: 0.548 MB / 0.8779 GB, free: 15.06 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0154/1.204, allocations: 6.947 MB / 0.8847 GB, free: 8.094 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.754e-05/1.205, allocations: 47.98 kB / 0.8847 GB, free: 8.047 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.853e-05/1.205, allocations: 4 kB / 0.8847 GB, free: 8.043 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01112/1.216, allocations: 5.749 MB / 0.8904 GB, free: 2.254 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03419/1.25, allocations: 13.96 MB / 0.904 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/1.25, allocations: 8 kB / 0.904 GB, free: 4.184 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003196/1.253, allocations: 0.707 MB / 0.9047 GB, free: 3.508 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002046/1.255, allocations: 0.9865 MB / 0.9057 GB, free: 2.48 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004534/1.256, allocations: 123.9 kB / 0.9058 GB, free: 2.359 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/1.267, allocations: 13.45 MB / 0.9189 GB, free: 4.332 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-05/1.267, allocations: 14.56 kB / 0.9189 GB, free: 4.32 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01741/1.285, allocations: 9.631 MB / 0.9283 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005259/1.29, allocations: 1.24 MB / 0.9295 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002491/1.292, allocations: 99.97 kB / 0.9296 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005894/1.298, allocations: 471.1 kB / 0.9301 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007237/1.299, allocations: 278.4 kB / 0.9304 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000359/1.3, allocations: 143.9 kB / 0.9305 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00671/1.306, allocations: 3.757 MB / 0.9342 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.11e-07/1.306, allocations: 0 / 0.9342 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.007118/1.313, allocations: 1.711 MB / 0.9358 GB, free: 2.844 MB / 0.7169 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 (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.001243/1.315, allocations: 465.6 kB / 0.9363 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009258/1.324, allocations: 6.182 MB / 0.9423 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/1.324, allocations: 0.9375 kB / 0.9423 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004755/1.329, allocations: 3.161 MB / 0.9454 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01614/1.345, allocations: 3.356 MB / 0.9487 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3521/1.697, allocations: 17.73 MB / 0.966 GB, free: 268 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005747/1.703, allocations: 4.699 MB / 0.9706 GB, free: 267.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00863/1.711, allocations: 2.032 MB / 0.9726 GB, free: 267.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002706/1.714, allocations: 494.4 kB / 0.973 GB, free: 267.1 MB / 0.7325 GB Notification: Performance of SimCode: time 1.113e-06/1.714, allocations: 0 / 0.973 GB, free: 267.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.1692/1.883, allocations: 123.8 MB / 1.094 GB, free: 167.2 MB / 0.7325 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)