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.16/2.16, allocations: 248.5 MB / 261 MB, free: 6.008 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.001518/0.001517, allocations: 187.2 kB / 320.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.871/1.871, allocations: 205.2 MB / 0.571 GB, free: 11.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 105.4 kB / 0.6754 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.774e-05/3.785e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2011, allocations: 106.2 MB / 0.8907 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8446/1.046, allocations: 134.5 MB / 1.022 GB, free: 352 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003462/1.046, allocations: 83.62 kB / 1.022 GB, free: 300 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02161/1.068, allocations: 3.361 MB / 1.025 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.463e-06/1.068, allocations: 0 / 1.025 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.077e-06/1.068, allocations: 0 / 1.025 GB, free: 13.31 MB / 0.6511 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.0003617/1.068, allocations: 360 kB / 1.026 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.068, allocations: 8.031 kB / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.043e-05/1.068, allocations: 109.8 kB / 1.026 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.542e-05/1.068, allocations: 87.19 kB / 1.026 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/1.069, allocations: 278.8 kB / 1.026 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.523e-05/1.069, allocations: 154.5 kB / 1.026 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.123e-05/1.069, allocations: 150.6 kB / 1.027 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.479e-05/1.069, allocations: 109 kB / 1.027 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/1.069, allocations: 75.28 kB / 1.027 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.759e-05/1.069, allocations: 150.6 kB / 1.027 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.352e-05/1.069, allocations: 150.6 kB / 1.027 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.517e-05/1.069, allocations: 154.5 kB / 1.027 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/1.07, allocations: 475.2 kB / 1.028 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.237e-05/1.07, allocations: 165.8 kB / 1.028 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.807e-05/1.07, allocations: 80.14 kB / 1.028 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/1.07, allocations: 75.28 kB / 1.028 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.147e-05/1.07, allocations: 112.7 kB / 1.028 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 2.214e-06/1.07, allocations: 4 kB / 1.028 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 9.923e-05/1.07, allocations: 33.55 kB / 1.028 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/1.07, allocations: 126.7 kB / 1.028 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/1.07, allocations: 118.7 kB / 1.028 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/1.07, allocations: 29.7 kB / 1.028 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/1.07, allocations: 91.59 kB / 1.028 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.26e-06/1.07, allocations: 0 / 1.028 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/1.07, allocations: 3.938 kB / 1.028 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.07, allocations: 326.8 kB / 1.029 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.479e-05/1.07, allocations: 3.812 kB / 1.029 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.775e-05/1.071, allocations: 4 kB / 1.029 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.427e-05/1.071, allocations: 7.984 kB / 1.029 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/1.071, allocations: 0 / 1.029 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001424/1.071, allocations: 52.77 kB / 1.029 GB, free: 9.699 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.071, allocations: 8 kB / 1.029 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/1.071, allocations: 0 / 1.029 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/1.071, allocations: 3.984 kB / 1.029 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.332e-06/1.071, allocations: 0 / 1.029 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/1.071, allocations: 4.062 kB / 1.029 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.714e-05/1.071, allocations: 4 kB / 1.029 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/1.071, allocations: 0 / 1.029 GB, free: 9.68 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 9.871e-05/1.071, allocations: 184 kB / 1.029 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.353e-05/1.071, allocations: 108.9 kB / 1.029 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.136e-05/1.071, allocations: 108.6 kB / 1.029 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.899e-05/1.071, allocations: 184.2 kB / 1.029 GB, free: 9.082 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.836e-05/1.071, allocations: 183.7 kB / 1.03 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.661e-05/1.071, allocations: 180.2 kB / 1.03 GB, free: 8.715 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/1.072, allocations: 416 kB / 1.03 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.134e-05/1.072, allocations: 104.9 kB / 1.03 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.794e-05/1.072, allocations: 105 kB / 1.03 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.024e-05/1.072, allocations: 184.3 kB / 1.03 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.904e-05/1.072, allocations: 180.2 kB / 1.031 GB, free: 7.668 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.559e-05/1.072, allocations: 176.3 kB / 1.031 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.606e-05/1.072, allocations: 180.2 kB / 1.031 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/1.072, allocations: 319.1 kB / 1.031 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.578e-05/1.072, allocations: 182 kB / 1.031 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.48e-05/1.072, allocations: 191.4 kB / 1.032 GB, free: 6.578 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/1.073, allocations: 112.9 kB / 1.032 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/1.073, allocations: 177.2 kB / 1.032 GB, free: 6.281 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/1.073, allocations: 104.9 kB / 1.032 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.183e-05/1.073, allocations: 112.4 kB / 1.032 GB, free: 6.07 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.073, allocations: 0 / 1.032 GB, free: 6.07 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004188/1.073, allocations: 43.88 kB / 1.032 GB, free: 6.027 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.0007217/1.074, allocations: 0.8706 MB / 1.033 GB, free: 5.129 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001031/1.074, allocations: 37.39 kB / 1.033 GB, free: 5.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/1.074, allocations: 0 / 1.033 GB, free: 5.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.886e-06/1.074, allocations: 0 / 1.033 GB, free: 5.09 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/1.075, allocations: 0.5363 MB / 1.034 GB, free: 4.555 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/1.075, allocations: 194.1 kB / 1.034 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/1.075, allocations: 0.6887 MB / 1.034 GB, free: 3.617 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.542e-05/1.075, allocations: 0 / 1.034 GB, free: 3.617 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/1.075, allocations: 22.11 kB / 1.034 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of SimCode: time 7.81e-07/1.075, allocations: 0 / 1.034 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02131/1.097, allocations: 2.393 MB / 1.037 GB, free: 1.402 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003081/1.097, allocations: 181.7 kB / 1.037 GB, free: 1.184 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.348/3.446, allocations: 0 / 1.037 GB, free: 1.184 MB / 0.6511 GB