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.InternalResistancesOneUTubeNegative.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.001367/0.001367, 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.001555/0.001555, allocations: 215.2 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.523/1.523, allocations: 230.6 MB / 257.6 MB, free: 8.023 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.013/1.013, allocations: 150 MB / 464 MB, free: 10.52 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.InternalResistancesOneUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.002322/0.002322, allocations: 57.81 kB / 0.6421 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2094, allocations: 89.17 MB / 0.7292 GB, free: 1.234 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003235/0.2127, allocations: 1.449 MB / 0.7306 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005517/0.2182, allocations: 2.969 MB / 0.7335 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.943e-05/0.2183, allocations: 0 / 0.7335 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.2183, allocations: 3.938 kB / 0.7335 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.496e-05/0.2184, allocations: 11.86 kB / 0.7335 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005698/0.2241, allocations: 1.684 MB / 0.7352 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000157/0.2242, allocations: 43.73 kB / 0.7352 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.914e-05/0.2243, allocations: 0 / 0.7352 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.892e-05/0.2243, allocations: 15.92 kB / 0.7352 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.993e-05/0.2244, allocations: 23.86 kB / 0.7352 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.2244, allocations: 4 kB / 0.7352 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004122/0.2285, allocations: 1.72 MB / 0.7369 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.709e-05/0.2285, allocations: 4 kB / 0.7369 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.829e-05/0.2286, allocations: 15.88 kB / 0.7369 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002928/0.2315, allocations: 1.13 MB / 0.738 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-05/0.2315, allocations: 0 / 0.738 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2315, allocations: 0 / 0.738 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.2315, allocations: 0 / 0.738 GB, free: 8.16 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.001208/0.2328, allocations: 468 kB / 0.7385 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.679e-05/0.2328, allocations: 16.02 kB / 0.7385 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.705e-05/0.2329, allocations: 75.47 kB / 0.7386 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.802e-05/0.233, allocations: 106 kB / 0.7387 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.2331, allocations: 80.22 kB / 0.7388 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.2334, allocations: 201.5 kB / 0.7389 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.2335, allocations: 150.6 kB / 0.7391 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.2336, allocations: 154.6 kB / 0.7392 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.2337, allocations: 108.9 kB / 0.7393 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.532e-05/0.2338, allocations: 75.28 kB / 0.7394 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.67e-05/0.2339, allocations: 158.5 kB / 0.7396 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.78e-05/0.234, allocations: 154.5 kB / 0.7397 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.651e-05/0.234, allocations: 150.6 kB / 0.7399 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.2344, allocations: 444.9 kB / 0.7403 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.2346, allocations: 173.1 kB / 0.7404 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.074e-05/0.2346, allocations: 84.14 kB / 0.7405 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.976e-05/0.2347, allocations: 79.27 kB / 0.7406 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.413e-05/0.2347, allocations: 109.8 kB / 0.7407 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.213e-06/0.2347, allocations: 0 / 0.7407 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0001014/0.2348, allocations: 33.66 kB / 0.7407 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.732e-05/0.2349, allocations: 130.6 kB / 0.7409 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.2351, allocations: 135.6 kB / 0.741 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.2351, allocations: 25.7 kB / 0.741 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.2352, allocations: 88.14 kB / 0.7411 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-06/0.2352, allocations: 4 kB / 0.7411 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/0.2352, allocations: 21.7 kB / 0.7411 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.2354, allocations: 314.8 kB / 0.7414 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.305e-05/0.2354, allocations: 8 kB / 0.7414 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.032e-05/0.2354, allocations: 4 kB / 0.7414 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.28e-05/0.2355, allocations: 12.84 kB / 0.7414 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2355, allocations: 0 / 0.7414 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001456/0.2356, allocations: 45.66 kB / 0.7415 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2357, allocations: 11.94 kB / 0.7415 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.784e-05/0.2357, allocations: 8 kB / 0.7415 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.2357, allocations: 7.984 kB / 0.7415 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.2357, allocations: 0 / 0.7415 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.2357, allocations: 0 / 0.7415 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.826e-05/0.2357, allocations: 4 kB / 0.7415 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.2358, allocations: 0 / 0.7415 GB, free: 4.387 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.0001408/0.2359, allocations: 193 kB / 0.7417 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.64e-05/0.236, allocations: 108.9 kB / 0.7418 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.766e-05/0.236, allocations: 116.7 kB / 0.7419 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.251e-05/0.2361, allocations: 180.2 kB / 0.7421 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.225e-05/0.2362, allocations: 180.3 kB / 0.7423 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.498e-05/0.2363, allocations: 180.2 kB / 0.7424 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.2366, allocations: 384.2 kB / 0.7428 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.334e-05/0.2366, allocations: 112.9 kB / 0.7429 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.812e-05/0.2367, allocations: 105 kB / 0.743 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.621e-05/0.2368, allocations: 176.3 kB / 0.7432 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.206e-05/0.2369, allocations: 184.2 kB / 0.7434 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.78e-05/0.237, allocations: 184.3 kB / 0.7435 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.626e-05/0.2371, allocations: 180.2 kB / 0.7437 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.2372, allocations: 307.8 kB / 0.744 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/0.2373, allocations: 120.8 kB / 0.7441 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.793e-05/0.2374, allocations: 176.3 kB / 0.7443 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.899e-05/0.2375, allocations: 108.9 kB / 0.7444 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.133e-05/0.2376, allocations: 184.3 kB / 0.7446 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/0.2377, allocations: 101 kB / 0.7447 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.968e-05/0.2377, allocations: 100.8 kB / 0.7448 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2377, allocations: 3.938 kB / 0.7448 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001085/0.2388, allocations: 291 kB / 0.745 GB, free: 0.5859 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.002122/0.2409, allocations: 1.179 MB / 0.7462 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.2411, allocations: 33.7 kB / 0.7462 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.2411, allocations: 0 / 0.7462 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.2e-06/0.2411, allocations: 3.938 kB / 0.7462 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006063/0.2417, allocations: 467.8 kB / 0.7467 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.2437, allocations: 1.589 MB / 0.7482 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.2441, allocations: 0.6806 MB / 0.7489 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.06e-05/0.2441, allocations: 4 kB / 0.7489 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.2441, allocations: 19.45 kB / 0.7489 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of SimCode: time 1.563e-06/0.2441, allocations: 0 / 0.7489 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03228/0.2764, allocations: 7.192 MB / 0.7559 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.85, allocations: 4.75 kB / 0.7559 GB, free: 5.488 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.240390641032718] Failed to read output from testmodel.py, exit status != 0: 12.015295622986741 12.33397376 12.09965817 Calling exit ...