Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 104.4 kB / 15.98 MB, free: 6.359 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.001172/0.001172, allocations: 199.3 kB / 16.91 MB, free: 6.191 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.515/1.515, allocations: 205.1 MB / 222.8 MB, free: 4.672 MB / 174.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.717/1.717, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.001394/0.001395, allocations: 78.19 kB / 0.6717 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2925, allocations: 114.6 MB / 0.7836 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002602/0.2951, allocations: 1.407 MB / 0.785 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.2968, allocations: 1.109 MB / 0.786 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.2968, allocations: 4 kB / 0.786 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.101e-05/0.2968, allocations: 0 / 0.786 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.572e-05/0.2969, allocations: 11.91 kB / 0.7861 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006026/0.2975, allocations: 179.6 kB / 0.7862 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.411e-05/0.2976, allocations: 31.8 kB / 0.7863 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.2976, allocations: 4 kB / 0.7863 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.91e-05/0.2977, allocations: 15.98 kB / 0.7863 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.535e-05/0.2978, allocations: 7.938 kB / 0.7863 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.2978, allocations: 0 / 0.7863 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005654/0.2984, allocations: 427.5 kB / 0.7867 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.2984, allocations: 19.84 kB / 0.7867 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.2984, allocations: 7.938 kB / 0.7867 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.2987, allocations: 136 kB / 0.7868 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2987, allocations: 0 / 0.7868 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2987, allocations: 0 / 0.7868 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.2987, allocations: 0 / 0.7868 GB, free: 10.48 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004773/0.2992, allocations: 383.3 kB / 0.7872 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2992, allocations: 16.02 kB / 0.7872 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/0.2993, allocations: 8.844 kB / 0.7872 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.2994, allocations: 164.3 kB / 0.7874 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.2994, allocations: 8.375 kB / 0.7874 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.2994, allocations: 4.375 kB / 0.7874 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.2995, allocations: 38 kB / 0.7874 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.2996, allocations: 0 / 0.7874 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.2996, allocations: 4 kB / 0.7874 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.2996, allocations: 4 kB / 0.7875 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.642e-05/0.2996, allocations: 15.92 kB / 0.7875 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.2998, allocations: 161.7 kB / 0.7876 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.809e-05/0.2999, allocations: 38.58 kB / 0.7877 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.228e-05/0.2999, allocations: 16.92 kB / 0.7877 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/0.301, allocations: 0.9856 MB / 0.7886 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.301, allocations: 34.5 kB / 0.7887 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.301, allocations: 0 / 0.7887 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.000179/0.3012, allocations: 65.53 kB / 0.7887 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.3012, allocations: 51.41 kB / 0.7888 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.391e-05/0.3013, allocations: 113.8 kB / 0.7889 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.3013, allocations: 29.7 kB / 0.7889 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.3014, allocations: 84.14 kB / 0.789 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.3014, allocations: 15.73 kB / 0.789 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.3015, allocations: 21.7 kB / 0.789 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3016, allocations: 314.8 kB / 0.7893 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.448e-05/0.3016, allocations: 4 kB / 0.7893 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.695e-05/0.3016, allocations: 8 kB / 0.7893 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.939e-05/0.3017, allocations: 24.84 kB / 0.7894 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3017, allocations: 0 / 0.7894 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.911e-05/0.3018, allocations: 49.64 kB / 0.7894 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3018, allocations: 15.92 kB / 0.7894 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.3018, allocations: 0 / 0.7894 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.3018, allocations: 0 / 0.7894 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.302, allocations: 12 kB / 0.7894 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.302, allocations: 0 / 0.7894 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.236e-05/0.302, allocations: 0 / 0.7894 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.302, allocations: 0 / 0.7894 GB, free: 7.379 MB / 0.6075 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 (4): * Single equations (assignments): 4 * 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 8.63e-05/0.3021, allocations: 121.8 kB / 0.7896 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.3021, allocations: 15.72 kB / 0.7896 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.3023, allocations: 64.48 kB / 0.7896 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.3023, allocations: 0 / 0.7896 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3023, allocations: 4 kB / 0.7896 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.3023, allocations: 0 / 0.7896 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.3024, allocations: 161.7 kB / 0.7898 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3024, allocations: 0 / 0.7898 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.197e-05/0.3025, allocations: 8 kB / 0.7898 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3025, allocations: 11.94 kB / 0.7898 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.3025, allocations: 384 / 0.7898 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3025, allocations: 0 / 0.7898 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3025, allocations: 0 / 0.7898 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.3027, allocations: 81.05 kB / 0.7899 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-05/0.3027, allocations: 92.94 kB / 0.79 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.3027, allocations: 4 kB / 0.79 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.252e-05/0.3028, allocations: 0 / 0.79 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.3028, allocations: 4 kB / 0.79 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.3028, allocations: 4 kB / 0.79 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.383e-05/0.3028, allocations: 87.27 kB / 0.7901 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3028, allocations: 0 / 0.7901 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002358/0.3031, allocations: 39.94 kB / 0.7901 GB, free: 6.586 MB / 0.6075 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 (4): * Single equations (assignments): 4 * 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.0002919/0.3034, allocations: 151.2 kB / 0.7903 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.3035, allocations: 23.98 kB / 0.7903 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3035, allocations: 0 / 0.7903 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.952e-05/0.3035, allocations: 15.94 kB / 0.7903 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.3038, allocations: 4 kB / 0.7903 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003887/0.3042, allocations: 181.9 kB / 0.7905 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.3045, allocations: 0.6884 MB / 0.7911 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.3045, allocations: 7.438 kB / 0.7911 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3045, allocations: 0 / 0.7911 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of Templates: time 0.00329/0.3078, allocations: 1.031 MB / 0.7922 GB, free: 4.426 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)