Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.675/1.675, allocations: 297.4 MB / 312.6 MB, free: 2.93 MB / 234.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.001414/0.001414, allocations: 182 kB / 382.3 MB, free: 14.85 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.38/1.38, allocations: 225.7 MB / 0.6617 GB, free: 7.262 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007854/0.0007854, allocations: 94.69 kB / 0.7789 GB, free: 46.8 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.000313, allocations: 8 kB / 0.9059 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6212/0.6216, allocations: 119.2 MB / 1.022 GB, free: 57.6 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001569/0.6232, allocations: 1.018 MB / 1.023 GB, free: 57.1 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004307/0.6275, allocations: 4.34 MB / 1.028 GB, free: 53.86 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.053e-05/0.6276, allocations: 0 / 1.028 GB, free: 53.86 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.6276, allocations: 1.906 kB / 1.028 GB, free: 53.86 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000477/0.6281, allocations: 87.08 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.6284, allocations: 95.5 kB / 1.028 GB, free: 53.78 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.105e-05/0.6285, allocations: 25.38 kB / 1.028 GB, free: 53.77 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.6285, allocations: 0.6562 kB / 1.028 GB, free: 53.77 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.6287, allocations: 34.88 kB / 1.028 GB, free: 53.75 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.951e-05/0.6288, allocations: 33.19 kB / 1.028 GB, free: 53.75 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.6288, allocations: 0 / 1.028 GB, free: 53.75 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004747/0.6293, allocations: 296.2 kB / 1.028 GB, free: 53.68 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.6293, allocations: 7.188 kB / 1.028 GB, free: 53.67 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.6293, allocations: 36.08 kB / 1.028 GB, free: 53.64 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.6295, allocations: 115.9 kB / 1.028 GB, free: 53.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.6296, allocations: 0 / 1.028 GB, free: 53.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.036e-06/0.6296, allocations: 1.062 kB / 1.028 GB, free: 53.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.6296, allocations: 0 / 1.028 GB, free: 53.6 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.0003268/0.6299, allocations: 354.7 kB / 1.029 GB, free: 53.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.63, allocations: 12.59 kB / 1.029 GB, free: 53.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.63, allocations: 7.906 kB / 1.029 GB, free: 53.22 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.558e-05/0.6301, allocations: 168.5 kB / 1.029 GB, free: 53.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.6301, allocations: 7.812 kB / 1.029 GB, free: 53.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.6301, allocations: 4.312 kB / 1.029 GB, free: 53.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.666e-05/0.6302, allocations: 33.23 kB / 1.029 GB, free: 52.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.6302, allocations: 0 / 1.029 GB, free: 52.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.6302, allocations: 7.406 kB / 1.029 GB, free: 52.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.6302, allocations: 3.438 kB / 1.029 GB, free: 52.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.154e-05/0.6303, allocations: 8.078 kB / 1.029 GB, free: 52.98 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.6304, allocations: 153.7 kB / 1.029 GB, free: 52.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.24e-05/0.6305, allocations: 25.36 kB / 1.029 GB, free: 52.76 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.6305, allocations: 9.016 kB / 1.029 GB, free: 52.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002165/0.6307, allocations: 102.6 kB / 1.029 GB, free: 52.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.6307, allocations: 34.5 kB / 1.029 GB, free: 52.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.6307, allocations: 0.5625 kB / 1.029 GB, free: 52.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001316/0.6309, allocations: 39.27 kB / 1.029 GB, free: 52.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.6309, allocations: 61.2 kB / 1.029 GB, free: 52.51 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.096e-05/0.631, allocations: 101.3 kB / 1.029 GB, free: 52.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.081e-06/0.631, allocations: 25.7 kB / 1.029 GB, free: 52.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.593e-05/0.631, allocations: 84.14 kB / 1.029 GB, free: 52.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.631, allocations: 7.844 kB / 1.029 GB, free: 52.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.631, allocations: 0 / 1.029 GB, free: 52.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.449e-05/0.6311, allocations: 319 kB / 1.03 GB, free: 51.97 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.6311, allocations: 3.344 kB / 1.03 GB, free: 51.97 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.827e-06/0.6311, allocations: 5.062 kB / 1.03 GB, free: 51.96 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.535e-05/0.6312, allocations: 10.67 kB / 1.03 GB, free: 51.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.6312, allocations: 0 / 1.03 GB, free: 51.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.886e-05/0.6312, allocations: 47.98 kB / 1.03 GB, free: 51.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.6312, allocations: 8.625 kB / 1.03 GB, free: 51.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.6313, allocations: 0 / 1.03 GB, free: 51.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.6313, allocations: 4.094 kB / 1.03 GB, free: 51.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.025e-05/0.6313, allocations: 4.312 kB / 1.03 GB, free: 51.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.6313, allocations: 0 / 1.03 GB, free: 51.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.611e-05/0.6314, allocations: 0 / 1.03 GB, free: 51.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.6314, allocations: 1.219 kB / 1.03 GB, free: 51.91 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 5.273e-05/0.6314, allocations: 112.4 kB / 1.03 GB, free: 51.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.6314, allocations: 5.344 kB / 1.03 GB, free: 51.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.847e-05/0.6315, allocations: 50.19 kB / 1.03 GB, free: 51.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.6316, allocations: 9 kB / 1.03 GB, free: 51.74 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6316, allocations: 3.938 kB / 1.03 GB, free: 51.74 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.6316, allocations: 0 / 1.03 GB, free: 51.74 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.346e-05/0.6317, allocations: 162.1 kB / 1.03 GB, free: 51.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6317, allocations: 0 / 1.03 GB, free: 51.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.281e-05/0.6317, allocations: 9.844 kB / 1.03 GB, free: 51.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.6317, allocations: 0 / 1.03 GB, free: 51.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.6317, allocations: 1.156 kB / 1.03 GB, free: 51.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.6317, allocations: 0 / 1.03 GB, free: 51.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6317, allocations: 3.438 kB / 1.03 GB, free: 51.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.521e-05/0.6318, allocations: 67.45 kB / 1.03 GB, free: 51.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.6318, allocations: 82.11 kB / 1.03 GB, free: 51.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.6318, allocations: 1.828 kB / 1.03 GB, free: 51.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.481e-05/0.6319, allocations: 4 kB / 1.03 GB, free: 51.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.98e-05/0.6319, allocations: 6.828 kB / 1.03 GB, free: 51.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.6319, allocations: 0 / 1.03 GB, free: 51.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.305e-05/0.6319, allocations: 77.97 kB / 1.03 GB, free: 51.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6319, allocations: 4.031 kB / 1.03 GB, free: 51.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002148/0.6322, allocations: 21.59 kB / 1.03 GB, free: 51.28 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.0001807/0.6323, allocations: 134.6 kB / 1.031 GB, free: 51.19 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.202e-05/0.6324, allocations: 19.64 kB / 1.031 GB, free: 51.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6324, allocations: 0 / 1.031 GB, free: 51.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.161e-05/0.6324, allocations: 5.062 kB / 1.031 GB, free: 51.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.6327, allocations: 5.188 kB / 1.031 GB, free: 51.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002655/0.6329, allocations: 154 kB / 1.031 GB, free: 51.04 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.6331, allocations: 0.6774 MB / 1.031 GB, free: 50.35 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.42e-05/0.6331, allocations: 4.75 kB / 1.031 GB, free: 50.35 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.271e-05/0.6331, allocations: 7.438 kB / 1.031 GB, free: 50.34 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.6331, allocations: 4 kB / 1.031 GB, free: 50.34 MB / 0.698 GB Notification: Performance of Templates: time 0.002742/0.6359, allocations: 0.7204 MB / 1.032 GB, free: 50.27 MB / 0.698 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)