Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.378/1.378, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009623/0.0009623, allocations: 180.5 kB / 327.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.4 MB / 0.5783 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008346/0.0008344, allocations: 93.09 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003746, allocations: 9.781 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2508, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001306/0.2521, allocations: 1.003 MB / 0.9018 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003224/0.2554, allocations: 3.514 MB / 0.9053 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.091e-05/0.2554, allocations: 4 kB / 0.9053 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.275e-06/0.2554, allocations: 0 / 0.9053 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.2557, allocations: 83.55 kB / 0.9053 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.2559, allocations: 95.7 kB / 0.9054 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.428e-05/0.2559, allocations: 23.81 kB / 0.9055 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.316e-05/0.256, allocations: 11.98 kB / 0.9055 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.08e-05/0.2561, allocations: 23.91 kB / 0.9055 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.841e-05/0.2562, allocations: 35.91 kB / 0.9055 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.2562, allocations: 4 kB / 0.9055 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003489/0.2565, allocations: 291.6 kB / 0.9058 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.494e-06/0.2566, allocations: 3.938 kB / 0.9058 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.034e-05/0.2566, allocations: 25.7 kB / 0.9058 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.2567, allocations: 75.88 kB / 0.9059 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2567, allocations: 0 / 0.9059 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2567, allocations: 0 / 0.9059 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.2567, allocations: 4 kB / 0.9059 GB, free: 58.66 MB / 0.6042 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.0003169/0.2571, allocations: 351.6 kB / 0.9062 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.2571, allocations: 8.031 kB / 0.9062 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.718e-05/0.2571, allocations: 7.859 kB / 0.9063 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.383e-05/0.2572, allocations: 171 kB / 0.9064 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.2572, allocations: 0 / 0.9064 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.2573, allocations: 0 / 0.9064 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.971e-05/0.2574, allocations: 37.67 kB / 0.9065 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2574, allocations: 4 kB / 0.9065 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.587e-06/0.2574, allocations: 4 kB / 0.9065 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2574, allocations: 0 / 0.9065 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.014e-05/0.2574, allocations: 15.89 kB / 0.9065 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.2576, allocations: 153.7 kB / 0.9066 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.792e-05/0.2576, allocations: 22.61 kB / 0.9066 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.2576, allocations: 4.859 kB / 0.9067 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002293/0.2579, allocations: 105.1 kB / 0.9068 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.2579, allocations: 38.5 kB / 0.9068 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2579, allocations: 0 / 0.9068 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001304/0.2581, allocations: 41.64 kB / 0.9068 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.2581, allocations: 51.41 kB / 0.9069 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.699e-05/0.2581, allocations: 105.8 kB / 0.907 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.2582, allocations: 29.83 kB / 0.907 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.259e-05/0.2582, allocations: 88.14 kB / 0.9071 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.2582, allocations: 3.906 kB / 0.9071 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-06/0.2582, allocations: 0 / 0.9071 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.13e-05/0.2583, allocations: 314.8 kB / 0.9074 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/0.2583, allocations: 4 kB / 0.9074 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-06/0.2583, allocations: 0 / 0.9074 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.798e-05/0.2583, allocations: 8 kB / 0.9074 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2583, allocations: 4.062 kB / 0.9074 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.057e-05/0.2584, allocations: 37.64 kB / 0.9074 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.2584, allocations: 11.94 kB / 0.9075 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2584, allocations: 0 / 0.9075 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.2584, allocations: 0 / 0.9075 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.633e-05/0.2585, allocations: 7.984 kB / 0.9075 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2585, allocations: 0 / 0.9075 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.554e-05/0.2585, allocations: 0 / 0.9075 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.2586, allocations: 3.953 kB / 0.9075 GB, free: 56.82 MB / 0.6042 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 6.299e-05/0.2586, allocations: 117.9 kB / 0.9076 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.2586, allocations: 3.906 kB / 0.9076 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.2588, allocations: 48.75 kB / 0.9076 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.2588, allocations: 4 kB / 0.9076 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2588, allocations: 0 / 0.9076 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2588, allocations: 0 / 0.9076 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.963e-05/0.2589, allocations: 157.6 kB / 0.9078 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2589, allocations: 0 / 0.9078 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.2589, allocations: 4 kB / 0.9078 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2589, allocations: 4.031 kB / 0.9078 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.2589, allocations: 0 / 0.9078 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2589, allocations: 0 / 0.9078 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.2589, allocations: 0 / 0.9078 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.381e-05/0.259, allocations: 73.02 kB / 0.9079 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.2591, allocations: 77.11 kB / 0.9079 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.2591, allocations: 4 kB / 0.9079 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.58e-05/0.2591, allocations: 4.234 kB / 0.9079 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.815e-05/0.2591, allocations: 4.031 kB / 0.9079 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.2592, allocations: 7.938 kB / 0.908 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.69e-05/0.2592, allocations: 83.28 kB / 0.908 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2592, allocations: 0 / 0.908 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002181/0.2594, allocations: 28 kB / 0.9081 GB, free: 56.11 MB / 0.6042 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.0001825/0.2596, allocations: 127.2 kB / 0.9082 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.717e-05/0.2597, allocations: 8 kB / 0.9082 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2597, allocations: 4.062 kB / 0.9082 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.099e-05/0.2597, allocations: 8 kB / 0.9082 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.2599, allocations: 9.984 kB / 0.9082 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/0.2602, allocations: 180 kB / 0.9084 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.2604, allocations: 0.677 MB / 0.909 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.634e-05/0.2604, allocations: 19.44 kB / 0.9091 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2604, allocations: 0 / 0.9091 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of Templates: time 0.001896/0.2623, allocations: 0.7055 MB / 0.9098 GB, free: 54.32 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)