Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.582/1.582, allocations: 289.7 MB / 302.2 MB, free: 2.227 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.001158/0.001158, allocations: 183.2 kB / 371.6 MB, free: 3.344 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.553/1.553, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0008982/0.0008985, allocations: 92.34 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.514e-05/3.516e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2519, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9603/1.212, allocations: 370.3 MB / 1.341 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/1.213, allocations: 91.77 kB / 1.341 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.03843/1.251, allocations: 16.37 MB / 1.357 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.573e-06/1.251, allocations: 0 / 1.357 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.582e-06/1.251, allocations: 4 kB / 1.357 GB, free: 13.18 MB / 0.9323 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.000363/1.252, allocations: 370.2 kB / 1.358 GB, free: 12.78 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/1.252, allocations: 8.031 kB / 1.358 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/1.252, allocations: 11.69 kB / 1.358 GB, free: 12.76 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/1.252, allocations: 170.3 kB / 1.358 GB, free: 12.56 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/1.252, allocations: 0.6562 kB / 1.358 GB, free: 12.56 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/1.252, allocations: 4 kB / 1.358 GB, free: 12.55 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.254e-05/1.252, allocations: 29.69 kB / 1.358 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/1.252, allocations: 8 kB / 1.358 GB, free: 12.51 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/1.252, allocations: 3.375 kB / 1.358 GB, free: 12.51 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/1.252, allocations: 0 / 1.358 GB, free: 12.51 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.242e-05/1.252, allocations: 4 kB / 1.358 GB, free: 12.51 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/1.252, allocations: 157.8 kB / 1.358 GB, free: 12.31 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.962e-05/1.252, allocations: 22.52 kB / 1.358 GB, free: 12.28 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.079e-05/1.252, allocations: 12.86 kB / 1.358 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002214/1.252, allocations: 97.09 kB / 1.358 GB, free: 12.15 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/1.252, allocations: 34.56 kB / 1.358 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/1.252, allocations: 0 / 1.358 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of matching and sorting (n=2): time 0.0001602/1.253, allocations: 42.59 kB / 1.358 GB, free: 12.07 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/1.253, allocations: 51.41 kB / 1.358 GB, free: 12 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.501e-05/1.253, allocations: 94.44 kB / 1.359 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/1.253, allocations: 33.67 kB / 1.359 GB, free: 11.87 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/1.253, allocations: 85.55 kB / 1.359 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/1.253, allocations: 4.531 kB / 1.359 GB, free: 11.78 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-06/1.253, allocations: 0 / 1.359 GB, free: 11.78 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001153/1.253, allocations: 322.7 kB / 1.359 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/1.253, allocations: 4 kB / 1.359 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.944e-06/1.253, allocations: 0 / 1.359 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.739e-05/1.253, allocations: 4 kB / 1.359 GB, free: 11.45 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/1.253, allocations: 64 / 1.359 GB, free: 11.45 MB / 0.9323 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.955e-05/1.253, allocations: 45.64 kB / 1.359 GB, free: 11.41 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/1.253, allocations: 4 kB / 1.359 GB, free: 11.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/1.253, allocations: 0 / 1.359 GB, free: 11.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/1.253, allocations: 0 / 1.359 GB, free: 11.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.122e-05/1.253, allocations: 7.984 kB / 1.359 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/1.253, allocations: 0.7812 kB / 1.359 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.535e-05/1.253, allocations: 0 / 1.359 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/1.253, allocations: 1.406 kB / 1.359 GB, free: 11.39 MB / 0.9323 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 5.919e-05/1.253, allocations: 112.9 kB / 1.359 GB, free: 11.28 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-06/1.253, allocations: 7.938 kB / 1.359 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.884e-05/1.253, allocations: 48.5 kB / 1.359 GB, free: 11.22 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/1.254, allocations: 0 / 1.359 GB, free: 11.22 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.254, allocations: 0 / 1.359 GB, free: 11.22 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/1.254, allocations: 0 / 1.359 GB, free: 11.22 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/1.254, allocations: 157.4 kB / 1.359 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/1.254, allocations: 0 / 1.359 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.346e-05/1.254, allocations: 5.812 kB / 1.359 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/1.254, allocations: 0.75 kB / 1.359 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/1.254, allocations: 4.031 kB / 1.359 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/1.254, allocations: 0 / 1.359 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.254, allocations: 4 kB / 1.359 GB, free: 11.01 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.617e-05/1.254, allocations: 71.89 kB / 1.359 GB, free: 10.93 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/1.254, allocations: 85.06 kB / 1.36 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/1.254, allocations: 0 / 1.36 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.456e-05/1.254, allocations: 3.438 kB / 1.36 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/1.254, allocations: 8.578 kB / 1.36 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/1.254, allocations: 0 / 1.36 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 3.209e-05/1.254, allocations: 81.03 kB / 1.36 GB, free: 10.74 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.3e-07/1.254, allocations: 4 kB / 1.36 GB, free: 10.73 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002123/1.254, allocations: 27.25 kB / 1.36 GB, free: 10.71 MB / 0.9323 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.000261/1.254, allocations: 161.7 kB / 1.36 GB, free: 10.54 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 6.169e-05/1.255, allocations: 11.94 kB / 1.36 GB, free: 10.53 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.255, allocations: 3.438 kB / 1.36 GB, free: 10.53 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 1.104e-05/1.255, allocations: 8.062 kB / 1.36 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001126/1.255, allocations: 8.75 kB / 1.36 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001652/1.255, allocations: 58.34 kB / 1.36 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/1.255, allocations: 0.677 MB / 1.361 GB, free: 9.742 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 2.993e-05/1.255, allocations: 4.656 kB / 1.361 GB, free: 9.738 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/1.255, allocations: 7.438 kB / 1.361 GB, free: 9.73 MB / 0.9323 GB Notification: Performance of SimCode: time 2.9e-07/1.255, allocations: 5.188 kB / 1.361 GB, free: 9.727 MB / 0.9323 GB Notification: Performance of Templates: time 0.002919/1.258, allocations: 1.11 MB / 1.362 GB, free: 8.641 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)