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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008558/0.008559, allocations: 170.2 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.4 MB / 222.4 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.669/1.669, allocations: 252 MB / 0.5105 GB, free: 4.648 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005952/0.0005952, allocations: 20 kB / 0.6249 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5254/0.526, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001581/0.5276, allocations: 1.025 MB / 0.7297 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004889/0.5326, allocations: 3.729 MB / 0.7334 GB, free: 6.516 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.5326, allocations: 0 / 0.7334 GB, free: 6.516 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.5327, allocations: 0 / 0.7334 GB, free: 6.516 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005371/0.5332, allocations: 91.55 kB / 0.7335 GB, free: 6.426 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.5336, allocations: 87.77 kB / 0.7335 GB, free: 6.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.804e-05/0.5337, allocations: 39.84 kB / 0.7336 GB, free: 6.301 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.5337, allocations: 0 / 0.7336 GB, free: 6.301 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.5338, allocations: 19.92 kB / 0.7336 GB, free: 6.281 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.534, allocations: 43.83 kB / 0.7336 GB, free: 6.238 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.534, allocations: 0 / 0.7336 GB, free: 6.238 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005346/0.5345, allocations: 299.6 kB / 0.7339 GB, free: 5.945 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.188e-05/0.5346, allocations: 0 / 0.7339 GB, free: 5.945 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.5346, allocations: 37.64 kB / 0.734 GB, free: 5.902 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.5348, allocations: 117.7 kB / 0.7341 GB, free: 5.789 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5348, allocations: 0 / 0.7341 GB, free: 5.789 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5349, allocations: 4 kB / 0.7341 GB, free: 5.785 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.5349, allocations: 0 / 0.7341 GB, free: 5.785 MB / 0.545 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.0003603/0.5352, allocations: 347.5 kB / 0.7344 GB, free: 5.398 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.5353, allocations: 12.03 kB / 0.7344 GB, free: 5.387 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.5353, allocations: 4.844 kB / 0.7344 GB, free: 5.383 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.5354, allocations: 168.3 kB / 0.7346 GB, free: 5.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.5354, allocations: 384 / 0.7346 GB, free: 5.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.5355, allocations: 384 / 0.7346 GB, free: 5.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.5356, allocations: 49.75 kB / 0.7346 GB, free: 5.125 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.5356, allocations: 0 / 0.7346 GB, free: 5.125 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.5356, allocations: 0 / 0.7346 GB, free: 5.125 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.5356, allocations: 0 / 0.7346 GB, free: 5.125 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.557e-05/0.5356, allocations: 4 kB / 0.7346 GB, free: 5.121 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.5358, allocations: 153.7 kB / 0.7348 GB, free: 4.922 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.34e-05/0.5359, allocations: 22.61 kB / 0.7348 GB, free: 4.891 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.859e-05/0.5359, allocations: 4.859 kB / 0.7348 GB, free: 4.883 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002379/0.5361, allocations: 109.1 kB / 0.7349 GB, free: 4.758 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.5362, allocations: 38.44 kB / 0.735 GB, free: 4.711 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.5362, allocations: 0 / 0.735 GB, free: 4.711 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001536/0.5363, allocations: 37.7 kB / 0.735 GB, free: 4.668 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.5364, allocations: 55.41 kB / 0.735 GB, free: 4.602 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.972e-05/0.5365, allocations: 109.9 kB / 0.7351 GB, free: 4.484 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.5365, allocations: 25.7 kB / 0.7352 GB, free: 4.453 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.5365, allocations: 88.14 kB / 0.7353 GB, free: 4.363 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.5366, allocations: 3.906 kB / 0.7353 GB, free: 4.359 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.5366, allocations: 9.719 kB / 0.7353 GB, free: 4.344 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.721e-05/0.5367, allocations: 314.8 kB / 0.7356 GB, free: 4.027 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.5367, allocations: 11.94 kB / 0.7356 GB, free: 4.016 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.028e-05/0.5367, allocations: 3.938 kB / 0.7356 GB, free: 4.012 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.114e-05/0.5368, allocations: 16.92 kB / 0.7356 GB, free: 3.992 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5368, allocations: 0 / 0.7356 GB, free: 3.992 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.949e-05/0.5369, allocations: 45.62 kB / 0.7356 GB, free: 3.941 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.5369, allocations: 8 kB / 0.7356 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.5369, allocations: 0 / 0.7356 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.5369, allocations: 0 / 0.7356 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.874e-05/0.537, allocations: 4 kB / 0.7357 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.537, allocations: 0 / 0.7357 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.537, allocations: 3.906 kB / 0.7357 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.537, allocations: 0 / 0.7357 GB, free: 3.926 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.728e-05/0.5371, allocations: 109.9 kB / 0.7358 GB, free: 3.809 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.5371, allocations: 11.88 kB / 0.7358 GB, free: 3.797 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.5372, allocations: 44.81 kB / 0.7358 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.5372, allocations: 0 / 0.7358 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5373, allocations: 4 kB / 0.7358 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5373, allocations: 0 / 0.7358 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.5374, allocations: 157.7 kB / 0.736 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5374, allocations: 0 / 0.736 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.52e-05/0.5374, allocations: 11.97 kB / 0.736 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5374, allocations: 0 / 0.736 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.5374, allocations: 0 / 0.736 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.5374, allocations: 3.984 kB / 0.736 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5374, allocations: 0 / 0.736 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.879e-05/0.5375, allocations: 65.08 kB / 0.736 GB, free: 3.438 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.5376, allocations: 93.02 kB / 0.7361 GB, free: 3.328 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.5376, allocations: 32 / 0.7361 GB, free: 3.328 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.81e-05/0.5376, allocations: 8 kB / 0.7361 GB, free: 3.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.5376, allocations: 0 / 0.7361 GB, free: 3.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.5377, allocations: 0 / 0.7361 GB, free: 3.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.414e-05/0.5377, allocations: 83.47 kB / 0.7362 GB, free: 3.238 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5377, allocations: 0 / 0.7362 GB, free: 3.238 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002185/0.5379, allocations: 27.98 kB / 0.7363 GB, free: 3.211 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000212/0.5381, allocations: 135.1 kB / 0.7364 GB, free: 3.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.382e-05/0.5382, allocations: 12 kB / 0.7364 GB, free: 3.059 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5382, allocations: 0 / 0.7364 GB, free: 3.059 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.437e-05/0.5383, allocations: 11.92 kB / 0.7364 GB, free: 3.047 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.5385, allocations: 7.938 kB / 0.7364 GB, free: 3.039 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.5388, allocations: 140.5 kB / 0.7365 GB, free: 2.875 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.539, allocations: 0.6811 MB / 0.7372 GB, free: 2.168 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.938e-05/0.5391, allocations: 4 kB / 0.7372 GB, free: 2.164 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.702e-05/0.5391, allocations: 7.438 kB / 0.7372 GB, free: 2.156 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.5391, allocations: 0 / 0.7372 GB, free: 2.156 MB / 0.545 GB Notification: Performance of Templates: time 0.003022/0.5421, allocations: 0.7387 MB / 0.7379 GB, free: 1.453 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: