Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.377/2.377, allocations: 248.7 MB / 256.2 MB, free: 7.133 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001441/0.001441, allocations: 176.5 kB / 315.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.3 MB / 0.5662 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001547/0.001547, allocations: 97.34 kB / 0.6704 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.484e-05/2.481e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2018, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8814/1.083, allocations: 134.8 MB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/1.084, allocations: 85.88 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02171/1.105, allocations: 3.347 MB / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/1.105, allocations: 0 / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.536e-06/1.105, allocations: 0.9375 kB / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003946/1.106, allocations: 363.7 kB / 1.019 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/1.106, allocations: 8.031 kB / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.569e-05/1.106, allocations: 79.19 kB / 1.02 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/1.106, allocations: 274.5 kB / 1.02 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.587e-05/1.106, allocations: 157.2 kB / 1.02 GB, free: 404 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.866e-05/1.106, allocations: 150.6 kB / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.212e-05/1.107, allocations: 158.5 kB / 1.02 GB, free: 92 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.868e-05/1.107, allocations: 101 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.586e-05/1.107, allocations: 75.28 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.325e-05/1.107, allocations: 154.5 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-05/1.107, allocations: 150.6 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/1.107, allocations: 449.1 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/1.107, allocations: 176.2 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.233e-05/1.107, allocations: 88.14 kB / 1.021 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/1.107, allocations: 75.28 kB / 1.021 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.393e-05/1.107, allocations: 109.8 kB / 1.022 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 2.735e-06/1.107, allocations: 0 / 1.022 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 0.0001056/1.108, allocations: 37.59 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/1.108, allocations: 51.41 kB / 1.022 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/1.108, allocations: 113.7 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/1.108, allocations: 25.7 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.892e-05/1.108, allocations: 93.45 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/1.108, allocations: 224 / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/1.108, allocations: 0 / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.108, allocations: 322.8 kB / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.71e-05/1.108, allocations: 11.12 kB / 1.022 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.978e-05/1.108, allocations: 4 kB / 1.022 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/1.108, allocations: 27.34 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.108, allocations: 0 / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000272/1.109, allocations: 65.53 kB / 1.022 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/1.109, allocations: 4.781 kB / 1.022 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/1.109, allocations: 4 kB / 1.022 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/1.109, allocations: 3.984 kB / 1.022 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/1.109, allocations: 0 / 1.022 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/1.109, allocations: 4.062 kB / 1.022 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.641e-05/1.109, allocations: 0 / 1.022 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/1.109, allocations: 3.375 kB / 1.022 GB, free: 13.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001083/1.109, allocations: 180.3 kB / 1.022 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001006/1.109, allocations: 142.5 kB / 1.023 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.99e-05/1.109, allocations: 104.9 kB / 1.023 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.677e-05/1.109, allocations: 116.9 kB / 1.023 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.391e-05/1.109, allocations: 181 kB / 1.023 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.87e-05/1.109, allocations: 179.8 kB / 1.023 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-05/1.11, allocations: 184.2 kB / 1.023 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/1.11, allocations: 397.1 kB / 1.024 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.726e-05/1.11, allocations: 105 kB / 1.024 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.916e-05/1.11, allocations: 108.9 kB / 1.024 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.211e-05/1.11, allocations: 179.6 kB / 1.024 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.627e-05/1.11, allocations: 176.3 kB / 1.024 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-05/1.11, allocations: 184.2 kB / 1.024 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.87e-05/1.11, allocations: 180.3 kB / 1.025 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/1.11, allocations: 311.1 kB / 1.025 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.771e-05/1.111, allocations: 186 kB / 1.025 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.522e-05/1.111, allocations: 184.2 kB / 1.025 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/1.111, allocations: 105.9 kB / 1.025 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/1.111, allocations: 176.3 kB / 1.026 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/1.111, allocations: 105 kB / 1.026 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.045e-05/1.111, allocations: 100.5 kB / 1.026 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.21e-07/1.111, allocations: 0 / 1.026 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004568/1.112, allocations: 47.86 kB / 1.026 GB, free: 10.14 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0007762/1.112, allocations: 0.874 MB / 1.027 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001124/1.112, allocations: 33.7 kB / 1.027 GB, free: 9.207 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.112, allocations: 0 / 1.027 GB, free: 9.207 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.075e-05/1.113, allocations: 4 kB / 1.027 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/1.113, allocations: 0.533 MB / 1.027 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/1.114, allocations: 197.1 kB / 1.027 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/1.114, allocations: 0.6807 MB / 1.028 GB, free: 7.734 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.088e-05/1.114, allocations: 7.984 kB / 1.028 GB, free: 7.727 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/1.114, allocations: 17.75 kB / 1.028 GB, free: 7.719 MB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/1.114, allocations: 0 / 1.028 GB, free: 7.719 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04175/1.156, allocations: 1.861 MB / 1.03 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003627/1.156, allocations: 180.5 kB / 1.03 GB, free: 5.699 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.315/3.471, allocations: 1.547 kB / 1.03 GB, free: 5.699 MB / 0.6511 GB