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.7188/0.7188, allocations: 132.4 MB / 139.9 MB, free: 15.35 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00101/0.001011, allocations: 168.3 kB / 171.8 MB, free: 2.062 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.373/1.373, allocations: 170.6 MB / 374.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001712/0.001713, allocations: 114.3 kB / 444.8 MB, free: 9.27 MB / 346.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.5118/0.5119, allocations: 73.4 MB / 0.6666 GB, free: 46.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.763/1.275, allocations: 363.9 MB / 1.022 GB, free: 42.95 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/1.275, allocations: 102.5 kB / 1.022 GB, free: 42.9 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.9157/2.191, allocations: 272.1 MB / 1.288 GB, free: 82.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/2.191, allocations: 4 kB / 1.288 GB, free: 82.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002493/2.191, allocations: 42.75 kB / 1.288 GB, free: 82.17 MB / 0.6198 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.00535/2.197, allocations: 1.901 MB / 1.29 GB, free: 80.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/2.197, allocations: 8.031 kB / 1.29 GB, free: 80.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/2.198, allocations: 229.5 kB / 1.29 GB, free: 80 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004641/2.203, allocations: 2.188 MB / 1.292 GB, free: 77.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.812e-05/2.203, allocations: 48 kB / 1.292 GB, free: 77.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004546/2.203, allocations: 88 kB / 1.292 GB, free: 77.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00273/2.206, allocations: 1.583 MB / 1.294 GB, free: 76.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002763/2.209, allocations: 1.703 MB / 1.295 GB, free: 74.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.622e-05/2.209, allocations: 11.84 kB / 1.295 GB, free: 74.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/2.209, allocations: 4 kB / 1.295 GB, free: 74.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.667e-05/2.209, allocations: 47.98 kB / 1.295 GB, free: 74.2 MB / 0.6198 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.01094/2.22, allocations: 8.246 MB / 1.304 GB, free: 65.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/2.221, allocations: 1.252 MB / 1.305 GB, free: 64.44 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006311/2.222, allocations: 0.6059 MB / 1.305 GB, free: 63.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005388/2.227, allocations: 3.358 MB / 1.309 GB, free: 60.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/2.227, allocations: 39.34 kB / 1.309 GB, free: 60.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=93): time 2.755e-06/2.227, allocations: 0 / 1.309 GB, free: 60.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=96): time 0.00662/2.234, allocations: 2.981 MB / 1.312 GB, free: 57.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/2.234, allocations: 119.5 kB / 1.312 GB, free: 57.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/2.236, allocations: 1.21 MB / 1.313 GB, free: 55.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001268/2.236, allocations: 25.7 kB / 1.313 GB, free: 55.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004821/2.237, allocations: 0.7599 MB / 1.314 GB, free: 55.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/2.237, allocations: 335.1 kB / 1.314 GB, free: 54.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.63e-05/2.237, allocations: 4 kB / 1.314 GB, free: 54.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001142/2.237, allocations: 369.9 kB / 1.314 GB, free: 54.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000815/2.238, allocations: 0.6754 MB / 1.315 GB, free: 53.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009597/2.239, allocations: 1.05 MB / 1.316 GB, free: 52.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002589/2.241, allocations: 1.224 MB / 1.317 GB, free: 51.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/2.241, allocations: 4 kB / 1.317 GB, free: 51.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004296/2.246, allocations: 2.229 MB / 1.319 GB, free: 48.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001062/2.247, allocations: 4.1 MB / 1.323 GB, free: 44.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/2.247, allocations: 8 kB / 1.323 GB, free: 44.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.72e-05/2.247, allocations: 24 kB / 1.323 GB, free: 44.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/2.248, allocations: 375.4 kB / 1.324 GB, free: 44.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-05/2.248, allocations: 27.88 kB / 1.324 GB, free: 44.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/2.25, allocations: 107.6 kB / 1.324 GB, free: 44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/2.25, allocations: 64.05 kB / 1.324 GB, free: 43.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/2.25, allocations: 9.719 kB / 1.324 GB, free: 43.93 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003724/2.254, allocations: 2.057 MB / 1.326 GB, free: 41.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/2.254, allocations: 12 kB / 1.326 GB, free: 41.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/2.254, allocations: 20 kB / 1.326 GB, free: 41.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/2.255, allocations: 367.4 kB / 1.326 GB, free: 41.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/2.255, allocations: 19.94 kB / 1.326 GB, free: 41.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/2.257, allocations: 92.2 kB / 1.326 GB, free: 41.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/2.257, allocations: 64.08 kB / 1.327 GB, free: 41.31 MB / 0.6198 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.0003121/2.257, allocations: 144.5 kB / 1.327 GB, free: 41.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004146/2.258, allocations: 142.2 kB / 1.327 GB, free: 41.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00285/2.261, allocations: 1.497 MB / 1.328 GB, free: 39.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/2.261, allocations: 12 kB / 1.328 GB, free: 39.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/2.261, allocations: 3.984 kB / 1.328 GB, free: 39.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002029/2.263, allocations: 1.559 MB / 1.33 GB, free: 37.83 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006912/2.27, allocations: 4.468 MB / 1.334 GB, free: 33.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/2.27, allocations: 4 kB / 1.334 GB, free: 33.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007503/2.27, allocations: 187.8 kB / 1.334 GB, free: 32.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003399/2.271, allocations: 134.9 kB / 1.334 GB, free: 32.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.836e-05/2.271, allocations: 23.94 kB / 1.335 GB, free: 32.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009294/2.272, allocations: 1.763 MB / 1.336 GB, free: 30.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/2.272, allocations: 4 kB / 1.336 GB, free: 30.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003125/2.275, allocations: 2.436 MB / 1.339 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008205/2.276, allocations: 391.2 kB / 1.339 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003546/2.276, allocations: 12 kB / 1.339 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000962/2.277, allocations: 51.78 kB / 1.339 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.932e-05/2.277, allocations: 88.52 kB / 1.339 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.709e-05/2.277, allocations: 31.98 kB / 1.339 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001241/2.278, allocations: 0.9135 MB / 1.34 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/2.278, allocations: 0 / 1.34 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002933/2.281, allocations: 0.7655 MB / 1.341 GB, free: 25.98 MB / 0.6198 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.0009584/2.282, allocations: 466.8 kB / 1.341 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003078/2.285, allocations: 2.375 MB / 1.344 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/2.285, allocations: 9.5 kB / 1.344 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007654/2.286, allocations: 0.5775 MB / 1.344 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003092/2.289, allocations: 0.6548 MB / 1.345 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005063/2.294, allocations: 3.129 MB / 1.348 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/2.296, allocations: 1.701 MB / 1.349 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.003353/2.299, allocations: 1.135 MB / 1.351 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003948/2.299, allocations: 107.4 kB / 1.351 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of SimCode: time 7.21e-07/2.299, allocations: 0 / 1.351 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of Templates: time 0.4177/2.717, allocations: 29.01 MB / 1.379 GB, free: 117.8 MB / 0.6198 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)