Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007876/0.0007876, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007454/0.0007454, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8621/0.8621, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.774/1.774, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_13_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_13_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.386e-05/1.496e-05, allocations: 2.281 kB / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001489/0.001504, allocations: 1.306 MB / 1.002 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002879/0.004383, allocations: 3.527 MB / 1.005 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.65e-05/0.00441, allocations: 0 / 1.005 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.358e-05/0.004423, allocations: 7.938 kB / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.004791, allocations: 99.44 kB / 1.006 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.004997, allocations: 138.5 kB / 1.006 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.154e-05/0.005058, allocations: 31.86 kB / 1.006 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.117e-05/0.00509, allocations: 7.984 kB / 1.006 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.238e-05/0.005182, allocations: 31.86 kB / 1.006 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.925e-05/0.005251, allocations: 35.95 kB / 1.006 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.005261, allocations: 0 / 1.006 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.005547, allocations: 295.5 kB / 1.006 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.989e-06/0.005557, allocations: 3.984 kB / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.005574, allocations: 4 kB / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.005744, allocations: 155.5 kB / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.005746, allocations: 0 / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.81e-07/0.005747, allocations: 0 / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.005751, allocations: 0 / 1.006 GB, free: 7.848 MB / 0.9636 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.0002924/0.006043, allocations: 286 kB / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.00608, allocations: 13.34 kB / 1.006 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.771e-05/0.006108, allocations: 30.75 kB / 1.006 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.926e-05/0.006127, allocations: 0.9375 kB / 1.006 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.963e-05/0.006197, allocations: 117.7 kB / 1.007 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.006205, allocations: 384 / 1.007 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.191e-06/0.006211, allocations: 384 / 1.007 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.433e-05/0.006286, allocations: 34.2 kB / 1.007 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.006292, allocations: 192 / 1.007 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.006301, allocations: 7.938 kB / 1.007 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.006305, allocations: 4 kB / 1.007 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.799e-05/0.006333, allocations: 7.938 kB / 1.007 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001083/0.006441, allocations: 128.8 kB / 1.007 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.469e-05/0.006486, allocations: 18.58 kB / 1.007 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.686e-05/0.006503, allocations: 8.922 kB / 1.007 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/0.006645, allocations: 27.95 kB / 1.007 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.00666, allocations: 34.56 kB / 1.007 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.006661, allocations: 4 kB / 1.007 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001105/0.006771, allocations: 41.58 kB / 1.007 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.006794, allocations: 55.41 kB / 1.007 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.911e-05/0.006853, allocations: 105.8 kB / 1.007 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.006863, allocations: 25.7 kB / 1.007 GB, free: 6.75 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.403e-05/0.006887, allocations: 88.14 kB / 1.007 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.006906, allocations: 3.953 kB / 1.007 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.006928, allocations: 13.72 kB / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.075e-05/0.006999, allocations: 318.8 kB / 1.007 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.317e-06/0.007008, allocations: 0 / 1.007 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.065e-06/0.007016, allocations: 8.125 kB / 1.008 GB, free: 6.309 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.302e-05/0.00704, allocations: 12.86 kB / 1.008 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.007041, allocations: 0 / 1.008 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.182e-05/0.007083, allocations: 45.62 kB / 1.008 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.007092, allocations: 4 kB / 1.008 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.007097, allocations: 3.938 kB / 1.008 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.007106, allocations: 4 kB / 1.008 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.983e-05/0.007146, allocations: 0 / 1.008 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.007151, allocations: 7.938 kB / 1.008 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.437e-06/0.007161, allocations: 0 / 1.008 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-06/0.007164, allocations: 4.094 kB / 1.008 GB, free: 6.219 MB / 0.9636 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.512e-05/0.007209, allocations: 105.8 kB / 1.008 GB, free: 6.105 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-06/0.007214, allocations: 7.953 kB / 1.008 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.321e-05/0.007287, allocations: 52.94 kB / 1.008 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.007288, allocations: 0 / 1.008 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.007292, allocations: 7.938 kB / 1.008 GB, free: 6.035 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.007294, allocations: 0 / 1.008 GB, free: 6.035 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.838e-05/0.007353, allocations: 124.7 kB / 1.008 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.007353, allocations: 0 / 1.008 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.004e-05/0.007363, allocations: 8.031 kB / 1.008 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.007364, allocations: 0 / 1.008 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.00737, allocations: 3.938 kB / 1.008 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.007371, allocations: 0 / 1.008 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.007372, allocations: 0 / 1.008 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.761e-05/0.007419, allocations: 65.12 kB / 1.008 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.368e-05/0.007433, allocations: 4 kB / 1.008 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.007444, allocations: 7.938 kB / 1.008 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-06/0.00745, allocations: 0 / 1.008 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.007464, allocations: 3.984 kB / 1.008 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.007466, allocations: 8.031 kB / 1.008 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.36e-05/0.00749, allocations: 83.53 kB / 1.008 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.00749, allocations: 0 / 1.008 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001351/0.007625, allocations: 27.81 kB / 1.008 GB, free: 5.645 MB / 0.9636 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.0002668/0.007892, allocations: 0.6358 MB / 1.009 GB, free: 4.98 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.741e-05/0.007949, allocations: 11.94 kB / 1.009 GB, free: 4.969 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.00795, allocations: 0 / 1.009 GB, free: 4.969 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.384e-06/0.007958, allocations: 7.938 kB / 1.009 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.0081, allocations: 12.09 kB / 1.009 GB, free: 4.949 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.008376, allocations: 154.4 kB / 1.009 GB, free: 4.758 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.248e-05/0.008408, allocations: 63.28 kB / 1.009 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.763e-05/0.008426, allocations: 7.906 kB / 1.009 GB, free: 4.668 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.251e-05/0.008448, allocations: 8.5 kB / 1.009 GB, free: 4.66 MB / 0.9636 GB Notification: Performance of SimCode: time 3.61e-07/0.008449, allocations: 4 kB / 1.009 GB, free: 4.656 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07333/0.08178, allocations: 2.301 MB / 1.011 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.753/6.835, allocations: 2.547 kB / 1.011 GB, free: 2.512 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu) > Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu) > Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.23960115853697]