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.InternalResistancesOneUTube.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.001502/0.001502, allocations: 105 kB / 20.48 MB, free: 1.488 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.001663/0.001663, allocations: 213.4 kB / 23.79 MB, free: 4.703 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.533/1.533, allocations: 230.6 MB / 257.6 MB, free: 7.984 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.018/1.018, allocations: 150 MB / 464 MB, free: 10.54 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.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.002065/0.002065, allocations: 69.98 kB / 0.6421 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1868, allocations: 89.17 MB / 0.7292 GB, free: 1.262 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002856/0.1896, allocations: 1.438 MB / 0.7306 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004882/0.1945, allocations: 2.949 MB / 0.7335 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.436e-05/0.1946, allocations: 3.938 kB / 0.7335 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.1946, allocations: 7.922 kB / 0.7335 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.842e-05/0.1946, allocations: 15.88 kB / 0.7335 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004265/0.1989, allocations: 1.694 MB / 0.7352 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.428e-05/0.199, allocations: 39.73 kB / 0.7352 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.745e-05/0.199, allocations: 4 kB / 0.7352 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.429e-05/0.1991, allocations: 15.92 kB / 0.7352 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.23e-05/0.1991, allocations: 19.86 kB / 0.7352 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.1991, allocations: 0 / 0.7352 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002708/0.2018, allocations: 1.724 MB / 0.7369 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.2018, allocations: 0 / 0.7369 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.2019, allocations: 23.88 kB / 0.7369 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.2036, allocations: 1.122 MB / 0.738 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2036, allocations: 0 / 0.738 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2036, allocations: 0 / 0.738 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.2036, allocations: 0 / 0.738 GB, free: 8.199 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.0006526/0.2042, allocations: 472 kB / 0.7385 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.2043, allocations: 8.031 kB / 0.7385 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.669e-05/0.2043, allocations: 83.47 kB / 0.7386 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.796e-05/0.2044, allocations: 110 kB / 0.7387 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.277e-05/0.2045, allocations: 76.22 kB / 0.7388 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.2046, allocations: 205.4 kB / 0.7389 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.478e-05/0.2047, allocations: 154.6 kB / 0.7391 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.2048, allocations: 150.6 kB / 0.7392 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.351e-05/0.2049, allocations: 101 kB / 0.7393 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.805e-05/0.2049, allocations: 83.28 kB / 0.7394 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.205, allocations: 154.6 kB / 0.7396 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.547e-05/0.2051, allocations: 154.5 kB / 0.7397 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.666e-05/0.2052, allocations: 150.6 kB / 0.7399 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.2055, allocations: 440.9 kB / 0.7403 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.2056, allocations: 173.1 kB / 0.7404 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.253e-05/0.2057, allocations: 80.14 kB / 0.7405 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.154e-05/0.2057, allocations: 75.28 kB / 0.7406 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.553e-05/0.2058, allocations: 105.8 kB / 0.7407 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.2058, allocations: 0 / 0.7407 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.681e-05/0.2059, allocations: 49.58 kB / 0.7407 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/0.206, allocations: 126.7 kB / 0.7409 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.2061, allocations: 135 kB / 0.741 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.2061, allocations: 25.7 kB / 0.741 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.2062, allocations: 92.14 kB / 0.7411 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.2062, allocations: 0 / 0.7411 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.2062, allocations: 13.72 kB / 0.7411 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2064, allocations: 330.7 kB / 0.7414 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.164e-05/0.2064, allocations: 4 kB / 0.7414 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.71e-05/0.2064, allocations: 4 kB / 0.7414 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.057e-05/0.2065, allocations: 12.86 kB / 0.7414 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2065, allocations: 0 / 0.7414 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001407/0.2066, allocations: 61.52 kB / 0.7415 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.2066, allocations: 6.344 kB / 0.7415 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.2067, allocations: 4 kB / 0.7415 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2067, allocations: 0 / 0.7415 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.2067, allocations: 0 / 0.7415 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2067, allocations: 64 / 0.7415 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.994e-05/0.2067, allocations: 4 kB / 0.7415 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.2067, allocations: 4 kB / 0.7415 GB, free: 4.422 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.0001305/0.2068, allocations: 193 kB / 0.7417 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.485e-05/0.2069, allocations: 108.9 kB / 0.7418 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.089e-05/0.207, allocations: 108.7 kB / 0.7419 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8e-05/0.2071, allocations: 184.3 kB / 0.7421 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001032/0.2072, allocations: 188.2 kB / 0.7423 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.367e-05/0.2072, allocations: 176.3 kB / 0.7424 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.2075, allocations: 384.2 kB / 0.7428 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-05/0.2076, allocations: 108.9 kB / 0.7429 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.2076, allocations: 101 kB / 0.743 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.628e-05/0.2077, allocations: 192.2 kB / 0.7432 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.765e-05/0.2078, allocations: 184.3 kB / 0.7434 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.87e-05/0.2079, allocations: 180.2 kB / 0.7435 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.321e-05/0.208, allocations: 176.3 kB / 0.7437 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.2082, allocations: 319.7 kB / 0.744 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/0.2082, allocations: 104.9 kB / 0.7441 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.426e-05/0.2083, allocations: 184.2 kB / 0.7443 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-05/0.2084, allocations: 101 kB / 0.7444 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.331e-05/0.2085, allocations: 180.3 kB / 0.7446 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-05/0.2086, allocations: 108.9 kB / 0.7447 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.229e-05/0.2086, allocations: 99.27 kB / 0.7448 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2086, allocations: 0 / 0.7448 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009877/0.2096, allocations: 295 kB / 0.745 GB, free: 0.6211 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.001584/0.2112, allocations: 1.176 MB / 0.7462 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.2113, allocations: 45.62 kB / 0.7462 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2113, allocations: 0 / 0.7462 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.714e-06/0.2113, allocations: 3.938 kB / 0.7462 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.2118, allocations: 455.7 kB / 0.7467 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.2133, allocations: 1.6 MB / 0.7482 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.2137, allocations: 0.6807 MB / 0.7489 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.346e-05/0.2137, allocations: 0 / 0.7489 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.2137, allocations: 11.44 kB / 0.7489 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.2137, allocations: 0 / 0.7489 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.2447, allocations: 7.18 MB / 0.7559 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.09, allocations: 15.98 kB / 0.7559 GB, free: 5.523 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.476961285981815] Failed to read output from testmodel.py, exit status != 0: 12.25636829098221 12.582631353 12.376023705 Calling exit ...