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.0018/0.0018, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002313/0.002313, allocations: 211.6 kB / 22.99 MB, free: 4.605 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.797 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 0.9767/0.9767, allocations: 149.9 MB / 463.1 MB, free: 10.37 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="me",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="me",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.002348/0.002348, allocations: 65.09 kB / 0.6412 GB, free: 10.06 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1929, allocations: 89.17 MB / 0.7282 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003373/0.1963, allocations: 1.426 MB / 0.7296 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005027/0.2013, allocations: 2.669 MB / 0.7322 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.494e-05/0.2014, allocations: 0 / 0.7322 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.21e-05/0.2014, allocations: 7.922 kB / 0.7322 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.867e-05/0.2015, allocations: 11.86 kB / 0.7323 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004632/0.2061, allocations: 1.651 MB / 0.7339 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.2062, allocations: 39.73 kB / 0.7339 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.2063, allocations: 11.94 kB / 0.7339 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.39e-05/0.2063, allocations: 11.94 kB / 0.7339 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.857e-05/0.2064, allocations: 23.86 kB / 0.7339 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.2064, allocations: 0 / 0.7339 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002958/0.2093, allocations: 1.478 MB / 0.7354 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.568e-05/0.2094, allocations: 11.98 kB / 0.7354 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.2094, allocations: 11.88 kB / 0.7354 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.2117, allocations: 1.11 MB / 0.7365 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2117, allocations: 0 / 0.7365 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.745e-06/0.2117, allocations: 4 kB / 0.7365 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.2117, allocations: 0 / 0.7365 GB, free: 8.488 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.000857/0.2126, allocations: 472 kB / 0.737 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.2126, allocations: 12.03 kB / 0.737 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.561e-05/0.2127, allocations: 106 kB / 0.7371 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.841e-05/0.2128, allocations: 80.17 kB / 0.7371 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.213, allocations: 197.7 kB / 0.7373 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.593e-05/0.213, allocations: 154.5 kB / 0.7375 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.698e-05/0.2131, allocations: 150.6 kB / 0.7376 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.593e-05/0.2132, allocations: 109 kB / 0.7377 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/0.2132, allocations: 79.22 kB / 0.7378 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.2134, allocations: 158.5 kB / 0.738 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.92e-05/0.2134, allocations: 150.6 kB / 0.7381 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.676e-05/0.2135, allocations: 150.6 kB / 0.7382 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.2139, allocations: 437 kB / 0.7387 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.214, allocations: 169.1 kB / 0.7388 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.475e-05/0.2141, allocations: 84.08 kB / 0.7389 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.2141, allocations: 79.28 kB / 0.739 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.187e-05/0.2142, allocations: 109.8 kB / 0.7391 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.2142, allocations: 0 / 0.7391 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 9.715e-05/0.2143, allocations: 33.66 kB / 0.7391 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.116e-05/0.2144, allocations: 130.7 kB / 0.7392 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.2145, allocations: 135.8 kB / 0.7394 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.2146, allocations: 25.7 kB / 0.7394 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.008e-05/0.2146, allocations: 96.08 kB / 0.7395 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-06/0.2146, allocations: 0 / 0.7395 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.2147, allocations: 25.7 kB / 0.7395 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.2149, allocations: 318.8 kB / 0.7398 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.106e-05/0.2149, allocations: 7.938 kB / 0.7398 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.339e-05/0.2149, allocations: 7.984 kB / 0.7398 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.579e-05/0.215, allocations: 12.86 kB / 0.7398 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.215, allocations: 0 / 0.7398 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001566/0.2152, allocations: 49.73 kB / 0.7399 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2152, allocations: 7.938 kB / 0.7399 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/0.2152, allocations: 4 kB / 0.7399 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.2152, allocations: 0 / 0.7399 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.47e-06/0.2152, allocations: 8.047 kB / 0.7399 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2152, allocations: 4 kB / 0.7399 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.2153, allocations: 7.891 kB / 0.7399 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.2153, allocations: 0 / 0.7399 GB, free: 4.785 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.0001441/0.2154, allocations: 197 kB / 0.7401 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.373e-05/0.2155, allocations: 104.9 kB / 0.7402 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.888e-05/0.2156, allocations: 112.8 kB / 0.7403 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.16e-05/0.2156, allocations: 184.2 kB / 0.7405 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.641e-05/0.2157, allocations: 180.3 kB / 0.7407 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.086e-05/0.2158, allocations: 184.2 kB / 0.7408 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.2162, allocations: 384.2 kB / 0.7412 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.284e-05/0.2162, allocations: 101 kB / 0.7413 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.696e-05/0.2163, allocations: 112.9 kB / 0.7414 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.374e-05/0.2164, allocations: 180.3 kB / 0.7416 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.2165, allocations: 184.2 kB / 0.7418 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.513e-05/0.2166, allocations: 180.3 kB / 0.7419 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.022e-05/0.2167, allocations: 176.3 kB / 0.7421 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.2169, allocations: 323.7 kB / 0.7424 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.832e-05/0.217, allocations: 108.9 kB / 0.7425 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.2171, allocations: 180.3 kB / 0.7427 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.2172, allocations: 105 kB / 0.7428 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.963e-05/0.2173, allocations: 180.2 kB / 0.7429 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.796e-05/0.2174, allocations: 105 kB / 0.743 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.08e-05/0.2175, allocations: 100.4 kB / 0.7431 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2175, allocations: 0 / 0.7431 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001053/0.2185, allocations: 295 kB / 0.7434 GB, free: 0.9844 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.002044/0.2206, allocations: 1.194 MB / 0.7446 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.2207, allocations: 45.69 kB / 0.7446 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2207, allocations: 0 / 0.7446 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.745e-06/0.2207, allocations: 0 / 0.7446 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.2212, allocations: 464.3 kB / 0.7451 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.223, allocations: 1.625 MB / 0.7467 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.434e-05/0.2231, allocations: 67.28 kB / 0.7467 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.791e-05/0.2231, allocations: 0 / 0.7467 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.2231, allocations: 19.44 kB / 0.7467 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/0.2231, allocations: 0 / 0.7467 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0429/0.266, allocations: 7.806 MB / 0.7544 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/11.95, allocations: 4 kB / 0.7544 GB, free: 5.836 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.354123109020293] Failed to read output from testmodel.py, exit status != 0: 12.064510849304497 12.411736995 12.197249169000001 Calling exit ...