Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001079/0.00108, allocations: 109 kB / 16.37 MB, free: 6.477 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.001109/0.001109, allocations: 189.8 kB / 17.31 MB, free: 5.82 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.339/1.339, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.741/1.741, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.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.001471/0.001471, allocations: 68.12 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2268, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002543/0.2294, allocations: 1.287 MB / 0.7861 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3728/0.6023, allocations: 3.755 MB / 0.7897 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.998e-05/0.6024, allocations: 0.6875 kB / 0.7897 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.874e-05/0.6024, allocations: 0 / 0.7897 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004923/0.6029, allocations: 99.44 kB / 0.7898 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.6033, allocations: 138.6 kB / 0.79 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.87e-05/0.6034, allocations: 23.8 kB / 0.79 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.982e-05/0.6035, allocations: 12.62 kB / 0.79 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.6036, allocations: 25.81 kB / 0.79 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.597e-05/0.6037, allocations: 33.16 kB / 0.79 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.6037, allocations: 0 / 0.79 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004092/0.6041, allocations: 301.2 kB / 0.7903 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.6041, allocations: 2.25 kB / 0.7903 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.423e-05/0.6042, allocations: 9.922 kB / 0.7903 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.6044, allocations: 122.5 kB / 0.7905 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6044, allocations: 5.844 kB / 0.7905 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6044, allocations: 0 / 0.7905 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.6044, allocations: 0 / 0.7905 GB, free: 46.43 MB / 0.6544 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.0003047/0.6047, allocations: 355 kB / 0.7908 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.6047, allocations: 10.84 kB / 0.7908 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.6048, allocations: 0.9375 kB / 0.7908 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.944e-05/0.6049, allocations: 171.8 kB / 0.791 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.6049, allocations: 2.312 kB / 0.791 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.6049, allocations: 384 / 0.791 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.406e-05/0.605, allocations: 39.81 kB / 0.791 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.605, allocations: 0.6562 kB / 0.791 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.605, allocations: 5.656 kB / 0.791 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.605, allocations: 1.656 kB / 0.791 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.153e-05/0.605, allocations: 3.688 kB / 0.791 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.6052, allocations: 157.5 kB / 0.7912 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.971e-05/0.6052, allocations: 28.98 kB / 0.7912 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.6052, allocations: 7.984 kB / 0.7912 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000208/0.6055, allocations: 104.3 kB / 0.7913 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.6055, allocations: 39.66 kB / 0.7914 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.6055, allocations: 0 / 0.7914 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001304/0.6056, allocations: 45.36 kB / 0.7914 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.6057, allocations: 53.31 kB / 0.7914 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.203e-05/0.6057, allocations: 96.36 kB / 0.7915 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.763e-06/0.6057, allocations: 25.7 kB / 0.7916 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.917e-05/0.6058, allocations: 88.69 kB / 0.7916 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.6058, allocations: 6.438 kB / 0.7917 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.6058, allocations: 12.88 kB / 0.7917 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.422e-05/0.6059, allocations: 315.4 kB / 0.792 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.6059, allocations: 3.375 kB / 0.792 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-06/0.6059, allocations: 4.766 kB / 0.792 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.748e-05/0.6059, allocations: 19.77 kB / 0.792 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6059, allocations: 0.5 kB / 0.792 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.482e-05/0.606, allocations: 41.55 kB / 0.792 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.606, allocations: 5.75 kB / 0.792 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.606, allocations: 1.562 kB / 0.792 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.606, allocations: 0.5625 kB / 0.792 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.051e-05/0.6061, allocations: 7.844 kB / 0.792 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.6061, allocations: 1.75 kB / 0.792 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.7e-05/0.6061, allocations: 5.281 kB / 0.7921 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.6061, allocations: 0 / 0.7921 GB, free: 44.79 MB / 0.6544 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.082e-05/0.6062, allocations: 113.8 kB / 0.7922 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.168e-06/0.6062, allocations: 11.41 kB / 0.7922 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.6063, allocations: 50.17 kB / 0.7922 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.6063, allocations: 2.625 kB / 0.7922 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.6063, allocations: 2.156 kB / 0.7922 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.6064, allocations: 1.172 kB / 0.7922 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.945e-05/0.6064, allocations: 159 kB / 0.7924 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.6064, allocations: 0 / 0.7924 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-05/0.6065, allocations: 11.06 kB / 0.7924 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.6065, allocations: 3.938 kB / 0.7924 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.6065, allocations: 0 / 0.7924 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.6065, allocations: 2.625 kB / 0.7924 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6065, allocations: 0 / 0.7924 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.229e-05/0.6065, allocations: 65.02 kB / 0.7925 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.6066, allocations: 85.34 kB / 0.7925 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.6066, allocations: 4.406 kB / 0.7925 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.441e-05/0.6066, allocations: 1.438 kB / 0.7925 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.07e-05/0.6066, allocations: 0 / 0.7925 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.6066, allocations: 2.625 kB / 0.7925 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.069e-05/0.6067, allocations: 85.73 kB / 0.7926 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6067, allocations: 0 / 0.7926 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002112/0.6069, allocations: 26.31 kB / 0.7927 GB, free: 44.19 MB / 0.6544 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.0001652/0.6071, allocations: 127 kB / 0.7928 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.18e-05/0.6071, allocations: 14.42 kB / 0.7928 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6071, allocations: 0 / 0.7928 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.169e-05/0.6072, allocations: 9.188 kB / 0.7928 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.6074, allocations: 2.625 kB / 0.7928 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.6077, allocations: 169.3 kB / 0.793 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.279e-05/0.6078, allocations: 0.6789 MB / 0.7936 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.851e-05/0.6078, allocations: 10.06 kB / 0.7936 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of SimCode: time 3.6e-07/0.6078, allocations: 0 / 0.7936 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.001879/0.6097, allocations: 0.7295 MB / 0.7943 GB, free: 43.21 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)