Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.683/1.683, allocations: 291.7 MB / 306.8 MB, free: 7.707 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.001083/0.001083, allocations: 192.3 kB / 375.4 MB, free: 5.117 MB / 298.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.506/1.506, allocations: 225.7 MB / 0.6538 GB, free: 13.6 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.0007926/0.0007926, allocations: 100.2 kB / 0.7699 GB, free: 50.31 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005838/0.0005839, allocations: 12 kB / 0.8956 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6729/0.6735, allocations: 118.1 MB / 1.011 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001719/0.6753, allocations: 1.006 MB / 1.012 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003955/0.6793, allocations: 3.505 MB / 1.015 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.565e-05/0.6794, allocations: 0 / 1.015 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.876e-05/0.6794, allocations: 2.188 kB / 1.015 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.6798, allocations: 86.28 kB / 1.015 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.68, allocations: 92.62 kB / 1.015 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.925e-05/0.68, allocations: 26.5 kB / 1.016 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.548e-05/0.6801, allocations: 0.5625 kB / 1.016 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.413e-05/0.6802, allocations: 27.23 kB / 1.016 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.6803, allocations: 36.94 kB / 1.016 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.6803, allocations: 0 / 1.016 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004018/0.6807, allocations: 287.6 kB / 1.016 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.6808, allocations: 8.312 kB / 1.016 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.68e-05/0.6808, allocations: 29.42 kB / 1.016 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.6809, allocations: 79.77 kB / 1.016 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.6809, allocations: 0.625 kB / 1.016 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6809, allocations: 1.125 kB / 1.016 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.6809, allocations: 0 / 1.016 GB, free: 57.25 MB / 0.7136 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.000282/0.6812, allocations: 362.6 kB / 1.016 GB, free: 56.87 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.6813, allocations: 6.312 kB / 1.016 GB, free: 56.87 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.6813, allocations: 2.438 kB / 1.016 GB, free: 56.87 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.056e-05/0.6814, allocations: 168.2 kB / 1.016 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.6814, allocations: 1.625 kB / 1.016 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.6814, allocations: 1.719 kB / 1.016 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.199e-05/0.6815, allocations: 36.02 kB / 1.017 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.6815, allocations: 6.219 kB / 1.017 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.6815, allocations: 0 / 1.017 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.6815, allocations: 0.9688 kB / 1.017 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.975e-05/0.6816, allocations: 3.594 kB / 1.017 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001162/0.6817, allocations: 158.8 kB / 1.017 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.047e-05/0.6817, allocations: 25.27 kB / 1.017 GB, free: 56.42 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.6818, allocations: 11.3 kB / 1.017 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002121/0.682, allocations: 95.45 kB / 1.017 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.682, allocations: 36.66 kB / 1.017 GB, free: 56.28 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.682, allocations: 0 / 1.017 GB, free: 56.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.000122/0.6822, allocations: 50.7 kB / 1.017 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.6822, allocations: 51.41 kB / 1.017 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.223e-05/0.6822, allocations: 103.8 kB / 1.017 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.6823, allocations: 25.7 kB / 1.017 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.747e-05/0.6823, allocations: 80.84 kB / 1.017 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.6823, allocations: 13.81 kB / 1.017 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.6823, allocations: 0.7812 kB / 1.017 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.853e-05/0.6824, allocations: 316.8 kB / 1.017 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.269e-05/0.6824, allocations: 5.203 kB / 1.017 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.007e-06/0.6824, allocations: 3.219 kB / 1.017 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.757e-05/0.6824, allocations: 17.8 kB / 1.017 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6824, allocations: 0 / 1.017 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.007e-05/0.6825, allocations: 40.55 kB / 1.018 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.6825, allocations: 6.844 kB / 1.018 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6825, allocations: 2.125 kB / 1.018 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.6825, allocations: 0.75 kB / 1.018 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.178e-05/0.6826, allocations: 3 kB / 1.018 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.6826, allocations: 5.469 kB / 1.018 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.632e-05/0.6826, allocations: 7.75 kB / 1.018 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.6826, allocations: 3.938 kB / 1.018 GB, free: 55.6 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.392e-05/0.6827, allocations: 109.8 kB / 1.018 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.685e-06/0.6827, allocations: 8.203 kB / 1.018 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.101e-05/0.6828, allocations: 55.86 kB / 1.018 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.6828, allocations: 1.656 kB / 1.018 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.6828, allocations: 0.625 kB / 1.018 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.6828, allocations: 0 / 1.018 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.155e-05/0.6829, allocations: 158.3 kB / 1.018 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6829, allocations: 1.875 kB / 1.018 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.16e-05/0.6829, allocations: 6.531 kB / 1.018 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.6829, allocations: 0 / 1.018 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.6829, allocations: 2.656 kB / 1.018 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.6829, allocations: 0 / 1.018 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.683, allocations: 2.25 kB / 1.018 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.068e-05/0.683, allocations: 72.34 kB / 1.018 GB, free: 55.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.6831, allocations: 82.42 kB / 1.018 GB, free: 55.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.6831, allocations: 4.172 kB / 1.018 GB, free: 55.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.423e-05/0.6831, allocations: 0 / 1.018 GB, free: 55.08 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.6831, allocations: 2.516 kB / 1.018 GB, free: 55.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.6831, allocations: 2.688 kB / 1.018 GB, free: 55.08 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.15e-05/0.6832, allocations: 85.12 kB / 1.018 GB, free: 55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6832, allocations: 0 / 1.018 GB, free: 55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002005/0.6834, allocations: 22.44 kB / 1.018 GB, free: 55 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001687/0.6835, allocations: 136.2 kB / 1.018 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.943e-05/0.6836, allocations: 11.41 kB / 1.018 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.6836, allocations: 3.188 kB / 1.018 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-05/0.6836, allocations: 9.438 kB / 1.018 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.6838, allocations: 11.52 kB / 1.018 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002346/0.6841, allocations: 151.8 kB / 1.018 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.497e-05/0.6842, allocations: 0.6786 MB / 1.019 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.653e-05/0.6842, allocations: 3.844 kB / 1.019 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.354e-05/0.6842, allocations: 10.72 kB / 1.019 GB, free: 54.08 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.6842, allocations: 0.5625 kB / 1.019 GB, free: 54.08 MB / 0.7136 GB Notification: Performance of Templates: time 0.002367/0.6866, allocations: 0.7169 MB / 1.02 GB, free: 54.06 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)