Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.754/0.754, allocations: 132.4 MB / 139.9 MB, free: 2.84 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001125/0.001125, allocations: 176.6 kB / 171.8 MB, free: 4.918 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.265/1.265, allocations: 170.6 MB / 374.2 MB, free: 196 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001432/0.001432, allocations: 118 kB / 444.8 MB, free: 14.15 MB / 314.7 MB [/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.1583/0.1584, allocations: 73.42 MB / 0.6666 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.194/1.352, allocations: 363.9 MB / 1.022 GB, free: 94.67 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/1.353, allocations: 101.8 kB / 1.022 GB, free: 94.62 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.9492/2.302, allocations: 272.1 MB / 1.288 GB, free: 81.67 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/2.302, allocations: 0 / 1.288 GB, free: 81.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0003066/2.302, allocations: 47.22 kB / 1.288 GB, free: 81.63 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 357 * Number of variables: 357 Notification: Performance of Generate backend data structure: time 0.006592/2.309, allocations: 1.905 MB / 1.29 GB, free: 79.69 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/2.309, allocations: 8.031 kB / 1.29 GB, free: 79.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/2.311, allocations: 229.5 kB / 1.29 GB, free: 79.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005489/2.316, allocations: 2.183 MB / 1.292 GB, free: 77.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.501e-05/2.316, allocations: 47.95 kB / 1.292 GB, free: 77.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000609/2.317, allocations: 95.94 kB / 1.292 GB, free: 77.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003211/2.32, allocations: 1.583 MB / 1.294 GB, free: 75.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003518/2.324, allocations: 1.712 MB / 1.295 GB, free: 73.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.409e-05/2.324, allocations: 11.89 kB / 1.295 GB, free: 73.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002312/2.324, allocations: 4 kB / 1.295 GB, free: 73.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.778e-05/2.324, allocations: 39.94 kB / 1.295 GB, free: 73.65 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.01195/2.336, allocations: 8.253 MB / 1.304 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/2.337, allocations: 1.244 MB / 1.305 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006812/2.338, allocations: 0.6059 MB / 1.305 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005688/2.344, allocations: 3.344 MB / 1.309 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/2.344, allocations: 47.34 kB / 1.309 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=93): time 5.079e-06/2.344, allocations: 0 / 1.309 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=96): time 0.007182/2.351, allocations: 2.978 MB / 1.312 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/2.351, allocations: 115.6 kB / 1.312 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/2.353, allocations: 1.21 MB / 1.313 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001588/2.354, allocations: 25.7 kB / 1.313 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006065/2.354, allocations: 0.7715 MB / 1.314 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002642/2.354, allocations: 327.1 kB / 1.314 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/2.355, allocations: 0 / 1.314 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000119/2.355, allocations: 373.9 kB / 1.314 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008877/2.356, allocations: 0.6715 MB / 1.315 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/2.357, allocations: 1.062 MB / 1.316 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002769/2.359, allocations: 1.216 MB / 1.317 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/2.359, allocations: 4 kB / 1.317 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004324/2.364, allocations: 2.229 MB / 1.319 GB, free: 48.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001082/2.365, allocations: 4.103 MB / 1.323 GB, free: 43.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/2.365, allocations: 8 kB / 1.323 GB, free: 43.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.688e-05/2.365, allocations: 20 kB / 1.323 GB, free: 43.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/2.366, allocations: 379.4 kB / 1.324 GB, free: 43.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.484e-05/2.366, allocations: 27.92 kB / 1.324 GB, free: 43.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/2.368, allocations: 107.6 kB / 1.324 GB, free: 43.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001809/2.368, allocations: 75.86 kB / 1.324 GB, free: 43.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/2.368, allocations: 4 kB / 1.324 GB, free: 43.36 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003764/2.372, allocations: 2.049 MB / 1.326 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.754e-05/2.372, allocations: 12.05 kB / 1.326 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/2.372, allocations: 24.05 kB / 1.326 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/2.373, allocations: 371.4 kB / 1.326 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3e-05/2.373, allocations: 23.92 kB / 1.326 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/2.375, allocations: 87.97 kB / 1.326 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/2.375, allocations: 63.98 kB / 1.327 GB, free: 40.73 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003387/2.376, allocations: 155.7 kB / 1.327 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004773/2.376, allocations: 134.3 kB / 1.327 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00306/2.379, allocations: 1.497 MB / 1.328 GB, free: 38.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/2.379, allocations: 8 kB / 1.328 GB, free: 38.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/2.379, allocations: 0 / 1.328 GB, free: 38.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002126/2.381, allocations: 1.559 MB / 1.33 GB, free: 37.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007532/2.389, allocations: 4.473 MB / 1.334 GB, free: 32.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/2.389, allocations: 4 kB / 1.334 GB, free: 32.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007481/2.39, allocations: 187.7 kB / 1.334 GB, free: 32.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003322/2.39, allocations: 134.9 kB / 1.334 GB, free: 32.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-05/2.39, allocations: 19.98 kB / 1.335 GB, free: 32.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009943/2.391, allocations: 1.762 MB / 1.336 GB, free: 30.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/2.391, allocations: 12.12 kB / 1.336 GB, free: 30.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003353/2.394, allocations: 2.432 MB / 1.339 GB, free: 27.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/2.396, allocations: 387.3 kB / 1.339 GB, free: 27.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004886/2.396, allocations: 4 kB / 1.339 GB, free: 27.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/2.397, allocations: 63.73 kB / 1.339 GB, free: 27.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/2.397, allocations: 72.62 kB / 1.339 GB, free: 27.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.651e-05/2.398, allocations: 39.98 kB / 1.339 GB, free: 27.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001606/2.399, allocations: 0.9174 MB / 1.34 GB, free: 26.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/2.399, allocations: 0 / 1.34 GB, free: 26.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00494/2.404, allocations: 0.7693 MB / 1.341 GB, free: 25.38 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001855/2.406, allocations: 464.8 kB / 1.341 GB, free: 24.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004289/2.41, allocations: 2.38 MB / 1.344 GB, free: 22.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/2.41, allocations: 4 kB / 1.344 GB, free: 22.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009281/2.411, allocations: 0.5737 MB / 1.344 GB, free: 21.97 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003697/2.415, allocations: 0.6511 MB / 1.345 GB, free: 21.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005847/2.421, allocations: 3.136 MB / 1.348 GB, free: 18.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/2.422, allocations: 1.701 MB / 1.349 GB, free: 16.37 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003907/2.426, allocations: 1.138 MB / 1.351 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004708/2.427, allocations: 103.4 kB / 1.351 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of SimCode: time 2.685e-06/2.427, allocations: 0 / 1.351 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of Templates: time 0.4395/2.866, allocations: 29 MB / 1.379 GB, free: 118.7 MB / 0.6042 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)