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.0009676/0.0009721, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001081/0.001081, allocations: 177.3 kB / 15.95 MB, free: 216 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.572/1.572, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.621/1.621, allocations: 251.9 MB / 0.51 GB, free: 4.832 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.0005703/0.0005706, allocations: 16 kB / 0.6241 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5284/0.529, allocations: 106.3 MB / 0.728 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001717/0.5307, allocations: 1.005 MB / 0.729 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004923/0.5357, allocations: 3.28 MB / 0.7322 GB, free: 7.086 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.5358, allocations: 0 / 0.7322 GB, free: 7.086 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.5358, allocations: 0 / 0.7322 GB, free: 7.086 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004785/0.5363, allocations: 87.77 kB / 0.7323 GB, free: 7 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.5367, allocations: 90.12 kB / 0.7323 GB, free: 6.914 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.905e-05/0.5368, allocations: 15.95 kB / 0.7324 GB, free: 6.898 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.956e-05/0.5368, allocations: 8 kB / 0.7324 GB, free: 6.891 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.537, allocations: 23.91 kB / 0.7324 GB, free: 6.867 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.5371, allocations: 31.91 kB / 0.7324 GB, free: 6.836 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.639e-06/0.5371, allocations: 4 kB / 0.7324 GB, free: 6.832 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005073/0.5376, allocations: 287.6 kB / 0.7327 GB, free: 6.551 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.988e-06/0.5377, allocations: 0 / 0.7327 GB, free: 6.551 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.5377, allocations: 29.7 kB / 0.7327 GB, free: 6.516 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.5379, allocations: 81.84 kB / 0.7328 GB, free: 6.438 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.5379, allocations: 7.875 kB / 0.7328 GB, free: 6.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5379, allocations: 0 / 0.7328 GB, free: 6.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.5379, allocations: 0 / 0.7328 GB, free: 6.43 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.000399/0.5383, allocations: 347.4 kB / 0.7331 GB, free: 6.043 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.5384, allocations: 16.03 kB / 0.7332 GB, free: 6.027 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.5384, allocations: 7.859 kB / 0.7332 GB, free: 6.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.5386, allocations: 163 kB / 0.7333 GB, free: 5.82 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.5386, allocations: 4 kB / 0.7333 GB, free: 5.816 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.5386, allocations: 0 / 0.7333 GB, free: 5.816 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.5388, allocations: 33.69 kB / 0.7334 GB, free: 5.777 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.5388, allocations: 0 / 0.7334 GB, free: 5.777 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.5388, allocations: 3.984 kB / 0.7334 GB, free: 5.773 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.5388, allocations: 0 / 0.7334 GB, free: 5.773 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.463e-05/0.5389, allocations: 7.953 kB / 0.7334 GB, free: 5.766 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.5391, allocations: 161.6 kB / 0.7335 GB, free: 5.559 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.729e-05/0.5392, allocations: 22.58 kB / 0.7335 GB, free: 5.527 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002562/0.5394, allocations: 105.1 kB / 0.7336 GB, free: 5.406 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.5395, allocations: 30.56 kB / 0.7337 GB, free: 5.367 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.5395, allocations: 4 kB / 0.7337 GB, free: 5.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001575/0.5396, allocations: 45.64 kB / 0.7337 GB, free: 5.312 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.5397, allocations: 51.41 kB / 0.7338 GB, free: 5.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.232e-05/0.5398, allocations: 105.8 kB / 0.7339 GB, free: 5.137 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.5398, allocations: 25.7 kB / 0.7339 GB, free: 5.105 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.5398, allocations: 84.14 kB / 0.734 GB, free: 5.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.5399, allocations: 3.906 kB / 0.734 GB, free: 5.016 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.5399, allocations: 0 / 0.734 GB, free: 5.016 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.54, allocations: 322.9 kB / 0.7343 GB, free: 4.691 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/0.54, allocations: 7.984 kB / 0.7343 GB, free: 4.684 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.265e-06/0.54, allocations: 0 / 0.7343 GB, free: 4.684 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.175e-05/0.5401, allocations: 4 kB / 0.7343 GB, free: 4.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5401, allocations: 0 / 0.7343 GB, free: 4.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.883e-05/0.5401, allocations: 37.7 kB / 0.7343 GB, free: 4.637 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.5402, allocations: 8 kB / 0.7343 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.5402, allocations: 0 / 0.7343 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.5402, allocations: 0 / 0.7343 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.681e-05/0.5403, allocations: 16.02 kB / 0.7344 GB, free: 4.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.5403, allocations: 0 / 0.7344 GB, free: 4.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.5403, allocations: 0 / 0.7344 GB, free: 4.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.5403, allocations: 3.984 kB / 0.7344 GB, free: 4.609 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 8.228e-05/0.5404, allocations: 113.8 kB / 0.7345 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-06/0.5404, allocations: 3.906 kB / 0.7345 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.5405, allocations: 48.75 kB / 0.7345 GB, free: 4.426 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5406, allocations: 4.031 kB / 0.7345 GB, free: 4.422 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.5406, allocations: 4 kB / 0.7345 GB, free: 4.418 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.5406, allocations: 0 / 0.7345 GB, free: 4.418 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.5407, allocations: 161.6 kB / 0.7347 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5407, allocations: 0 / 0.7347 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.649e-05/0.5407, allocations: 4 kB / 0.7347 GB, free: 4.207 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.5407, allocations: 0 / 0.7347 GB, free: 4.207 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.5407, allocations: 3.938 kB / 0.7347 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.5408, allocations: 0 / 0.7347 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5408, allocations: 3.938 kB / 0.7347 GB, free: 4.199 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.729e-05/0.5409, allocations: 73.08 kB / 0.7348 GB, free: 4.109 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.5409, allocations: 77.11 kB / 0.7348 GB, free: 4.016 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.5409, allocations: 4 kB / 0.7348 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.43e-05/0.541, allocations: 4 kB / 0.7348 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.541, allocations: 3.984 kB / 0.7348 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.541, allocations: 0 / 0.7348 GB, free: 4.004 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.821e-05/0.541, allocations: 79.28 kB / 0.7349 GB, free: 3.926 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.541, allocations: 0 / 0.7349 GB, free: 3.926 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002313/0.5413, allocations: 24.03 kB / 0.7349 GB, free: 3.902 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.0002137/0.5415, allocations: 137 kB / 0.7351 GB, free: 3.762 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.497e-05/0.5416, allocations: 11.94 kB / 0.7351 GB, free: 3.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5416, allocations: 0 / 0.7351 GB, free: 3.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.207e-05/0.5416, allocations: 4 kB / 0.7351 GB, free: 3.746 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.5418, allocations: 7.953 kB / 0.7351 GB, free: 3.738 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.5421, allocations: 158.5 kB / 0.7352 GB, free: 3.559 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.5425, allocations: 0.677 MB / 0.7359 GB, free: 2.855 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.883e-05/0.5426, allocations: 4 kB / 0.7359 GB, free: 2.852 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/0.5426, allocations: 7.438 kB / 0.7359 GB, free: 2.844 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.5426, allocations: 0 / 0.7359 GB, free: 2.844 MB / 0.545 GB Notification: Performance of Templates: time 0.003086/0.5457, allocations: 0.7282 MB / 0.7366 GB, free: 2.148 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: