Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.519/2.519, allocations: 287.5 MB / 303.2 MB, free: 8.133 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.001403/0.001402, allocations: 176.8 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009727/0.0009725, allocations: 98.81 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006288/0.000629, allocations: 15.28 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2112, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/1.406, allocations: 369.2 MB / 1.34 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003871/1.406, allocations: 93.75 kB / 1.34 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06035/1.467, allocations: 16.34 MB / 1.356 GB, free: 15 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.713e-06/1.467, allocations: 4 kB / 1.356 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.093e-06/1.467, allocations: 0 / 1.356 GB, free: 14.99 MB / 0.8855 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.0004307/1.467, allocations: 374.8 kB / 1.356 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/1.467, allocations: 12.03 kB / 1.356 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/1.467, allocations: 8.844 kB / 1.356 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/1.468, allocations: 167.7 kB / 1.356 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/1.468, allocations: 384 / 1.356 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/1.468, allocations: 384 / 1.356 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.702e-05/1.468, allocations: 34.25 kB / 1.357 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/1.468, allocations: 4.172 kB / 1.357 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/1.468, allocations: 3.938 kB / 1.357 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/1.468, allocations: 0 / 1.357 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.42e-05/1.468, allocations: 7.938 kB / 1.357 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/1.468, allocations: 159.5 kB / 1.357 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 6.266e-05/1.468, allocations: 22.61 kB / 1.357 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.743e-05/1.468, allocations: 7.672 kB / 1.357 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002858/1.468, allocations: 101.1 kB / 1.357 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/1.468, allocations: 30.56 kB / 1.357 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/1.468, allocations: 4 kB / 1.357 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0001645/1.469, allocations: 44.27 kB / 1.357 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/1.469, allocations: 55.41 kB / 1.357 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.365e-05/1.469, allocations: 104.6 kB / 1.357 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/1.469, allocations: 28.58 kB / 1.357 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/1.469, allocations: 80.14 kB / 1.357 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/1.469, allocations: 7.906 kB / 1.357 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-06/1.469, allocations: 0 / 1.357 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001158/1.469, allocations: 322.8 kB / 1.357 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/1.469, allocations: 4 kB / 1.357 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.489e-05/1.469, allocations: 0 / 1.357 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.426e-05/1.469, allocations: 19.92 kB / 1.357 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.469, allocations: 0 / 1.357 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.92e-05/1.469, allocations: 41.55 kB / 1.358 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/1.469, allocations: 4 kB / 1.358 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/1.469, allocations: 3.938 kB / 1.358 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/1.469, allocations: 4.094 kB / 1.358 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.332e-05/1.469, allocations: 7.984 kB / 1.358 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/1.469, allocations: 0 / 1.358 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.727e-05/1.469, allocations: 7.875 kB / 1.358 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/1.469, allocations: 3.938 kB / 1.358 GB, free: 13.14 MB / 0.8855 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 () * Number of clocked 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 9.276e-05/1.47, allocations: 109.8 kB / 1.358 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/1.47, allocations: 0 / 1.358 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/1.47, allocations: 60.06 kB / 1.358 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/1.47, allocations: 0 / 1.358 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.47, allocations: 0 / 1.358 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.47, allocations: 0 / 1.358 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/1.47, allocations: 156.6 kB / 1.358 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.47, allocations: 4 kB / 1.358 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/1.47, allocations: 0 / 1.358 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/1.47, allocations: 0 / 1.358 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/1.47, allocations: 7.938 kB / 1.358 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/1.47, allocations: 0 / 1.358 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.47, allocations: 0 / 1.358 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/1.47, allocations: 67.53 kB / 1.358 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/1.47, allocations: 88.95 kB / 1.358 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/1.47, allocations: 3.938 kB / 1.358 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.484e-05/1.47, allocations: 3.984 kB / 1.358 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/1.47, allocations: 3.938 kB / 1.358 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/1.47, allocations: 4 kB / 1.358 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.512e-05/1.47, allocations: 83.03 kB / 1.358 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.5e-07/1.47, allocations: 4.031 kB / 1.358 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003106/1.471, allocations: 24 kB / 1.358 GB, free: 12.45 MB / 0.8855 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 () * Number of clocked 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.0003092/1.471, allocations: 155.3 kB / 1.358 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.667e-05/1.471, allocations: 15.92 kB / 1.358 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.471, allocations: 4 kB / 1.358 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.047e-05/1.471, allocations: 4 kB / 1.358 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/1.471, allocations: 0 / 1.358 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/1.472, allocations: 155 kB / 1.358 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/1.472, allocations: 0.6809 MB / 1.359 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.998e-05/1.472, allocations: 3.938 kB / 1.359 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.346e-05/1.472, allocations: 11.44 kB / 1.359 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of SimCode: time 7.21e-07/1.472, allocations: 4 kB / 1.359 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of Templates: time 0.004548/1.477, allocations: 1.064 MB / 1.36 GB, free: 10.33 MB / 0.8855 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)