Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.147/2.147, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 200.7 kB / 499.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 0.7948 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009916/0.0009916, allocations: 101.8 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 49.94 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2341, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002054/0.2362, allocations: 1.338 MB / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.003299/0.2396, allocations: 3.772 MB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.68e-05/0.2396, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.415e-05/0.2396, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003856/0.24, allocations: 95.55 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.2403, allocations: 95.75 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 5.334e-05/0.2403, allocations: 23.92 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.2404, allocations: 3.984 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.2405, allocations: 27.86 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.35e-05/0.2406, allocations: 43.83 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 8.405e-06/0.2406, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003828/0.241, allocations: 299.6 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.241, allocations: 4 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.241, allocations: 7.938 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.2412, allocations: 117.9 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2412, allocations: 0 / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2413, allocations: 0 / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.2413, allocations: 0 / 1.224 GB, free: 111.3 MB / 0.823 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.0003297/0.2416, allocations: 363.4 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.2416, allocations: 15.98 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.791e-05/0.2417, allocations: 0.9375 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.892e-05/0.2418, allocations: 164.3 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.2418, allocations: 4.375 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.2418, allocations: 8.359 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.912e-05/0.2419, allocations: 37.77 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2419, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.2419, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.2419, allocations: 4 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.013e-05/0.2419, allocations: 4 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001151/0.2421, allocations: 157.6 kB / 1.225 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.664e-05/0.2421, allocations: 22.61 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/0.2421, allocations: 8.922 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/0.2424, allocations: 105.1 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.2424, allocations: 42.44 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.2424, allocations: 0 / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001273/0.2425, allocations: 45.69 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.2426, allocations: 51.41 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.083e-05/0.2426, allocations: 97.86 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.2426, allocations: 29.64 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.696e-05/0.2426, allocations: 92.27 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.2427, allocations: 7.891 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/0.2427, allocations: 17.72 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.011e-05/0.2427, allocations: 310.8 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.319e-05/0.2428, allocations: 0 / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-06/0.2428, allocations: 4 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.67e-05/0.2428, allocations: 16.8 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2428, allocations: 0 / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.184e-05/0.2429, allocations: 49.69 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.2429, allocations: 4 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.2429, allocations: 0 / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2429, allocations: 3.938 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.919e-05/0.243, allocations: 4 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.243, allocations: 0 / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.514e-05/0.243, allocations: 0 / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.243, allocations: 8 kB / 1.225 GB, free: 109.4 MB / 0.823 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 4.647e-05/0.2431, allocations: 106.5 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/0.2431, allocations: 11.84 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.234e-05/0.2432, allocations: 52.75 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.2432, allocations: 0 / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2432, allocations: 0 / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.2432, allocations: 3.984 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.016e-05/0.2433, allocations: 153.7 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2433, allocations: 4 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.071e-05/0.2433, allocations: 7.922 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2433, allocations: 32 / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.2433, allocations: 8 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2433, allocations: 0 / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2433, allocations: 0 / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.2435, allocations: 0.6084 MB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.2435, allocations: 89 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.2436, allocations: 4.281 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.477e-05/0.2436, allocations: 0 / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.2436, allocations: 4 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.2436, allocations: 0 / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.929e-05/0.2436, allocations: 87.22 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2436, allocations: 3.938 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003336/0.244, allocations: 31.92 kB / 1.227 GB, free: 108.1 MB / 0.823 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.0001621/0.2441, allocations: 128.1 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.079e-05/0.2442, allocations: 16 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2442, allocations: 0 / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.096e-05/0.2442, allocations: 7.984 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.2445, allocations: 0 / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.2447, allocations: 232.4 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.82e-05/0.2448, allocations: 0.685 MB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.588e-05/0.2449, allocations: 4 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.225e-05/0.2449, allocations: 7.438 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of SimCode: time 2.11e-07/0.2449, allocations: 0 / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of Templates: time 0.002351/0.2472, allocations: 0.7381 MB / 1.228 GB, free: 106.3 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)