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.001062/0.001062, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001372/0.001372, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.57/1.57, allocations: 252 MB / 0.5102 GB, free: 4.746 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.0007969/0.0007972, allocations: 12 kB / 0.6243 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.506/0.5068, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001462/0.5083, allocations: 1.014 MB / 0.7291 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004456/0.5128, allocations: 3.521 MB / 0.7326 GB, free: 6.832 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.275e-05/0.5129, allocations: 0 / 0.7326 GB, free: 6.832 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.5129, allocations: 0 / 0.7326 GB, free: 6.832 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005423/0.5135, allocations: 83.56 kB / 0.7326 GB, free: 6.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.5139, allocations: 91 kB / 0.7327 GB, free: 6.664 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.691e-05/0.514, allocations: 27.86 kB / 0.7328 GB, free: 6.637 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.5141, allocations: 0 / 0.7328 GB, free: 6.637 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.5142, allocations: 31.84 kB / 0.7328 GB, free: 6.605 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.5143, allocations: 39.91 kB / 0.7328 GB, free: 6.566 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.5144, allocations: 0 / 0.7328 GB, free: 6.566 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005262/0.5149, allocations: 295.6 kB / 0.7331 GB, free: 6.277 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.5149, allocations: 3.938 kB / 0.7331 GB, free: 6.273 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.515, allocations: 29.7 kB / 0.7331 GB, free: 6.238 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.5152, allocations: 73.86 kB / 0.7332 GB, free: 6.168 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.5152, allocations: 0 / 0.7332 GB, free: 6.168 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.595e-06/0.5152, allocations: 0 / 0.7332 GB, free: 6.168 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.5152, allocations: 0 / 0.7332 GB, free: 6.168 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.0003894/0.5156, allocations: 359.3 kB / 0.7336 GB, free: 5.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.5156, allocations: 8.031 kB / 0.7336 GB, free: 5.762 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.5157, allocations: 11.86 kB / 0.7336 GB, free: 5.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.5158, allocations: 163 kB / 0.7337 GB, free: 5.551 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.5158, allocations: 0 / 0.7337 GB, free: 5.551 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.5158, allocations: 4 kB / 0.7337 GB, free: 5.547 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.5159, allocations: 37.62 kB / 0.7338 GB, free: 5.504 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.516, allocations: 0 / 0.7338 GB, free: 5.504 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.516, allocations: 4 kB / 0.7338 GB, free: 5.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.516, allocations: 4 kB / 0.7338 GB, free: 5.496 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.931e-05/0.516, allocations: 7.953 kB / 0.7338 GB, free: 5.488 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.5162, allocations: 153.7 kB / 0.7339 GB, free: 5.289 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.221e-05/0.5163, allocations: 18.58 kB / 0.7339 GB, free: 5.262 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.988e-05/0.5163, allocations: 8.922 kB / 0.734 GB, free: 5.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002426/0.5165, allocations: 101.1 kB / 0.7341 GB, free: 5.133 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.5166, allocations: 34.55 kB / 0.7341 GB, free: 5.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.5166, allocations: 3.938 kB / 0.7341 GB, free: 5.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001528/0.5167, allocations: 41.69 kB / 0.7341 GB, free: 5.039 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.5168, allocations: 55.41 kB / 0.7342 GB, free: 4.973 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.63e-05/0.5169, allocations: 105.8 kB / 0.7343 GB, free: 4.859 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.5169, allocations: 25.7 kB / 0.7343 GB, free: 4.828 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.995e-05/0.5169, allocations: 84.27 kB / 0.7344 GB, free: 4.742 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.5169, allocations: 7.906 kB / 0.7344 GB, free: 4.734 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/0.517, allocations: 0 / 0.7344 GB, free: 4.734 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.5171, allocations: 314.8 kB / 0.7347 GB, free: 4.418 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.5171, allocations: 0 / 0.7347 GB, free: 4.418 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.495e-05/0.5171, allocations: 8 kB / 0.7347 GB, free: 4.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.944e-05/0.5171, allocations: 3.984 kB / 0.7347 GB, free: 4.406 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.5171, allocations: 4 kB / 0.7347 GB, free: 4.402 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.851e-05/0.5172, allocations: 37.64 kB / 0.7347 GB, free: 4.359 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.5172, allocations: 9.969 kB / 0.7348 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.5172, allocations: 0 / 0.7348 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.5173, allocations: 3.938 kB / 0.7348 GB, free: 4.348 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.747e-05/0.5173, allocations: 4 kB / 0.7348 GB, free: 4.344 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.5173, allocations: 7.922 kB / 0.7348 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.706e-05/0.5174, allocations: 0 / 0.7348 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.5174, allocations: 8.203 kB / 0.7348 GB, free: 4.328 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.651e-05/0.5174, allocations: 113.8 kB / 0.7349 GB, free: 4.207 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.5175, allocations: 3.906 kB / 0.7349 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.5176, allocations: 56.75 kB / 0.7349 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.5176, allocations: 0 / 0.7349 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5176, allocations: 4 kB / 0.7349 GB, free: 4.133 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.5176, allocations: 0 / 0.7349 GB, free: 4.133 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.5177, allocations: 161.6 kB / 0.7351 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5177, allocations: 0 / 0.7351 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.326e-05/0.5178, allocations: 4 kB / 0.7351 GB, free: 3.922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5178, allocations: 0 / 0.7351 GB, free: 3.922 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.5178, allocations: 4 kB / 0.7351 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.5178, allocations: 4.031 kB / 0.7351 GB, free: 3.914 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5178, allocations: 0 / 0.7351 GB, free: 3.914 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.051e-05/0.5179, allocations: 65.08 kB / 0.7352 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.5179, allocations: 85.05 kB / 0.7353 GB, free: 3.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.518, allocations: 0 / 0.7353 GB, free: 3.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.452e-05/0.518, allocations: 0 / 0.7353 GB, free: 3.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.074e-05/0.518, allocations: 0 / 0.7353 GB, free: 3.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.518, allocations: 4 kB / 0.7353 GB, free: 3.727 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.546e-05/0.5181, allocations: 91.3 kB / 0.7353 GB, free: 3.637 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5181, allocations: 0 / 0.7353 GB, free: 3.637 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000222/0.5183, allocations: 20 kB / 0.7354 GB, free: 3.617 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 (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.0002144/0.5185, allocations: 131.2 kB / 0.7355 GB, free: 3.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.984e-05/0.5186, allocations: 8 kB / 0.7355 GB, free: 3.473 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5186, allocations: 0 / 0.7355 GB, free: 3.473 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-05/0.5186, allocations: 8 kB / 0.7355 GB, free: 3.465 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.5189, allocations: 8.078 kB / 0.7355 GB, free: 3.457 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.5192, allocations: 162.3 kB / 0.7357 GB, free: 3.273 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.5195, allocations: 0.6731 MB / 0.7363 GB, free: 2.574 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.851e-05/0.5195, allocations: 15.92 kB / 0.7363 GB, free: 2.559 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.829e-05/0.5195, allocations: 7.438 kB / 0.7363 GB, free: 2.551 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.5195, allocations: 0 / 0.7363 GB, free: 2.551 MB / 0.545 GB Notification: Performance of Templates: time 0.002975/0.5225, allocations: 0.7175 MB / 0.7371 GB, free: 1.863 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: