Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.698/1.698, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 176.4 kB / 393.1 MB, free: 4.078 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 225.7 MB / 0.6743 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007733/0.0007733, allocations: 91.77 kB / 0.7935 GB, free: 40.04 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.000365, allocations: 8 kB / 0.9224 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5786/0.579, allocations: 121.3 MB / 1.041 GB, free: 58.54 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001254/0.5803, allocations: 1.018 MB / 1.042 GB, free: 57.87 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003568/0.5839, allocations: 4.346 MB / 1.046 GB, free: 54.39 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.584, allocations: 0 / 1.046 GB, free: 54.39 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.357e-05/0.584, allocations: 1.188 kB / 1.046 GB, free: 54.39 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004006/0.5844, allocations: 94.66 kB / 1.046 GB, free: 54.34 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.5846, allocations: 93.41 kB / 1.046 GB, free: 54.3 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.104e-05/0.5847, allocations: 25.02 kB / 1.046 GB, free: 54.3 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.5847, allocations: 4.984 kB / 1.046 GB, free: 54.29 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.5848, allocations: 26.02 kB / 1.046 GB, free: 54.28 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.298e-05/0.585, allocations: 35.16 kB / 1.046 GB, free: 54.27 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.585, allocations: 1.719 kB / 1.046 GB, free: 54.27 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004363/0.5854, allocations: 299.2 kB / 1.047 GB, free: 54.2 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.5854, allocations: 5.969 kB / 1.047 GB, free: 54.2 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.5855, allocations: 27.86 kB / 1.047 GB, free: 54.17 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.5857, allocations: 116.5 kB / 1.047 GB, free: 54.13 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.5857, allocations: 0.6875 kB / 1.047 GB, free: 54.13 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5857, allocations: 0 / 1.047 GB, free: 54.13 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.5857, allocations: 4.406 kB / 1.047 GB, free: 54.13 MB / 0.698 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.0002855/0.586, allocations: 346.8 kB / 1.047 GB, free: 53.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.586, allocations: 10.97 kB / 1.047 GB, free: 53.76 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.5861, allocations: 6.062 kB / 1.047 GB, free: 53.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.883e-05/0.5862, allocations: 176.4 kB / 1.047 GB, free: 53.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.5862, allocations: 4.078 kB / 1.047 GB, free: 53.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.086e-06/0.5862, allocations: 2.812 kB / 1.047 GB, free: 53.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.807e-05/0.5863, allocations: 40.55 kB / 1.047 GB, free: 53.51 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.5863, allocations: 0 / 1.047 GB, free: 53.51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.5863, allocations: 0 / 1.047 GB, free: 53.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.5863, allocations: 1.031 kB / 1.047 GB, free: 53.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.443e-05/0.5864, allocations: 4.719 kB / 1.047 GB, free: 53.51 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.5865, allocations: 158 kB / 1.048 GB, free: 53.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.794e-05/0.5866, allocations: 30.75 kB / 1.048 GB, free: 53.29 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/0.5866, allocations: 10.25 kB / 1.048 GB, free: 53.28 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/0.5868, allocations: 96.81 kB / 1.048 GB, free: 53.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.5869, allocations: 35.12 kB / 1.048 GB, free: 53.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.5869, allocations: 0.625 kB / 1.048 GB, free: 53.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001272/0.587, allocations: 44.45 kB / 1.048 GB, free: 53.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.732e-05/0.587, allocations: 55.34 kB / 1.048 GB, free: 53.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.202e-05/0.5871, allocations: 104.4 kB / 1.048 GB, free: 52.94 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.961e-06/0.5871, allocations: 26.39 kB / 1.048 GB, free: 52.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.599e-05/0.5871, allocations: 80.75 kB / 1.048 GB, free: 52.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.5871, allocations: 13 kB / 1.048 GB, free: 52.81 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.5872, allocations: 1.688 kB / 1.048 GB, free: 52.81 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.748e-05/0.5872, allocations: 315.1 kB / 1.048 GB, free: 52.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.5872, allocations: 3.172 kB / 1.048 GB, free: 52.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.808e-06/0.5872, allocations: 5.031 kB / 1.048 GB, free: 52.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.839e-05/0.5873, allocations: 15.19 kB / 1.048 GB, free: 52.49 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5873, allocations: 0 / 1.048 GB, free: 52.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.181e-05/0.5873, allocations: 44.64 kB / 1.048 GB, free: 52.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.5874, allocations: 3.406 kB / 1.048 GB, free: 52.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.5874, allocations: 3.938 kB / 1.048 GB, free: 52.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.5874, allocations: 0.7812 kB / 1.048 GB, free: 52.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.604e-05/0.5874, allocations: 3.734 kB / 1.048 GB, free: 52.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.5874, allocations: 0.8438 kB / 1.048 GB, free: 52.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.5875, allocations: 1.219 kB / 1.048 GB, free: 52.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.5875, allocations: 6.094 kB / 1.048 GB, free: 52.44 MB / 0.698 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.5e-05/0.5875, allocations: 108.7 kB / 1.048 GB, free: 52.33 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-06/0.5875, allocations: 17.33 kB / 1.049 GB, free: 52.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.421e-05/0.5876, allocations: 48.36 kB / 1.049 GB, free: 52.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.5876, allocations: 0 / 1.049 GB, free: 52.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.5877, allocations: 0 / 1.049 GB, free: 52.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.5877, allocations: 0 / 1.049 GB, free: 52.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.58e-05/0.5877, allocations: 158.5 kB / 1.049 GB, free: 52.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5877, allocations: 0 / 1.049 GB, free: 52.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-05/0.5878, allocations: 12.09 kB / 1.049 GB, free: 52.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.5878, allocations: 0 / 1.049 GB, free: 52.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.5878, allocations: 4.031 kB / 1.049 GB, free: 52.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5878, allocations: 2.906 kB / 1.049 GB, free: 52.07 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5878, allocations: 0 / 1.049 GB, free: 52.07 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.25e-05/0.5879, allocations: 63.73 kB / 1.049 GB, free: 52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.806e-05/0.5879, allocations: 84.55 kB / 1.049 GB, free: 51.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.5879, allocations: 0 / 1.049 GB, free: 51.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.442e-05/0.5879, allocations: 0 / 1.049 GB, free: 51.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.588, allocations: 4.594 kB / 1.049 GB, free: 51.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.588, allocations: 2.281 kB / 1.049 GB, free: 51.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.336e-05/0.588, allocations: 90 kB / 1.049 GB, free: 51.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.588, allocations: 0 / 1.049 GB, free: 51.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001944/0.5882, allocations: 22.53 kB / 1.049 GB, free: 51.81 MB / 0.698 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.0001672/0.5884, allocations: 137.3 kB / 1.049 GB, free: 51.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.948e-05/0.5884, allocations: 12.16 kB / 1.049 GB, free: 51.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5884, allocations: 4 kB / 1.049 GB, free: 51.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-05/0.5885, allocations: 9.297 kB / 1.049 GB, free: 51.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.5887, allocations: 5.875 kB / 1.049 GB, free: 51.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000227/0.5889, allocations: 151.4 kB / 1.049 GB, free: 51.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.337e-05/0.589, allocations: 0.6774 MB / 1.05 GB, free: 50.88 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.718e-05/0.589, allocations: 6.375 kB / 1.05 GB, free: 50.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.467e-05/0.589, allocations: 10.34 kB / 1.05 GB, free: 50.87 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.5891, allocations: 0 / 1.05 GB, free: 50.87 MB / 0.698 GB Notification: Performance of Templates: time 0.0025/0.5916, allocations: 0.7271 MB / 1.051 GB, free: 50.79 MB / 0.698 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)