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.666/1.666, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001706/0.001705, allocations: 180.9 kB / 361.4 MB, free: 6.828 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.578/1.578, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0008787/0.0008787, allocations: 85.72 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.79e-05/1.792e-05, allocations: 4 kB / 0.8518 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6067/0.6067, allocations: 115.3 MB / 0.9644 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8346/1.441, allocations: 368.6 MB / 1.324 GB, free: 233.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/1.442, allocations: 92.62 kB / 1.324 GB, free: 233.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03173/1.473, allocations: 16.29 MB / 1.34 GB, free: 217.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.864e-06/1.473, allocations: 3.938 kB / 1.34 GB, free: 217.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.452e-06/1.473, allocations: 0 / 1.34 GB, free: 217.2 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.0002779/1.474, allocations: 366.4 kB / 1.341 GB, free: 216.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/1.474, allocations: 8.031 kB / 1.341 GB, free: 216.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/1.474, allocations: 1.031 kB / 1.341 GB, free: 216.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.319e-05/1.474, allocations: 179.9 kB / 1.341 GB, free: 216.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/1.474, allocations: 0 / 1.341 GB, free: 216.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-06/1.474, allocations: 0 / 1.341 GB, free: 216.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.21e-05/1.474, allocations: 8.781 kB / 1.341 GB, free: 216.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.24e-05/1.474, allocations: 41.69 kB / 1.341 GB, free: 216.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/1.474, allocations: 0 / 1.341 GB, free: 216.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/1.474, allocations: 0 / 1.341 GB, free: 216.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/1.474, allocations: 0 / 1.341 GB, free: 216.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001055/1.474, allocations: 134.2 kB / 1.341 GB, free: 216.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.142e-05/1.474, allocations: 30.59 kB / 1.341 GB, free: 216.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.532e-05/1.474, allocations: 4.859 kB / 1.341 GB, free: 216.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/1.474, allocations: 97.16 kB / 1.341 GB, free: 216.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/1.474, allocations: 41.47 kB / 1.341 GB, free: 216.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/1.474, allocations: 0 / 1.341 GB, free: 216.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001943/1.475, allocations: 49.61 kB / 1.341 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.594e-05/1.475, allocations: 51.41 kB / 1.341 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.406e-05/1.475, allocations: 93 kB / 1.341 GB, free: 216 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/1.475, allocations: 29.73 kB / 1.341 GB, free: 215.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.938e-05/1.475, allocations: 84.14 kB / 1.342 GB, free: 215.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/1.475, allocations: 3.906 kB / 1.342 GB, free: 215.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/1.475, allocations: 0 / 1.342 GB, free: 215.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.484e-05/1.475, allocations: 310.8 kB / 1.342 GB, free: 215.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/1.475, allocations: 8 kB / 1.342 GB, free: 215.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-06/1.475, allocations: 3.984 kB / 1.342 GB, free: 215.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.747e-05/1.475, allocations: 11.98 kB / 1.342 GB, free: 215.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.475, allocations: 4.062 kB / 1.342 GB, free: 215.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001063/1.475, allocations: 49.64 kB / 1.342 GB, free: 215.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/1.475, allocations: 5.25 kB / 1.342 GB, free: 215.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/1.475, allocations: 0 / 1.342 GB, free: 215.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/1.475, allocations: 0 / 1.342 GB, free: 215.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.959e-05/1.475, allocations: 7.562 kB / 1.342 GB, free: 215.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/1.475, allocations: 6.75 kB / 1.342 GB, free: 215.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.735e-05/1.475, allocations: 3.984 kB / 1.342 GB, free: 215.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/1.475, allocations: 0 / 1.342 GB, free: 215.4 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.071e-05/1.475, allocations: 109.5 kB / 1.342 GB, free: 215.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-06/1.475, allocations: 3.953 kB / 1.342 GB, free: 215.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/1.475, allocations: 61.33 kB / 1.342 GB, free: 215.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/1.475, allocations: 0 / 1.342 GB, free: 215.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/1.475, allocations: 3.938 kB / 1.342 GB, free: 215.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/1.475, allocations: 0 / 1.342 GB, free: 215.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.772e-05/1.476, allocations: 138.2 kB / 1.342 GB, free: 215.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.476, allocations: 0 / 1.342 GB, free: 215.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.037e-05/1.476, allocations: 4 kB / 1.342 GB, free: 215.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.476, allocations: 4.031 kB / 1.342 GB, free: 215.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/1.476, allocations: 3.953 kB / 1.342 GB, free: 215.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/1.476, allocations: 0 / 1.342 GB, free: 215.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.476, allocations: 0 / 1.342 GB, free: 215.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/1.476, allocations: 77.05 kB / 1.342 GB, free: 215 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/1.476, allocations: 81.11 kB / 1.342 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/1.476, allocations: 0 / 1.342 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.395e-05/1.476, allocations: 3.953 kB / 1.342 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/1.476, allocations: 4.031 kB / 1.342 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/1.476, allocations: 0 / 1.342 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.881e-05/1.476, allocations: 79.28 kB / 1.342 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.31e-07/1.476, allocations: 0 / 1.342 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002123/1.476, allocations: 35.92 kB / 1.343 GB, free: 214.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.0002102/1.476, allocations: 163.6 kB / 1.343 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.908e-05/1.476, allocations: 8 kB / 1.343 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.476, allocations: 3.938 kB / 1.343 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.057e-06/1.476, allocations: 8.062 kB / 1.343 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/1.477, allocations: 4.344 kB / 1.343 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001452/1.477, allocations: 56 kB / 1.343 GB, free: 214.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.94e-05/1.477, allocations: 0.6807 MB / 1.343 GB, free: 213.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.549e-05/1.477, allocations: 0 / 1.343 GB, free: 213.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.445e-05/1.477, allocations: 11.44 kB / 1.343 GB, free: 213.8 MB / 0.8542 GB Notification: Performance of SimCode: time 9.72e-07/1.477, allocations: 4.062 kB / 1.343 GB, free: 213.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.002859/1.48, allocations: 0.9129 MB / 1.344 GB, free: 212.9 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)