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.0008276/0.0008276, allocations: 104.3 kB / 19.73 MB, free: 424 kB / 13.93 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.0008865/0.0008865, allocations: 212.7 kB / 23.02 MB, free: 2.969 MB / 13.93 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.9331/0.9331, allocations: 230.6 MB / 256.8 MB, free: 9.633 MB / 202.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.936/1.936, allocations: 0.5046 GB / 0.8104 GB, free: 2.777 MB / 0.6511 GB " [Timeout remaining time 177] 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 0.0009121/0.0009121, allocations: 63.91 kB / 1.177 GB, free: 12 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.738/0.739, allocations: 180 MB / 1.352 GB, free: 1.715 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002123/0.7411, allocations: 1.31 MB / 1.354 GB, free: 404 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.003103/0.7442, allocations: 3.538 MB / 1.357 GB, free: 12.84 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.266e-05/0.7442, allocations: 0 / 1.357 GB, free: 12.84 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.7442, allocations: 0 / 1.357 GB, free: 12.84 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004544/0.7447, allocations: 103.4 kB / 1.357 GB, free: 12.74 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.7449, allocations: 135.5 kB / 1.357 GB, free: 12.61 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.745, allocations: 27.92 kB / 1.357 GB, free: 12.58 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.493e-05/0.7451, allocations: 3.984 kB / 1.357 GB, free: 12.57 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.348e-05/0.7452, allocations: 31.91 kB / 1.357 GB, free: 12.54 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.032e-05/0.7453, allocations: 35.84 kB / 1.358 GB, free: 12.51 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.7453, allocations: 0 / 1.358 GB, free: 12.51 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000327/0.7456, allocations: 291.6 kB / 1.358 GB, free: 12.22 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.7456, allocations: 0 / 1.358 GB, free: 12.22 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.206e-05/0.7457, allocations: 11.94 kB / 1.358 GB, free: 12.21 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.7458, allocations: 121.8 kB / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.7458, allocations: 7.922 kB / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7458, allocations: 3.938 kB / 1.358 GB, free: 12.08 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.7458, allocations: 0 / 1.358 GB, free: 12.08 MB / 1.042 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.0003586/0.7462, allocations: 286 kB / 1.358 GB, free: 11.77 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.7462, allocations: 8.922 kB / 1.358 GB, free: 11.77 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.7463, allocations: 30.75 kB / 1.358 GB, free: 11.73 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.038e-05/0.7463, allocations: 4.938 kB / 1.358 GB, free: 11.72 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.527e-05/0.7464, allocations: 118.5 kB / 1.358 GB, free: 11.58 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-06/0.7464, allocations: 384 / 1.358 GB, free: 11.58 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-06/0.7464, allocations: 384 / 1.358 GB, free: 11.58 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.66e-05/0.7465, allocations: 37.62 kB / 1.358 GB, free: 11.54 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.7465, allocations: 0 / 1.358 GB, free: 11.54 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.7465, allocations: 4 kB / 1.358 GB, free: 11.54 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.7465, allocations: 0 / 1.358 GB, free: 11.54 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.849e-05/0.7465, allocations: 7.938 kB / 1.358 GB, free: 11.53 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001126/0.7466, allocations: 128.7 kB / 1.359 GB, free: 11.36 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.744e-05/0.7467, allocations: 26.58 kB / 1.359 GB, free: 11.32 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.7467, allocations: 8.922 kB / 1.359 GB, free: 11.31 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.7468, allocations: 27.91 kB / 1.359 GB, free: 11.29 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.7469, allocations: 30.56 kB / 1.359 GB, free: 11.25 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.7469, allocations: 0 / 1.359 GB, free: 11.25 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0001228/0.747, allocations: 45.64 kB / 1.359 GB, free: 11.2 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.747, allocations: 51.41 kB / 1.359 GB, free: 11.13 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.122e-05/0.7471, allocations: 105.8 kB / 1.359 GB, free: 11.02 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.7471, allocations: 29.83 kB / 1.359 GB, free: 10.98 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.891e-05/0.7471, allocations: 80.14 kB / 1.359 GB, free: 10.9 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.7471, allocations: 7.953 kB / 1.359 GB, free: 10.89 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/0.7471, allocations: 13.72 kB / 1.359 GB, free: 10.88 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.57e-05/0.7472, allocations: 314.8 kB / 1.359 GB, free: 10.56 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.244e-05/0.7472, allocations: 7.938 kB / 1.359 GB, free: 10.55 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.053e-05/0.7473, allocations: 8 kB / 1.359 GB, free: 10.54 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.763e-05/0.7473, allocations: 12.86 kB / 1.359 GB, free: 10.53 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7473, allocations: 0 / 1.359 GB, free: 10.53 MB / 1.042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.907e-05/0.7473, allocations: 49.64 kB / 1.359 GB, free: 10.47 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.7473, allocations: 8 kB / 1.359 GB, free: 10.46 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.7474, allocations: 0 / 1.359 GB, free: 10.46 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.7474, allocations: 3.984 kB / 1.359 GB, free: 10.46 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.606e-05/0.7474, allocations: 4 kB / 1.359 GB, free: 10.46 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.7474, allocations: 0 / 1.359 GB, free: 10.46 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.002e-05/0.7474, allocations: 0 / 1.359 GB, free: 10.46 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.7474, allocations: 0 / 1.359 GB, free: 10.46 MB / 1.042 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.127e-05/0.7475, allocations: 109.8 kB / 1.359 GB, free: 10.34 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-06/0.7475, allocations: 7.891 kB / 1.359 GB, free: 10.33 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.7476, allocations: 60.91 kB / 1.36 GB, free: 10.26 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.7476, allocations: 0 / 1.36 GB, free: 10.26 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7476, allocations: 3.984 kB / 1.36 GB, free: 10.26 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.7477, allocations: 0 / 1.36 GB, free: 10.26 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.423e-05/0.7477, allocations: 124.8 kB / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7477, allocations: 3.938 kB / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.363e-05/0.7477, allocations: 4.25 kB / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.7477, allocations: 0 / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.7477, allocations: 4 kB / 1.36 GB, free: 10.08 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.7477, allocations: 0 / 1.36 GB, free: 10.08 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.7477, allocations: 8.031 kB / 1.36 GB, free: 10.07 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.947e-05/0.7478, allocations: 61.12 kB / 1.36 GB, free: 9.996 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.7478, allocations: 7.938 kB / 1.36 GB, free: 9.988 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.7478, allocations: 4 kB / 1.36 GB, free: 9.984 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.132e-06/0.7478, allocations: 0 / 1.36 GB, free: 9.984 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.7478, allocations: 7.938 kB / 1.36 GB, free: 9.977 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.7478, allocations: 3.984 kB / 1.36 GB, free: 9.973 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.571e-05/0.7479, allocations: 79.28 kB / 1.36 GB, free: 9.895 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7479, allocations: 0 / 1.36 GB, free: 9.895 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001447/0.748, allocations: 23.88 kB / 1.36 GB, free: 9.871 MB / 1.042 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.0003056/0.7483, allocations: 0.6497 MB / 1.36 GB, free: 9.191 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 6.676e-05/0.7484, allocations: 11.98 kB / 1.36 GB, free: 9.18 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7484, allocations: 3.938 kB / 1.36 GB, free: 9.176 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.442e-06/0.7484, allocations: 4 kB / 1.36 GB, free: 9.172 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.7486, allocations: 6.062 kB / 1.36 GB, free: 9.168 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.7489, allocations: 165.8 kB / 1.361 GB, free: 8.969 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.855e-05/0.7489, allocations: 67.3 kB / 1.361 GB, free: 8.883 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.09e-05/0.7489, allocations: 7.922 kB / 1.361 GB, free: 8.875 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.749, allocations: 11.44 kB / 1.361 GB, free: 8.863 MB / 1.042 GB Notification: Performance of SimCode: time 4.51e-07/0.749, allocations: 0 / 1.361 GB, free: 8.863 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08335/0.8323, allocations: 2.138 MB / 1.363 GB, free: 6.859 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.879/7.711, allocations: 8.125 kB / 1.363 GB, free: 6.855 MB / 1.042 GB " [Timeout remaining time 292] (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: 12.469505573622882]