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.1921/0.1942, allocations: 80.84 MB / 0.6706 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06019/0.2544, allocations: 60.81 MB / 0.73 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0267/0.2811, allocations: 19.23 MB / 0.7488 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004028/0.2853, allocations: 79.62 kB / 0.7489 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005231/0.2905, allocations: 1.017 MB / 0.7499 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.4859/0.7765, allocations: 2.535 MB / 0.7523 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005337/0.7819, allocations: 1.549 MB / 0.7538 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02959/0.8115, allocations: 20.14 MB / 0.7735 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01606/0.8276, allocations: 10.16 MB / 0.7834 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01707/0.8447, allocations: 7.051 MB / 0.7903 GB, free: 460 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01402/0.8588, allocations: 6.291 MB / 0.7965 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003301/0.8621, allocations: 0.8961 MB / 0.7973 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008672/0.8708, allocations: 1.559 MB / 0.7989 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004438/0.8753, allocations: 2.231 MB / 0.801 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01181/0.8871, allocations: 4.59 MB / 0.8055 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01992/0.907, allocations: 12.73 MB / 0.8179 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.9071, allocations: 7.562 kB / 0.818 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.896e-06/0.9071, allocations: 0 / 0.818 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0005133/0.9076, allocations: 0 / 0.818 GB, free: 14.43 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.02408/0.9317, allocations: 8.522 MB / 0.8263 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.9318, allocations: 8.031 kB / 0.8263 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004294/0.9361, allocations: 0.902 MB / 0.8272 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01268/0.9488, allocations: 6.098 MB / 0.8331 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000396/0.9492, allocations: 459.3 kB / 0.8336 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00229/0.9515, allocations: 0.5886 MB / 0.8341 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02508/0.9766, allocations: 8.958 MB / 0.8429 GB, free: 4.504 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002362/0.9769, allocations: 27.77 kB / 0.8429 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001006/0.9779, allocations: 262.9 kB / 0.8432 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002502/0.9782, allocations: 187.9 kB / 0.8433 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02135/0.9996, allocations: 7.373 MB / 0.8505 GB, free: 12.66 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.06368/1.063, allocations: 39.16 MB / 0.8888 GB, free: 3.531 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008299/1.072, allocations: 4.503 MB / 0.8932 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006278/1.078, allocations: 3.503 MB / 0.8966 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/1.079, allocations: 491.9 kB / 0.8971 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005694/1.085, allocations: 2.727 MB / 0.8997 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003659/1.089, allocations: 407.7 kB / 0.9001 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=359): time 1.759e-05/1.089, allocations: 0 / 0.9001 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of matching and sorting (n=387): time 0.04801/1.137, allocations: 18.09 MB / 0.9178 GB, free: 5.602 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001701/1.137, allocations: 252.7 kB / 0.918 GB, free: 5.305 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01296/1.15, allocations: 5.59 MB / 0.9235 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.00136/1.151, allocations: 93.7 kB / 0.9236 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.004328/1.156, allocations: 3.184 MB / 0.9267 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.003167/1.159, allocations: 1.42 MB / 0.9281 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004422/1.163, allocations: 0.9656 MB / 0.929 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.163, allocations: 305.1 kB / 0.9293 GB, free: 9.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005221/1.169, allocations: 2.477 MB / 0.9317 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006546/1.175, allocations: 4.085 MB / 0.9357 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01162/1.187, allocations: 7.095 MB / 0.9426 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.229e-05/1.187, allocations: 16 kB / 0.9427 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=637) (initialization): time 0.01824/1.205, allocations: 7.56 MB / 0.95 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/1.205, allocations: 57.7 kB / 0.9501 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001352/1.206, allocations: 48 kB / 0.9501 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/1.207, allocations: 437.5 kB / 0.9506 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005451/1.212, allocations: 1.185 MB / 0.9517 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007516/1.22, allocations: 5.705 MB / 0.9573 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006636/1.227, allocations: 275.7 kB / 0.9576 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001371/1.228, allocations: 240 kB / 0.9578 GB, free: 10.88 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.008287/1.236, allocations: 2.463 MB / 0.9602 GB, free: 8.402 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002737/1.239, allocations: 0.5823 MB / 0.9608 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01747/1.257, allocations: 6.968 MB / 0.9676 GB, free: 0.7773 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.679e-05/1.257, allocations: 43.98 kB / 0.9676 GB, free: 0.7344 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-05/1.257, allocations: 4 kB / 0.9676 GB, free: 0.7305 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01113/1.268, allocations: 5.759 MB / 0.9732 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03653/1.304, allocations: 13.95 MB / 0.9869 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.38e-05/1.305, allocations: 16.19 kB / 0.9869 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003642/1.308, allocations: 0.7099 MB / 0.9876 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002118/1.31, allocations: 0.9557 MB / 0.9885 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000777/1.311, allocations: 123.9 kB / 0.9886 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01198/1.323, allocations: 13.94 MB / 1.002 GB, free: 12.38 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/1.323, allocations: 8 kB / 1.002 GB, free: 12.37 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01918/1.342, allocations: 9.821 MB / 1.012 GB, free: 2.352 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004817/1.347, allocations: 1.286 MB / 1.013 GB, free: 1.043 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002702/1.35, allocations: 103.9 kB / 1.013 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004821/1.355, allocations: 171.7 kB / 1.013 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009458/1.356, allocations: 270.6 kB / 1.014 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006657/1.357, allocations: 147.9 kB / 1.014 GB, free: 372 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.01011/1.367, allocations: 3.905 MB / 1.018 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.51e-07/1.367, allocations: 0 / 1.018 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.01139/1.378, allocations: 1.718 MB / 1.019 GB, free: 10.76 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.002407/1.381, allocations: 494.9 kB / 1.02 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01436/1.395, allocations: 6.268 MB / 1.026 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/1.395, allocations: 9.75 kB / 1.026 GB, free: 4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.007082/1.402, allocations: 3.226 MB / 1.029 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02008/1.422, allocations: 3.522 MB / 1.032 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03339/1.456, allocations: 15.29 MB / 1.047 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00811/1.464, allocations: 4.693 MB / 1.052 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.009258/1.473, allocations: 2.066 MB / 1.054 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003028/1.476, allocations: 0.4914 MB / 1.054 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of SimCode: time 1.543e-06/1.476, allocations: 0 / 1.054 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of Templates: time 0.545/2.021, allocations: 125 MB / 1.177 GB, free: 227.9 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)