Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.001874/0.001874, allocations: 101.9 kB / 20.48 MB, free: 1.383 MB / 14.72 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.002499/0.002499, allocations: 213.1 kB / 23.78 MB, free: 4.555 MB / 14.72 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 1.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.024/1.024, allocations: 150 MB / 463.9 MB, free: 10.21 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 63.48 kB / 0.642 GB, free: 9.844 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1822, allocations: 89.18 MB / 0.7291 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002729/0.1849, allocations: 1.422 MB / 0.7305 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00486/0.1898, allocations: 2.665 MB / 0.7331 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.1898, allocations: 0 / 0.7331 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.596e-05/0.1898, allocations: 7.938 kB / 0.7331 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.812e-05/0.1899, allocations: 19.84 kB / 0.7331 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004277/0.1942, allocations: 1.658 MB / 0.7348 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.1943, allocations: 39.75 kB / 0.7348 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.6e-05/0.1943, allocations: 7.984 kB / 0.7348 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.067e-05/0.1944, allocations: 11.94 kB / 0.7348 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.374e-05/0.1944, allocations: 23.81 kB / 0.7348 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.1944, allocations: 0 / 0.7348 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002488/0.1969, allocations: 1.595 MB / 0.7364 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.1969, allocations: 0 / 0.7364 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.197, allocations: 19.86 kB / 0.7364 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.1985, allocations: 1.111 MB / 0.7375 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1985, allocations: 0 / 0.7375 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1985, allocations: 0 / 0.7375 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.1985, allocations: 4 kB / 0.7375 GB, free: 8.148 MB / 0.5606 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.0006304/0.1992, allocations: 464.1 kB / 0.7379 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.1992, allocations: 8.031 kB / 0.738 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.024e-05/0.1992, allocations: 79.47 kB / 0.738 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.932e-05/0.1993, allocations: 110 kB / 0.7381 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.793e-05/0.1994, allocations: 80.17 kB / 0.7382 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.1995, allocations: 205.4 kB / 0.7384 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.919e-05/0.1996, allocations: 150.6 kB / 0.7385 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.665e-05/0.1997, allocations: 154.5 kB / 0.7387 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.741e-05/0.1997, allocations: 109 kB / 0.7388 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/0.1998, allocations: 83.22 kB / 0.7389 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-05/0.1998, allocations: 150.6 kB / 0.739 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.894e-05/0.1999, allocations: 150.6 kB / 0.7392 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.679e-05/0.2, allocations: 150.6 kB / 0.7393 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.2003, allocations: 440.9 kB / 0.7397 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.2004, allocations: 177.1 kB / 0.7399 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/0.2004, allocations: 80.14 kB / 0.74 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.2005, allocations: 75.28 kB / 0.74 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.265e-05/0.2005, allocations: 113.8 kB / 0.7402 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.2006, allocations: 0 / 0.7402 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.794e-05/0.2006, allocations: 37.59 kB / 0.7402 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/0.2007, allocations: 126.7 kB / 0.7403 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.2009, allocations: 128.3 kB / 0.7404 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.2009, allocations: 33.69 kB / 0.7405 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.2009, allocations: 96.08 kB / 0.7406 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.2009, allocations: 4 kB / 0.7406 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.201, allocations: 17.72 kB / 0.7406 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2011, allocations: 322.8 kB / 0.7409 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.881e-05/0.2012, allocations: 8 kB / 0.7409 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.932e-05/0.2012, allocations: 4 kB / 0.7409 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.094e-05/0.2012, allocations: 16.92 kB / 0.7409 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2012, allocations: 0 / 0.7409 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001367/0.2013, allocations: 53.62 kB / 0.741 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2014, allocations: 4 kB / 0.741 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.2014, allocations: 7.938 kB / 0.741 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.2014, allocations: 0 / 0.741 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.2014, allocations: 4.062 kB / 0.741 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2014, allocations: 0 / 0.741 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.996e-05/0.2014, allocations: 11.89 kB / 0.741 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.2014, allocations: 0 / 0.741 GB, free: 4.363 MB / 0.5606 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 0.000125/0.2016, allocations: 193 kB / 0.7412 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.547e-05/0.2016, allocations: 108.9 kB / 0.7413 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.265e-05/0.2017, allocations: 116.7 kB / 0.7414 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.663e-05/0.2018, allocations: 176.3 kB / 0.7416 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.14e-05/0.2019, allocations: 184.2 kB / 0.7417 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.67e-05/0.2019, allocations: 180.2 kB / 0.7419 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.2022, allocations: 396.2 kB / 0.7423 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.401e-05/0.2023, allocations: 104.9 kB / 0.7424 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.2023, allocations: 101 kB / 0.7425 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.321e-05/0.2024, allocations: 184.2 kB / 0.7427 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.82e-05/0.2025, allocations: 184.2 kB / 0.7428 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.712e-05/0.2026, allocations: 184.3 kB / 0.743 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-05/0.2026, allocations: 180.2 kB / 0.7432 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.2028, allocations: 303.7 kB / 0.7435 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.249e-05/0.2029, allocations: 116.9 kB / 0.7436 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.377e-05/0.203, allocations: 180.3 kB / 0.7438 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.816e-05/0.203, allocations: 104.9 kB / 0.7439 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.2031, allocations: 180.3 kB / 0.744 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-05/0.2032, allocations: 112.9 kB / 0.7441 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.943e-05/0.2032, allocations: 105.4 kB / 0.7442 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2032, allocations: 0 / 0.7442 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008623/0.2041, allocations: 295 kB / 0.7445 GB, free: 0.5508 MB / 0.5606 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.001546/0.2057, allocations: 1.197 MB / 0.7457 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.2058, allocations: 37.64 kB / 0.7457 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.2058, allocations: 4 kB / 0.7457 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.943e-06/0.2058, allocations: 0 / 0.7457 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.2062, allocations: 463.7 kB / 0.7462 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.2078, allocations: 1.606 MB / 0.7477 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.261e-05/0.2078, allocations: 75.42 kB / 0.7478 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.163e-05/0.2079, allocations: 3.938 kB / 0.7478 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.2079, allocations: 11.44 kB / 0.7478 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.2079, allocations: 0 / 0.7478 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03307/0.2409, allocations: 7.474 MB / 0.7551 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.86, allocations: 10.97 kB / 0.7551 GB, free: 5.758 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.203878320055082] Failed to read output from testmodel.py, exit status != 0: 12.028372231055982 12.333017086 12.131874596 Calling exit ...