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.1592/0.1598, allocations: 82.22 MB / 0.5934 GB, free: 6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04796/0.2078, allocations: 50.9 MB / 0.6431 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02297/0.2309, allocations: 16.75 MB / 0.6594 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003007/0.2339, allocations: 67.56 kB / 0.6595 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002726/0.2367, allocations: 0.8395 MB / 0.6603 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006806/0.2435, allocations: 2.021 MB / 0.6623 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003642/0.2471, allocations: 1.23 MB / 0.6635 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01352/0.2607, allocations: 11.06 MB / 0.6743 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009095/0.2698, allocations: 6.789 MB / 0.6809 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009422/0.2792, allocations: 4.454 MB / 0.6853 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009187/0.2885, allocations: 3.855 MB / 0.689 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001747/0.2902, allocations: 336 kB / 0.6893 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004685/0.2949, allocations: 0.7533 MB / 0.6901 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002025/0.297, allocations: 1.405 MB / 0.6915 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.3429/0.6399, allocations: 1.581 MB / 0.693 GB, free: 19.84 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.652, allocations: 9.859 MB / 0.7026 GB, free: 19.25 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.652, allocations: 0 / 0.7026 GB, free: 19.25 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.893e-06/0.652, allocations: 0.9688 kB / 0.7026 GB, free: 19.25 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003681/0.6524, allocations: 2.062 kB / 0.7026 GB, free: 19.25 MB / 0.5294 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.0145/0.6669, allocations: 6.811 MB / 0.7093 GB, free: 16.46 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.667, allocations: 8.875 kB / 0.7093 GB, free: 16.46 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003789/0.6708, allocations: 0.8588 MB / 0.7101 GB, free: 16.05 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01418/0.685, allocations: 5.616 MB / 0.7156 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004656/0.6854, allocations: 455.1 kB / 0.716 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001744/0.6872, allocations: 0.5936 MB / 0.7166 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01513/0.7023, allocations: 8.872 MB / 0.7253 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001352/0.7025, allocations: 27.81 kB / 0.7253 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005836/0.7031, allocations: 260.1 kB / 0.7256 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001838/0.7033, allocations: 196.2 kB / 0.7258 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01313/0.7164, allocations: 7.334 MB / 0.7329 GB, free: 12.55 MB / 0.5294 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.04777/0.7642, allocations: 39.22 MB / 0.7712 GB, free: 2.996 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006542/0.7708, allocations: 4.51 MB / 0.7756 GB, free: 2.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/0.772, allocations: 0.5042 MB / 0.7761 GB, free: 1.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003988/0.776, allocations: 2.738 MB / 0.7788 GB, free: 1.031 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003835/0.7798, allocations: 498.6 kB / 0.7793 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of pre-optimization done (n=359): time 1.067e-05/0.7798, allocations: 0 / 0.7793 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of matching and sorting (n=387): time 0.03677/0.8166, allocations: 17.81 MB / 0.7967 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.8168, allocations: 246.9 kB / 0.7969 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008858/0.8256, allocations: 5.589 MB / 0.8024 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008593/0.8265, allocations: 97.7 kB / 0.8024 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003135/0.8297, allocations: 3.112 MB / 0.8055 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002015/0.8317, allocations: 1.352 MB / 0.8068 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/0.832, allocations: 100 kB / 0.8069 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0003149/0.8323, allocations: 0.5048 MB / 0.8074 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004058/0.8364, allocations: 2.465 MB / 0.8098 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004971/0.8413, allocations: 4.062 MB / 0.8138 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004515/0.8459, allocations: 3.297 MB / 0.817 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.23e-05/0.8459, allocations: 15.95 kB / 0.817 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=637) (initialization): time 0.01164/0.8575, allocations: 7.531 MB / 0.8244 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.658e-05/0.8576, allocations: 51.48 kB / 0.8244 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.945e-05/0.8577, allocations: 52 kB / 0.8245 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009467/0.8587, allocations: 438.6 kB / 0.8249 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004015/0.8627, allocations: 1.189 MB / 0.826 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005643/0.8683, allocations: 5.342 MB / 0.8312 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006074/0.8744, allocations: 470.9 kB / 0.8317 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004406/0.8749, allocations: 232 kB / 0.8319 GB, free: 14.96 MB / 0.6075 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.005373/0.8803, allocations: 2.474 MB / 0.8343 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001541/0.8818, allocations: 0.548 MB / 0.8349 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/0.893, allocations: 6.977 MB / 0.8417 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.134e-05/0.8931, allocations: 48 kB / 0.8417 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.8931, allocations: 4 kB / 0.8417 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008359/0.9015, allocations: 5.772 MB / 0.8474 GB, free: 15.13 MB / 0.6231 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 postOpt removeSimpleEquations (simulation): time 0.02532/0.9268, allocations: 14.04 MB / 0.8611 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/0.9268, allocations: 16.11 kB / 0.8611 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002963/0.9298, allocations: 0.7183 MB / 0.8618 GB, free: 280 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002028/0.9319, allocations: 0.9796 MB / 0.8628 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002988/0.9322, allocations: 127.9 kB / 0.8629 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01059/0.9428, allocations: 13.52 MB / 0.8761 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/0.9428, allocations: 11 kB / 0.8761 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0176/0.9604, allocations: 10.68 MB / 0.8865 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007531/0.968, allocations: 1.372 MB / 0.8879 GB, free: 4.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002364/0.9704, allocations: 108 kB / 0.888 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005706/0.9761, allocations: 479 kB / 0.8884 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000652/0.9768, allocations: 280.2 kB / 0.8887 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003775/0.9772, allocations: 147.9 kB / 0.8888 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00761/0.9848, allocations: 3.894 MB / 0.8926 GB, free: 15.81 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9849, allocations: 0 / 0.8926 GB, free: 15.81 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009032/0.9939, allocations: 1.723 MB / 0.8943 GB, free: 14.09 MB / 0.67 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.00177/0.9957, allocations: 480.3 kB / 0.8948 GB, free: 13.67 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01111/1.007, allocations: 6.208 MB / 0.9008 GB, free: 7.594 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/1.007, allocations: 4 kB / 0.9008 GB, free: 7.59 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005659/1.013, allocations: 3.191 MB / 0.904 GB, free: 4.465 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01654/1.029, allocations: 3.27 MB / 0.9072 GB, free: 1.27 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03181/1.061, allocations: 17.48 MB / 0.9242 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005186/1.066, allocations: 4.813 MB / 0.9289 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.007442/1.074, allocations: 2.086 MB / 0.931 GB, free: 8.801 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001979/1.076, allocations: 494.7 kB / 0.9314 GB, free: 8.32 MB / 0.7012 GB Notification: Performance of SimCode: time 9.42e-07/1.076, allocations: 0 / 0.9314 GB, free: 8.32 MB / 0.7012 GB Notification: Performance of Templates: time 0.4969/1.573, allocations: 120 MB / 1.049 GB, free: 193.7 MB / 0.7169 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: