Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.582/1.582, allocations: 285.4 MB / 298 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 176.8 kB / 366.4 MB, free: 2.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.1 MB / 0.6248 GB, free: 7.746 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008686/0.0008687, allocations: 83.84 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.868e-05/2.87e-05, allocations: 8 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6574/0.6574, allocations: 115.3 MB / 0.9709 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8327/1.49, allocations: 369.3 MB / 1.332 GB, free: 225.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/1.49, allocations: 88.88 kB / 1.332 GB, free: 225.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03168/1.522, allocations: 16.37 MB / 1.348 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.783e-06/1.522, allocations: 0 / 1.348 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.751e-06/1.522, allocations: 0 / 1.348 GB, free: 209.3 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002652/1.522, allocations: 366.4 kB / 1.348 GB, free: 208.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/1.522, allocations: 12.02 kB / 1.348 GB, free: 208.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/1.523, allocations: 0 / 1.348 GB, free: 208.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.875e-05/1.523, allocations: 170.9 kB / 1.348 GB, free: 208.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/1.523, allocations: 0 / 1.348 GB, free: 208.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/1.523, allocations: 3.938 kB / 1.348 GB, free: 208.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.364e-05/1.523, allocations: 41.64 kB / 1.348 GB, free: 208.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/1.523, allocations: 0 / 1.348 GB, free: 208.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/1.523, allocations: 0 / 1.348 GB, free: 208.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/1.523, allocations: 4 kB / 1.348 GB, free: 208.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.215e-05/1.523, allocations: 7.984 kB / 1.348 GB, free: 208.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001268/1.523, allocations: 153.7 kB / 1.348 GB, free: 208.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.124e-05/1.523, allocations: 18.58 kB / 1.348 GB, free: 208.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.932e-05/1.523, allocations: 20.86 kB / 1.348 GB, free: 208.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/1.523, allocations: 102.5 kB / 1.348 GB, free: 208.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/1.523, allocations: 30.56 kB / 1.348 GB, free: 208.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/1.523, allocations: 0 / 1.348 GB, free: 208.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001294/1.523, allocations: 37.7 kB / 1.349 GB, free: 208.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/1.523, allocations: 51.41 kB / 1.349 GB, free: 208.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.826e-05/1.523, allocations: 102.5 kB / 1.349 GB, free: 208 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/1.524, allocations: 25.7 kB / 1.349 GB, free: 207.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.142e-05/1.524, allocations: 80.14 kB / 1.349 GB, free: 207.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/1.524, allocations: 11.91 kB / 1.349 GB, free: 207.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/1.524, allocations: 0 / 1.349 GB, free: 207.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.17e-05/1.524, allocations: 314.8 kB / 1.349 GB, free: 207.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/1.524, allocations: 4 kB / 1.349 GB, free: 207.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.937e-06/1.524, allocations: 3.938 kB / 1.349 GB, free: 207.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.884e-05/1.524, allocations: 12.05 kB / 1.349 GB, free: 207.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/1.524, allocations: 0 / 1.349 GB, free: 207.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.921e-05/1.524, allocations: 39.67 kB / 1.349 GB, free: 207.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/1.524, allocations: 9.406 kB / 1.349 GB, free: 207.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/1.524, allocations: 0 / 1.349 GB, free: 207.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/1.524, allocations: 0 / 1.349 GB, free: 207.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.227e-05/1.524, allocations: 4 kB / 1.349 GB, free: 207.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/1.524, allocations: 0 / 1.349 GB, free: 207.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.653e-05/1.524, allocations: 0 / 1.349 GB, free: 207.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/1.524, allocations: 3.984 kB / 1.349 GB, free: 207.5 MB / 0.8542 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 (2): * Single equations (assignments): 2 * 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 4.566e-05/1.524, allocations: 109 kB / 1.349 GB, free: 207.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-06/1.524, allocations: 4 kB / 1.349 GB, free: 207.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.926e-05/1.524, allocations: 54.03 kB / 1.349 GB, free: 207.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/1.524, allocations: 4 kB / 1.349 GB, free: 207.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/1.524, allocations: 3.938 kB / 1.349 GB, free: 207.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/1.524, allocations: 0 / 1.349 GB, free: 207.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.526e-05/1.524, allocations: 161.6 kB / 1.349 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.524, allocations: 4.031 kB / 1.349 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.127e-05/1.524, allocations: 6.906 kB / 1.349 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/1.524, allocations: 0 / 1.349 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/1.524, allocations: 0 / 1.349 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.524, allocations: 0 / 1.349 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.524, allocations: 2.562 kB / 1.349 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.224e-05/1.524, allocations: 69.06 kB / 1.35 GB, free: 207 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/1.524, allocations: 81.06 kB / 1.35 GB, free: 206.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/1.524, allocations: 4.031 kB / 1.35 GB, free: 206.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.476e-05/1.524, allocations: 4 kB / 1.35 GB, free: 206.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.137e-05/1.524, allocations: 4 kB / 1.35 GB, free: 206.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/1.524, allocations: 0 / 1.35 GB, free: 206.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.339e-05/1.524, allocations: 83.27 kB / 1.35 GB, free: 206.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.01e-07/1.524, allocations: 0 / 1.35 GB, free: 206.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002859/1.525, allocations: 31.94 kB / 1.35 GB, free: 206.8 MB / 0.8542 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 (2): * Single equations (assignments): 2 * 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.0002313/1.525, allocations: 157.9 kB / 1.35 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.332e-05/1.525, allocations: 12 kB / 1.35 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/1.525, allocations: 0 / 1.35 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.029e-05/1.525, allocations: 7.938 kB / 1.35 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000112/1.525, allocations: 5.859 kB / 1.35 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001566/1.525, allocations: 56.98 kB / 1.35 GB, free: 206.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.464e-05/1.525, allocations: 0.677 MB / 1.351 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.911e-05/1.526, allocations: 8.125 kB / 1.351 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.491e-05/1.526, allocations: 14.19 kB / 1.351 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of SimCode: time 3.81e-07/1.526, allocations: 0 / 1.351 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.00269/1.528, allocations: 1.103 MB / 1.352 GB, free: 204.7 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)