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.609/1.609, allocations: 288.4 MB / 304.3 MB, free: 8.082 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.001095/0.001095, allocations: 184.5 kB / 372.9 MB, free: 10.16 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.472/1.472, allocations: 205.4 MB / 0.6317 GB, free: 9.914 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.0009119/0.0009119, allocations: 96.94 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.0003939, allocations: 16.5 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2053, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.834/1.039, allocations: 369.4 MB / 1.341 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/1.04, allocations: 93.31 kB / 1.342 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03682/1.077, allocations: 16.33 MB / 1.358 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.266e-06/1.077, allocations: 4 kB / 1.358 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.304e-06/1.077, allocations: 3.938 kB / 1.358 GB, free: 13.46 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.00039/1.077, allocations: 379.8 kB / 1.358 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/1.077, allocations: 8.031 kB / 1.358 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/1.077, allocations: 12.84 kB / 1.358 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/1.077, allocations: 160.4 kB / 1.358 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/1.077, allocations: 384 / 1.358 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/1.077, allocations: 3.375 kB / 1.358 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.378e-05/1.077, allocations: 38.25 kB / 1.358 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/1.077, allocations: 4.125 kB / 1.358 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/1.077, allocations: 7.938 kB / 1.358 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/1.077, allocations: 0 / 1.358 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.282e-05/1.077, allocations: 4 kB / 1.358 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/1.078, allocations: 155.8 kB / 1.358 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 6.094e-05/1.078, allocations: 22.52 kB / 1.358 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/1.078, allocations: 12.11 kB / 1.358 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002213/1.078, allocations: 101.1 kB / 1.358 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/1.078, allocations: 30.56 kB / 1.358 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/1.078, allocations: 0 / 1.358 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0001435/1.078, allocations: 48.39 kB / 1.358 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/1.078, allocations: 55.39 kB / 1.359 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.543e-05/1.078, allocations: 101.9 kB / 1.359 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/1.078, allocations: 33.64 kB / 1.359 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/1.078, allocations: 80.14 kB / 1.359 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/1.078, allocations: 7.719 kB / 1.359 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-06/1.078, allocations: 0 / 1.359 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001015/1.078, allocations: 314.8 kB / 1.359 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.156e-05/1.078, allocations: 4 kB / 1.359 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.005e-05/1.078, allocations: 4 kB / 1.359 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.395e-05/1.079, allocations: 16.8 kB / 1.359 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.079, allocations: 0 / 1.359 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.976e-05/1.079, allocations: 45.53 kB / 1.359 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/1.079, allocations: 8 kB / 1.359 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.079, allocations: 3.938 kB / 1.359 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/1.079, allocations: 0 / 1.359 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.205e-05/1.079, allocations: 4 kB / 1.359 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/1.079, allocations: 0 / 1.359 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.865e-05/1.079, allocations: 3.812 kB / 1.359 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/1.079, allocations: 0 / 1.359 GB, free: 11.62 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 7.114e-05/1.079, allocations: 117.9 kB / 1.359 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-06/1.079, allocations: 0 / 1.359 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/1.079, allocations: 52.12 kB / 1.359 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/1.079, allocations: 0 / 1.359 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/1.079, allocations: 0 / 1.359 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.079, allocations: 3.938 kB / 1.359 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/1.079, allocations: 153 kB / 1.359 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.079, allocations: 3.938 kB / 1.359 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.497e-05/1.079, allocations: 8.031 kB / 1.359 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/1.079, allocations: 0 / 1.359 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/1.079, allocations: 4.188 kB / 1.359 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/1.079, allocations: 7.984 kB / 1.359 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.079, allocations: 0.625 kB / 1.359 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.132e-05/1.079, allocations: 60.52 kB / 1.36 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/1.079, allocations: 92.5 kB / 1.36 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/1.079, allocations: 7.938 kB / 1.36 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.48e-05/1.079, allocations: 4.031 kB / 1.36 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/1.079, allocations: 0 / 1.36 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/1.079, allocations: 0 / 1.36 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.622e-05/1.079, allocations: 83.22 kB / 1.36 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/1.079, allocations: 0 / 1.36 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002413/1.08, allocations: 35.23 kB / 1.36 GB, free: 10.91 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.0002663/1.08, allocations: 165.3 kB / 1.36 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.232e-05/1.08, allocations: 11.56 kB / 1.36 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.08, allocations: 4.125 kB / 1.36 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.235e-05/1.08, allocations: 4 kB / 1.36 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/1.08, allocations: 3.938 kB / 1.36 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/1.081, allocations: 153.9 kB / 1.36 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/1.081, allocations: 0.6731 MB / 1.361 GB, free: 9.852 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.283e-05/1.081, allocations: 12.05 kB / 1.361 GB, free: 9.84 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/1.081, allocations: 10.75 kB / 1.361 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of SimCode: time 3.6e-07/1.081, allocations: 0 / 1.361 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of Templates: time 0.003259/1.084, allocations: 1.073 MB / 1.362 GB, free: 8.793 MB / 0.8855 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)