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.4558/0.4583, allocations: 80.82 MB / 0.5904 GB, free: 22.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05647/0.5149, allocations: 60.81 MB / 0.6498 GB, free: 9.812 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03844/0.5534, allocations: 19.23 MB / 0.6686 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00455/0.5581, allocations: 75.62 kB / 0.6686 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004896/0.563, allocations: 1.017 MB / 0.6696 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01206/0.5751, allocations: 2.537 MB / 0.6721 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006941/0.5821, allocations: 1.544 MB / 0.6736 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02962/0.6117, allocations: 20.14 MB / 0.6933 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01861/0.6304, allocations: 10.17 MB / 0.7032 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01801/0.6484, allocations: 7.013 MB / 0.7101 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01507/0.6636, allocations: 6.292 MB / 0.7162 GB, free: 5.535 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.004007/0.6676, allocations: 0.8945 MB / 0.7171 GB, free: 4.641 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00845/0.6761, allocations: 1.561 MB / 0.7186 GB, free: 3.078 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.005383/0.6815, allocations: 2.224 MB / 0.7208 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01289/0.6944, allocations: 4.59 MB / 0.7253 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.02051/0.715, allocations: 12.54 MB / 0.7375 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.715, allocations: 0 / 0.7375 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.655e-06/0.7151, allocations: 0 / 0.7375 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0006766/0.7157, allocations: 0 / 0.7375 GB, free: 15.66 MB / 0.5762 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.02803/0.7438, allocations: 8.309 MB / 0.7456 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.7439, allocations: 12.03 kB / 0.7457 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005808/0.7497, allocations: 0.8586 MB / 0.7465 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01557/0.7653, allocations: 5.815 MB / 0.7522 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004976/0.7658, allocations: 460.1 kB / 0.7526 GB, free: 48 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3499/1.116, allocations: 0.5931 MB / 0.7532 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02753/1.143, allocations: 8.956 MB / 0.7619 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003752/1.144, allocations: 29.78 kB / 0.762 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001965/1.146, allocations: 260.9 kB / 0.7622 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002036/1.146, allocations: 188.9 kB / 0.7624 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01745/1.163, allocations: 7.368 MB / 0.7696 GB, free: 139.8 MB / 0.5762 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.04734/1.211, allocations: 39.34 MB / 0.808 GB, free: 100.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006046/1.217, allocations: 4.502 MB / 0.8124 GB, free: 96.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004428/1.221, allocations: 3.521 MB / 0.8158 GB, free: 92.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008964/1.222, allocations: 497.7 kB / 0.8163 GB, free: 92.14 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003742/1.226, allocations: 2.727 MB / 0.819 GB, free: 89.37 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002201/1.228, allocations: 387.5 kB / 0.8193 GB, free: 88.99 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=359): time 9.989e-06/1.228, allocations: 3.938 kB / 0.8194 GB, free: 88.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=387): time 0.03398/1.262, allocations: 17.98 MB / 0.8369 GB, free: 70.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.22e-05/1.262, allocations: 252.3 kB / 0.8372 GB, free: 70.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008811/1.271, allocations: 5.59 MB / 0.8426 GB, free: 65 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007691/1.272, allocations: 97.7 kB / 0.8427 GB, free: 64.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002788/1.275, allocations: 3.107 MB / 0.8457 GB, free: 61.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001936/1.277, allocations: 1.359 MB / 0.8471 GB, free: 60.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003002/1.28, allocations: 0.9535 MB / 0.848 GB, free: 59.46 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.978e-05/1.28, allocations: 305.1 kB / 0.8483 GB, free: 59.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003912/1.284, allocations: 2.473 MB / 0.8507 GB, free: 56.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004615/1.288, allocations: 4.085 MB / 0.8547 GB, free: 51.88 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008963/1.297, allocations: 7.098 MB / 0.8616 GB, free: 44.06 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.892e-05/1.297, allocations: 16 kB / 0.8616 GB, free: 44.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=637) (initialization): time 0.01544/1.313, allocations: 7.526 MB / 0.869 GB, free: 36.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/1.313, allocations: 57.77 kB / 0.869 GB, free: 36.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.983e-05/1.313, allocations: 52 kB / 0.8691 GB, free: 36.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/1.314, allocations: 439.4 kB / 0.8695 GB, free: 35.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00592/1.32, allocations: 1.189 MB / 0.8707 GB, free: 34.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006416/1.327, allocations: 5.689 MB / 0.8762 GB, free: 28.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008315/1.335, allocations: 275.5 kB / 0.8765 GB, free: 28.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001801/1.337, allocations: 239.9 kB / 0.8767 GB, free: 28.28 MB / 0.5762 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.005583/1.343, allocations: 2.472 MB / 0.8791 GB, free: 25.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002207/1.345, allocations: 0.548 MB / 0.8797 GB, free: 25.24 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/1.359, allocations: 6.971 MB / 0.8865 GB, free: 18.21 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.76e-05/1.359, allocations: 47.97 kB / 0.8865 GB, free: 18.17 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.632e-05/1.359, allocations: 4 kB / 0.8865 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008839/1.367, allocations: 5.76 MB / 0.8922 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02846/1.396, allocations: 14.02 MB / 0.9058 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.828e-05/1.396, allocations: 8 kB / 0.9059 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003594/1.4, allocations: 0.7146 MB / 0.9066 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002031/1.402, allocations: 0.9618 MB / 0.9075 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000628/1.402, allocations: 124.1 kB / 0.9076 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01113/1.413, allocations: 13.92 MB / 0.9212 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/1.414, allocations: 11.94 kB / 0.9212 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01815/1.432, allocations: 9.796 MB / 0.9308 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003833/1.436, allocations: 1.255 MB / 0.932 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001943/1.438, allocations: 99.97 kB / 0.9321 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003947/1.441, allocations: 175.6 kB / 0.9323 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008472/1.442, allocations: 270.6 kB / 0.9325 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006194/1.443, allocations: 143.9 kB / 0.9327 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.008906/1.452, allocations: 3.905 MB / 0.9365 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.61e-07/1.452, allocations: 0 / 0.9365 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.009362/1.461, allocations: 1.721 MB / 0.9382 GB, free: 12.12 MB / 0.6231 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.001894/1.463, allocations: 0.4904 MB / 0.9386 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02714/1.49, allocations: 13.77 MB / 0.9521 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.581e-05/1.49, allocations: 4.188 kB / 0.9521 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00644/1.497, allocations: 3.225 MB / 0.9552 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02016/1.517, allocations: 3.534 MB / 0.9587 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03237/1.549, allocations: 15.24 MB / 0.9736 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007861/1.557, allocations: 4.697 MB / 0.9782 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.008607/1.566, allocations: 2.061 MB / 0.9802 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002766/1.569, allocations: 499.2 kB / 0.9807 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of SimCode: time 1.082e-06/1.569, allocations: 0 / 0.9807 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of Templates: time 0.5009/2.07, allocations: 130.5 MB / 1.108 GB, free: 159.6 MB / 0.6856 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)