Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.001249/0.001249, allocations: 80.55 kB / 19.96 MB, free: 4.605 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.001755/0.001755, allocations: 173.2 kB / 23.24 MB, free: 1.328 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.9173/0.9173, 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.814/1.814, allocations: 389.6 MB / 0.6343 GB, free: 12.61 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.SingleUTubeResistances,fileNamePrefix="Buildings_13_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_13_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.205e-05, allocations: 2.281 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.00193/0.001952, allocations: 1.474 MB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.003059, allocations: 0.8527 MB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.789e-05/0.003127, allocations: 7.938 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.00331, allocations: 51.7 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 1.717e-05/0.003327, allocations: 11.86 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.003742, allocations: 198.8 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.125e-05/0.003834, allocations: 55.59 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.348e-05/0.003877, allocations: 11.98 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.475e-05/0.003962, allocations: 31.92 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.312e-05/0.003985, allocations: 7.938 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.003999, allocations: 4 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.004303, allocations: 163.8 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.004315, allocations: 7.938 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.00434, allocations: 15.92 kB / 1.004 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.004523, allocations: 151.5 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004526, allocations: 3.938 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.173e-06/0.004527, allocations: 4 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.004531, allocations: 4 kB / 1.004 GB, free: 10.45 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002685/0.0048, allocations: 297.9 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.004846, allocations: 9.344 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.185e-05/0.004888, allocations: 106 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.004937, allocations: 84.22 kB / 1.004 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.005108, allocations: 204.8 kB / 1.004 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.005144, allocations: 150.9 kB / 1.004 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/0.005185, allocations: 154.9 kB / 1.005 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.882e-05/0.005233, allocations: 105.5 kB / 1.005 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.005254, allocations: 83.47 kB / 1.005 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.802e-05/0.005292, allocations: 158.6 kB / 1.005 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/0.005328, allocations: 154.6 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.447e-05/0.005363, allocations: 150.6 kB / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002017/0.005564, allocations: 437 kB / 1.006 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.19e-05/0.005626, allocations: 165.1 kB / 1.006 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.005649, allocations: 84.14 kB / 1.006 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.005667, allocations: 79.22 kB / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.005696, allocations: 105.8 kB / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 1.813e-06/0.005698, allocations: 0 / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.733e-05/0.005756, allocations: 37.59 kB / 1.006 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.005798, allocations: 134.7 kB / 1.006 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.005905, allocations: 129.8 kB / 1.006 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.005914, allocations: 25.7 kB / 1.006 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.762e-05/0.005952, allocations: 92.12 kB / 1.006 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.005954, allocations: 0 / 1.006 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.005978, allocations: 17.72 kB / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.221e-05/0.00605, allocations: 318.8 kB / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.828e-05/0.006068, allocations: 4 kB / 1.007 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.153e-05/0.00608, allocations: 7.938 kB / 1.007 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.987e-05/0.006109, allocations: 12.86 kB / 1.007 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006111, allocations: 4.031 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.276e-05/0.006204, allocations: 53.58 kB / 1.007 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.006216, allocations: 10.12 kB / 1.007 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.006234, allocations: 11.94 kB / 1.007 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.006244, allocations: 0 / 1.007 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.006245, allocations: 0 / 1.007 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.00625, allocations: 0 / 1.007 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.516e-05/0.006265, allocations: 0 / 1.007 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.006271, allocations: 0 / 1.007 GB, free: 6.926 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.103e-05/0.006342, allocations: 189.1 kB / 1.007 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.00638, allocations: 116.9 kB / 1.007 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.514e-05/0.006415, allocations: 116.8 kB / 1.007 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.849e-05/0.006454, allocations: 180.2 kB / 1.007 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.959e-05/0.006493, allocations: 180.3 kB / 1.008 GB, free: 6.121 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.884e-05/0.006532, allocations: 188.2 kB / 1.008 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.006675, allocations: 380.2 kB / 1.008 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.433e-05/0.006699, allocations: 105 kB / 1.008 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.711e-05/0.006727, allocations: 104.9 kB / 1.008 GB, free: 5.289 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.761e-05/0.006764, allocations: 176.3 kB / 1.009 GB, free: 5.109 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/0.006806, allocations: 192.2 kB / 1.009 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.884e-05/0.006845, allocations: 180.2 kB / 1.009 GB, free: 4.73 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.773e-05/0.006883, allocations: 180.3 kB / 1.009 GB, free: 4.547 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.852e-05/0.006971, allocations: 307.7 kB / 1.009 GB, free: 4.223 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-05/0.007005, allocations: 120.9 kB / 1.009 GB, free: 4.098 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.007125, allocations: 180.2 kB / 1.01 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.998e-05/0.007175, allocations: 101.3 kB / 1.01 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.007221, allocations: 184.2 kB / 1.01 GB, free: 3.621 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.007244, allocations: 101 kB / 1.01 GB, free: 3.516 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.704e-05/0.007291, allocations: 107.2 kB / 1.01 GB, free: 3.41 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007291, allocations: 0 / 1.01 GB, free: 3.41 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001828/0.007474, allocations: 31.88 kB / 1.01 GB, free: 3.379 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 (0): * Single equations (assignments): 0 * 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.0003717/0.007846, allocations: 0.8672 MB / 1.011 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.832e-05/0.007924, allocations: 37.62 kB / 1.011 GB, free: 2.441 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.007926, allocations: 4 kB / 1.011 GB, free: 2.438 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.007927, allocations: 0 / 1.011 GB, free: 2.438 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.008229, allocations: 467.6 kB / 1.011 GB, free: 1.977 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009425/0.009171, allocations: 1.464 MB / 1.013 GB, free: 444 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.2e-05/0.009213, allocations: 71.42 kB / 1.013 GB, free: 352 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.944e-05/0.009233, allocations: 0 / 1.013 GB, free: 352 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.009261, allocations: 20.5 kB / 1.013 GB, free: 332 kB / 0.9636 GB Notification: Performance of SimCode: time 4.3e-07/0.009261, allocations: 0 / 1.013 GB, free: 332 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08763/0.09689, allocations: 3.438 MB / 1.016 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.742/6.839, allocations: 5.75 kB / 1.016 GB, free: 13.05 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu) > Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_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_SingleUTubeResistances.fmu) > Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.37596526555717]