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.001368/0.001368, allocations: 118.8 kB / 17.84 MB, free: 5.234 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.001525/0.001525, allocations: 202.3 kB / 20.79 MB, free: 2.297 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.536/1.536, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.028/1.028, allocations: 150 MB / 460.2 MB, free: 5.281 MB / 350.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.002083/0.002083, allocations: 63.72 kB / 0.6369 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2086, allocations: 89.13 MB / 0.7239 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002962/0.2115, allocations: 1.433 MB / 0.7253 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005142/0.2167, allocations: 2.943 MB / 0.7282 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.412e-05/0.2168, allocations: 0 / 0.7282 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.424e-05/0.2168, allocations: 0 / 0.7282 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.319e-05/0.2169, allocations: 11.86 kB / 0.7282 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004993/0.2219, allocations: 1.617 MB / 0.7298 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.222, allocations: 47.67 kB / 0.7298 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.222, allocations: 4 kB / 0.7298 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.951e-05/0.2221, allocations: 11.94 kB / 0.7298 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.26e-05/0.2221, allocations: 15.92 kB / 0.7299 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.2221, allocations: 0 / 0.7299 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/0.2247, allocations: 1.564 MB / 0.7314 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.2247, allocations: 3.938 kB / 0.7314 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.2247, allocations: 19.88 kB / 0.7314 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.2263, allocations: 1.095 MB / 0.7325 GB, free: 11.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2263, allocations: 0 / 0.7325 GB, free: 11.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2263, allocations: 4 kB / 0.7325 GB, free: 11.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.2263, allocations: 4 kB / 0.7325 GB, free: 11.21 MB / 0.545 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.0008806/0.2272, allocations: 0.5363 MB / 0.733 GB, free: 10.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.2273, allocations: 12.03 kB / 0.733 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.862e-05/0.2273, allocations: 79.41 kB / 0.7331 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001235/0.2274, allocations: 106 kB / 0.7332 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.852e-05/0.2275, allocations: 84.17 kB / 0.7333 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.2278, allocations: 260.4 kB / 0.7335 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.2279, allocations: 150.6 kB / 0.7337 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-05/0.228, allocations: 154.6 kB / 0.7338 GB, free: 9.742 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.2281, allocations: 105 kB / 0.7339 GB, free: 9.633 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.394e-05/0.2282, allocations: 75.28 kB / 0.734 GB, free: 9.559 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/0.2283, allocations: 154.6 kB / 0.7341 GB, free: 9.406 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.35e-05/0.2284, allocations: 154.6 kB / 0.7343 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.781e-05/0.2285, allocations: 162.5 kB / 0.7344 GB, free: 9.094 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.2289, allocations: 465.8 kB / 0.7349 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.229, allocations: 169.1 kB / 0.735 GB, free: 8.414 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.994e-05/0.229, allocations: 84.14 kB / 0.7351 GB, free: 8.328 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.142e-05/0.2291, allocations: 75.28 kB / 0.7352 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.471e-05/0.2291, allocations: 113.8 kB / 0.7353 GB, free: 8.133 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.2291, allocations: 0 / 0.7353 GB, free: 8.133 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 9.529e-05/0.2292, allocations: 41.58 kB / 0.7353 GB, free: 8.086 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.76e-05/0.2293, allocations: 126.7 kB / 0.7355 GB, free: 7.949 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.2295, allocations: 131.5 kB / 0.7356 GB, free: 7.812 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.2295, allocations: 29.64 kB / 0.7356 GB, free: 7.777 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.979e-05/0.2296, allocations: 92.14 kB / 0.7357 GB, free: 7.684 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-06/0.2296, allocations: 0 / 0.7357 GB, free: 7.684 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.2296, allocations: 17.7 kB / 0.7357 GB, free: 7.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.2298, allocations: 322.8 kB / 0.736 GB, free: 7.336 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.29e-05/0.2298, allocations: 0 / 0.736 GB, free: 7.336 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.851e-05/0.2299, allocations: 8 kB / 0.736 GB, free: 7.328 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.64e-05/0.2299, allocations: 20.81 kB / 0.7361 GB, free: 7.305 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2299, allocations: 0 / 0.7361 GB, free: 7.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001426/0.2301, allocations: 49.66 kB / 0.7361 GB, free: 7.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.2301, allocations: 4 kB / 0.7361 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/0.2301, allocations: 4 kB / 0.7361 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.2301, allocations: 0 / 0.7361 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.2301, allocations: 0 / 0.7361 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.2301, allocations: 0 / 0.7361 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.423e-05/0.2301, allocations: 0 / 0.7361 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.2302, allocations: 7.984 kB / 0.7361 GB, free: 7.234 MB / 0.545 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.0001446/0.2303, allocations: 193 kB / 0.7363 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.928e-05/0.2304, allocations: 112.9 kB / 0.7364 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.412e-05/0.2305, allocations: 108.9 kB / 0.7365 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.023e-05/0.2305, allocations: 184.2 kB / 0.7367 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001032/0.2307, allocations: 180.2 kB / 0.7369 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001049/0.2308, allocations: 180.3 kB / 0.737 GB, free: 6.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003411/0.2311, allocations: 421.1 kB / 0.7374 GB, free: 5.781 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.435e-05/0.2312, allocations: 101 kB / 0.7375 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.616e-05/0.2312, allocations: 104.9 kB / 0.7376 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001615/0.2314, allocations: 180.2 kB / 0.7378 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.073e-05/0.2315, allocations: 180.3 kB / 0.738 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.866e-05/0.2316, allocations: 188.2 kB / 0.7382 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.561e-05/0.2317, allocations: 176.3 kB / 0.7383 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.2318, allocations: 315.6 kB / 0.7386 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.232, allocations: 182.1 kB / 0.7388 GB, free: 4.293 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.2321, allocations: 184.2 kB / 0.739 GB, free: 4.105 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.2323, allocations: 109 kB / 0.7391 GB, free: 3.992 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.2324, allocations: 184.2 kB / 0.7393 GB, free: 3.805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.673e-05/0.2325, allocations: 109 kB / 0.7394 GB, free: 3.691 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.433e-05/0.2326, allocations: 100.6 kB / 0.7395 GB, free: 3.594 MB / 0.545 GB Notification: Performance of sort global known variables: time 5e-08/0.2326, allocations: 0 / 0.7395 GB, free: 3.594 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00113/0.2337, allocations: 295 kB / 0.7397 GB, free: 3.305 MB / 0.545 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.001888/0.2356, allocations: 1.184 MB / 0.7409 GB, free: 2.098 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000145/0.2357, allocations: 37.7 kB / 0.7409 GB, free: 2.055 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.2357, allocations: 8 kB / 0.7409 GB, free: 2.047 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/0.2357, allocations: 0 / 0.7409 GB, free: 2.047 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006045/0.2363, allocations: 456.6 kB / 0.7414 GB, free: 1.598 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.2385, allocations: 1.593 MB / 0.7429 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.2389, allocations: 0.6845 MB / 0.7436 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.73e-05/0.2389, allocations: 4 kB / 0.7436 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.239, allocations: 11.44 kB / 0.7436 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of SimCode: time 7.42e-07/0.239, allocations: 3.938 kB / 0.7436 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.2679, allocations: 7.168 MB / 0.7506 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.888/9.156, allocations: 19.14 kB / 0.7506 GB, free: 8.266 MB / 0.5606 GB " [Timeout remaining time 651] (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: 13.300718948012218] Failed to read output from testmodel.py, exit status != 0: 9.284966260020155 9.300410496 9.070976088 Calling exit ...