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.001411/0.001411, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001789/0.001789, allocations: 209 kB / 22.99 MB, free: 4.977 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.573/1.573, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9983/0.9983, allocations: 149.9 MB / 463.1 MB, free: 10.3 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.002165/0.002165, allocations: 71.03 kB / 0.6412 GB, free: 10 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1992, allocations: 89.17 MB / 0.7282 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003168/0.2024, allocations: 1.419 MB / 0.7296 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005005/0.2074, allocations: 2.669 MB / 0.7322 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.526e-05/0.2074, allocations: 4 kB / 0.7322 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.504e-05/0.2075, allocations: 3.938 kB / 0.7322 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.347e-05/0.2075, allocations: 15.84 kB / 0.7323 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005265/0.2128, allocations: 1.648 MB / 0.7339 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.2129, allocations: 39.8 kB / 0.7339 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.213, allocations: 3.938 kB / 0.7339 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.482e-05/0.213, allocations: 11.94 kB / 0.7339 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.76e-05/0.213, allocations: 23.86 kB / 0.7339 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.2131, allocations: 4 kB / 0.7339 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003555/0.2166, allocations: 1.478 MB / 0.7354 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.2166, allocations: 11.97 kB / 0.7354 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.2167, allocations: 15.88 kB / 0.7354 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002805/0.2195, allocations: 1.105 MB / 0.7365 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.2195, allocations: 0 / 0.7365 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2195, allocations: 0 / 0.7365 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.2195, allocations: 3.938 kB / 0.7365 GB, free: 8.449 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.0009731/0.2205, allocations: 468 kB / 0.7369 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.2205, allocations: 12.03 kB / 0.737 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.192e-05/0.2206, allocations: 110 kB / 0.7371 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.312e-05/0.2207, allocations: 84.17 kB / 0.7371 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.2209, allocations: 201.6 kB / 0.7373 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.221, allocations: 154.5 kB / 0.7375 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.982e-05/0.2211, allocations: 154.6 kB / 0.7376 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.056e-05/0.2212, allocations: 105 kB / 0.7377 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.9e-05/0.2212, allocations: 79.22 kB / 0.7378 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.055e-05/0.2213, allocations: 150.6 kB / 0.7379 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.52e-05/0.2214, allocations: 154.5 kB / 0.7381 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.019e-05/0.2214, allocations: 154.6 kB / 0.7382 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.2218, allocations: 436.9 kB / 0.7387 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.2219, allocations: 173.1 kB / 0.7388 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.245e-05/0.222, allocations: 88.08 kB / 0.7389 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.109e-05/0.222, allocations: 75.28 kB / 0.739 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.953e-05/0.2221, allocations: 105.8 kB / 0.7391 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.2221, allocations: 0 / 0.7391 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 9.833e-05/0.2222, allocations: 33.66 kB / 0.7391 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.632e-05/0.2223, allocations: 126.7 kB / 0.7392 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.2225, allocations: 144.1 kB / 0.7394 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.2225, allocations: 25.7 kB / 0.7394 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.459e-05/0.2226, allocations: 88.09 kB / 0.7395 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.2226, allocations: 4 kB / 0.7395 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.2226, allocations: 21.72 kB / 0.7395 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.2228, allocations: 322.8 kB / 0.7398 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.385e-05/0.2228, allocations: 7.938 kB / 0.7398 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.12e-05/0.2228, allocations: 4 kB / 0.7398 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.827e-05/0.2229, allocations: 12.86 kB / 0.7398 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.2229, allocations: 8.062 kB / 0.7398 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001476/0.223, allocations: 45.69 kB / 0.7399 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.223, allocations: 8 kB / 0.7399 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.2231, allocations: 0 / 0.7399 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.2231, allocations: 64 / 0.7399 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.2231, allocations: 8 kB / 0.7399 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2231, allocations: 0 / 0.7399 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.794e-05/0.2231, allocations: 3.953 kB / 0.7399 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.2231, allocations: 0 / 0.7399 GB, free: 4.75 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.0001449/0.2233, allocations: 197 kB / 0.7401 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.795e-05/0.2233, allocations: 112.9 kB / 0.7402 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.653e-05/0.2234, allocations: 108.7 kB / 0.7403 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001024/0.2235, allocations: 188.1 kB / 0.7405 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001015/0.2236, allocations: 176.3 kB / 0.7407 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001109/0.2237, allocations: 188.2 kB / 0.7408 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.224, allocations: 388.2 kB / 0.7412 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-05/0.2241, allocations: 101 kB / 0.7413 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.538e-05/0.2242, allocations: 108.9 kB / 0.7414 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.498e-05/0.2243, allocations: 180.3 kB / 0.7416 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/0.2244, allocations: 188.2 kB / 0.7418 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001855/0.2246, allocations: 180.3 kB / 0.7419 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.413e-05/0.2247, allocations: 176.3 kB / 0.7421 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.2249, allocations: 311.7 kB / 0.7424 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-05/0.225, allocations: 112.9 kB / 0.7425 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.2251, allocations: 180.3 kB / 0.7427 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.2252, allocations: 105 kB / 0.7428 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.2253, allocations: 184.2 kB / 0.7429 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.299e-05/0.2254, allocations: 105 kB / 0.743 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.852e-05/0.2255, allocations: 101.3 kB / 0.7431 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2255, allocations: 0 / 0.7431 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00125/0.2267, allocations: 295 kB / 0.7434 GB, free: 0.9414 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.00228/0.229, allocations: 1.205 MB / 0.7446 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001426/0.2292, allocations: 37.7 kB / 0.7446 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2292, allocations: 0 / 0.7446 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.797e-06/0.2292, allocations: 0 / 0.7446 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005883/0.2298, allocations: 469.5 kB / 0.7451 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.232, allocations: 1.611 MB / 0.7467 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.045e-05/0.232, allocations: 71.42 kB / 0.7467 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.215e-05/0.232, allocations: 4 kB / 0.7467 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.2321, allocations: 15.44 kB / 0.7467 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of SimCode: time 1.021e-06/0.2321, allocations: 0 / 0.7467 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03871/0.2708, allocations: 7.816 MB / 0.7544 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.09, allocations: 4.875 kB / 0.7544 GB, free: 5.781 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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 sys.exit(0), Time elapsed: 16.477876872289926] Failed to read output from testmodel.py, exit status != 0: 12.199124836362898 12.506442159 12.284283298 Calling exit ...