Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.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.HeatExchangers.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8702/0.8702, allocations: 132.4 MB / 139.7 MB, free: 15.52 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.001349/0.001349, allocations: 167.5 kB / 171.6 MB, free: 1.992 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.68/1.68, allocations: 170.5 MB / 373.9 MB, free: 15.83 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.001938/0.001938, allocations: 120.6 kB / 444.4 MB, free: 9.367 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.5624/0.5625, allocations: 73.4 MB / 0.666 GB, free: 62.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.82/6.382, allocations: 2.405 GB / 3.071 GB, free: 28.95 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003596/6.383, allocations: 88.7 kB / 3.071 GB, free: 28.87 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/Movers/BaseClasses/IdealSource.mo:9:3-17:27:writable] Error: The conditional expression control_m_flow could not be evaluated. Notification: Performance of FrontEnd: time 15.58/21.96, allocations: 3.614 GB / 6.685 GB, free: 51.33 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.002474/21.97, allocations: 197.1 kB / 6.686 GB, free: 51.31 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1527 * Number of variables: 1527 Notification: Performance of Generate backend data structure: time 0.03701/22, allocations: 8.393 MB / 6.694 GB, free: 48.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/22, allocations: 6.938 kB / 6.694 GB, free: 48.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01551/22.02, allocations: 1.829 MB / 6.696 GB, free: 48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04233/22.06, allocations: 16.2 MB / 6.711 GB, free: 46.77 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005053/22.06, allocations: 190.2 kB / 6.712 GB, free: 46.77 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004073/22.07, allocations: 384 kB / 6.712 GB, free: 46.77 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02572/22.09, allocations: 9.611 MB / 6.721 GB, free: 46.74 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03166/22.12, allocations: 10.14 MB / 6.731 GB, free: 46.15 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005063/22.12, allocations: 24.94 kB / 6.731 GB, free: 46.15 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003177/22.13, allocations: 8.344 kB / 6.731 GB, free: 46.15 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000339/22.13, allocations: 292.3 kB / 6.731 GB, free: 46.14 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0914/22.22, allocations: 47.84 MB / 6.778 GB, free: 28.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01211/22.23, allocations: 6.246 MB / 6.784 GB, free: 28.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007535/22.24, allocations: 3.942 MB / 6.788 GB, free: 28.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00125/22.24, allocations: 0.6049 MB / 6.789 GB, free: 27.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/22.24, allocations: 79.78 kB / 6.789 GB, free: 27.55 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=357): time 9.728e-06/22.24, allocations: 0 / 6.789 GB, free: 27.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=369): time 0.04784/22.29, allocations: 15.37 MB / 6.804 GB, free: 25.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/22.29, allocations: 138.8 kB / 6.804 GB, free: 25.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01971/22.31, allocations: 7.242 MB / 6.811 GB, free: 25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.002022/22.31, allocations: 33.92 kB / 6.811 GB, free: 24.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.003592/22.31, allocations: 2.282 MB / 6.813 GB, free: 23.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.005507/22.32, allocations: 1.254 MB / 6.815 GB, free: 23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004931/22.32, allocations: 1.156 kB / 6.815 GB, free: 23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0004432/22.32, allocations: 497.9 kB / 6.815 GB, free: 22.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005165/22.33, allocations: 3.129 MB / 6.818 GB, free: 22.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006957/22.33, allocations: 4.33 MB / 6.822 GB, free: 21.64 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008242/22.34, allocations: 4.149 MB / 6.826 GB, free: 21.59 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.517e-05/22.34, allocations: 6.125 kB / 6.826 GB, free: 21.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=489) (initialization): time 0.01567/22.36, allocations: 8.044 MB / 6.834 GB, free: 21.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.002591/22.36, allocations: 8.954 MB / 6.843 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-05/22.36, allocations: 18.12 kB / 6.843 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003886/22.36, allocations: 160.7 kB / 6.843 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005797/22.37, allocations: 1.054 MB / 6.844 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003077/22.37, allocations: 2.255 MB / 6.846 GB, free: 26.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01318/22.38, allocations: 0.7628 MB / 6.847 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001808/22.38, allocations: 164.2 kB / 6.847 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/22.38, allocations: 6.125 kB / 6.847 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01903/22.4, allocations: 7.395 MB / 6.854 GB, free: 26.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001034/22.4, allocations: 19.86 kB / 6.855 GB, free: 26.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004728/22.4, allocations: 162.1 kB / 6.855 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006358/22.41, allocations: 1.032 MB / 6.856 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003285/22.41, allocations: 2.258 MB / 6.858 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01108/22.42, allocations: 0.7293 MB / 6.859 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001737/22.43, allocations: 162 kB / 6.859 GB, free: 25.25 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (481): * Single equations (assignments): 480 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003145/22.43, allocations: 192.1 kB / 6.859 GB, free: 25.13 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003505/22.43, allocations: 0.5959 MB / 6.86 GB, free: 24.82 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0252/22.46, allocations: 7.99 MB / 6.867 GB, free: 24.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.781e-05/22.46, allocations: 41.94 kB / 6.867 GB, free: 24.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.432e-05/22.46, allocations: 4.844 kB / 6.867 GB, free: 24.46 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0145/22.47, allocations: 6.706 MB / 6.874 GB, free: 21.76 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04636/22.52, allocations: 18 MB / 6.891 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/22.52, allocations: 11.56 kB / 6.891 GB, free: 7.176 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00569/22.52, allocations: 0.962 MB / 6.892 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/22.53, allocations: 439.6 kB / 6.893 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000818/22.53, allocations: 85.72 kB / 6.893 GB, free: 6.008 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006069/22.53, allocations: 5.948 MB / 6.899 GB, free: 160 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-05/22.53, allocations: 12.31 kB / 6.899 GB, free: 152 kB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02704/22.56, allocations: 12.82 MB / 6.911 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008922/22.57, allocations: 2.012 MB / 6.913 GB, free: 2.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003626/22.57, allocations: 62.11 kB / 6.913 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009692/22.58, allocations: 0.677 MB / 6.914 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001427/22.58, allocations: 213.5 kB / 6.914 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001461/22.59, allocations: 153.7 kB / 6.914 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.02425/22.61, allocations: 6.605 MB / 6.921 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.03013/22.64, allocations: 3.97 MB / 6.925 GB, free: 11.21 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 27 (hex.hexReg[1].ele[1,1].vol1.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,1].mas.T,hex.hexReg[1].ele[1,2].vol1.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,2].mas.T,hex.hexReg[1].ele[1,3].vol1.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,3].mas.T,hex.hexReg[2].ele[1,1].vol1.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,1].mas.T,hex.hexReg[2].ele[1,2].vol1.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,2].mas.T,hex.hexReg[2].ele[1,3].vol1.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.m,hex.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,3].mas.T,hex.temSen_1.T,hex.temSen_2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (364): * Single equations (assignments): 355 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 6 {1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01101/22.65, allocations: 4.63 MB / 6.929 GB, free: 7.52 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.5801/23.23, allocations: 11.72 MB / 6.941 GB, free: 137.4 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.446e-05/23.23, allocations: 5 kB / 6.941 GB, free: 137.4 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.005466/23.24, allocations: 3.457 MB / 6.944 GB, free: 137.3 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02458/23.26, allocations: 4.309 MB / 6.948 GB, free: 137.3 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0622/23.32, allocations: 21.6 MB / 6.969 GB, free: 134.7 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01621/23.34, allocations: 7.42 MB / 6.977 GB, free: 133.8 MB / 0.7605 GB Notification: Performance of SimCode: time 1.252e-06/23.34, allocations: 2.969 kB / 6.977 GB, free: 133.8 MB / 0.7605 GB Notification: Performance of Templates: time 0.394/23.73, allocations: 218.2 MB / 7.19 GB, free: 62.71 MB / 0.7605 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe 2>&1)