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.InternalResistancesTwoUTubeNegative.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.0008324/0.0008324, allocations: 76.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008069/0.0008069, allocations: 170.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8524/0.8524, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.5934/0.5934, allocations: 114 MB / 373.9 MB, free: 8.68 MB / 346.7 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.5543 GB, free: 1.602 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.687e-06/9.949e-06, allocations: 2.281 kB / 0.5543 GB, free: 1.598 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001566/0.001576, allocations: 1.434 MB / 0.5557 GB, free: 168 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.004242, allocations: 2.676 MB / 0.5583 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.644e-05/0.004269, allocations: 0 / 0.5583 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.004287, allocations: 3.938 kB / 0.5583 GB, free: 13.47 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.697e-05/0.004334, allocations: 19.8 kB / 0.5583 GB, free: 13.45 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.006422, allocations: 1.652 MB / 0.5599 GB, free: 11.82 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.117e-05/0.006493, allocations: 43.67 kB / 0.56 GB, free: 11.78 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.226e-05/0.006525, allocations: 11.94 kB / 0.56 GB, free: 11.77 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.574e-05/0.006561, allocations: 19.97 kB / 0.56 GB, free: 11.75 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.355e-05/0.006584, allocations: 11.94 kB / 0.56 GB, free: 11.73 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.006596, allocations: 0 / 0.56 GB, free: 11.73 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.00796, allocations: 1.497 MB / 0.5615 GB, free: 10.23 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.979e-06/0.00797, allocations: 7.938 kB / 0.5615 GB, free: 10.23 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.743e-05/0.007987, allocations: 8 kB / 0.5615 GB, free: 10.22 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009312/0.008919, allocations: 1.278 MB / 0.5627 GB, free: 8.938 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.00892, allocations: 0 / 0.5627 GB, free: 8.938 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.008921, allocations: 0 / 0.5627 GB, free: 8.938 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.008926, allocations: 4 kB / 0.5627 GB, free: 8.934 MB / 490.7 MB 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.0003808/0.009306, allocations: 473.5 kB / 0.5632 GB, free: 8.441 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.009342, allocations: 8.625 kB / 0.5632 GB, free: 8.434 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.86e-05/0.009381, allocations: 110 kB / 0.5633 GB, free: 8.316 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.009429, allocations: 84.17 kB / 0.5634 GB, free: 8.234 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.862e-05/0.009528, allocations: 193 kB / 0.5636 GB, free: 8.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.842e-05/0.009566, allocations: 158.9 kB / 0.5637 GB, free: 7.863 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.009605, allocations: 158.6 kB / 0.5639 GB, free: 7.707 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.909e-05/0.009654, allocations: 101 kB / 0.564 GB, free: 7.602 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.009672, allocations: 75.28 kB / 0.564 GB, free: 7.527 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.009708, allocations: 150.6 kB / 0.5642 GB, free: 7.379 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/0.009741, allocations: 154.6 kB / 0.5643 GB, free: 7.227 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.366e-05/0.009775, allocations: 150.6 kB / 0.5645 GB, free: 7.078 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001984/0.009973, allocations: 441 kB / 0.5649 GB, free: 6.605 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.695e-05/0.01004, allocations: 173.1 kB / 0.5651 GB, free: 6.426 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.66e-05/0.01007, allocations: 88.08 kB / 0.5651 GB, free: 6.336 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.01009, allocations: 79.28 kB / 0.5652 GB, free: 6.258 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.01012, allocations: 105.8 kB / 0.5653 GB, free: 6.145 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.01012, allocations: 0 / 0.5653 GB, free: 6.145 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 5.928e-05/0.01018, allocations: 37.59 kB / 0.5654 GB, free: 6.102 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.01022, allocations: 126.7 kB / 0.5655 GB, free: 5.965 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.01033, allocations: 139.8 kB / 0.5656 GB, free: 5.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.01034, allocations: 25.7 kB / 0.5656 GB, free: 5.789 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.01038, allocations: 88.14 kB / 0.5657 GB, free: 5.699 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-06/0.01038, allocations: 0 / 0.5657 GB, free: 5.699 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.01041, allocations: 17.72 kB / 0.5657 GB, free: 5.676 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.898e-05/0.01049, allocations: 318.8 kB / 0.566 GB, free: 5.355 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.785e-05/0.0105, allocations: 8 kB / 0.5661 GB, free: 5.348 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.324e-05/0.01052, allocations: 4 kB / 0.5661 GB, free: 5.344 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.468e-05/0.01055, allocations: 16.86 kB / 0.5661 GB, free: 5.324 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01055, allocations: 0 / 0.5661 GB, free: 5.324 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001053/0.01066, allocations: 61.52 kB / 0.5661 GB, free: 5.258 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.01067, allocations: 7.938 kB / 0.5661 GB, free: 5.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.01069, allocations: 4 kB / 0.5661 GB, free: 5.246 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.0107, allocations: 0 / 0.5661 GB, free: 5.246 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.51e-07/0.0107, allocations: 3.938 kB / 0.5661 GB, free: 5.242 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.0107, allocations: 0 / 0.5661 GB, free: 5.242 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.191e-05/0.01072, allocations: 0 / 0.5661 GB, free: 5.242 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.01072, allocations: 8.062 kB / 0.5662 GB, free: 5.234 MB / 490.7 MB 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 6.52e-05/0.01079, allocations: 189.1 kB / 0.5663 GB, free: 5.039 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.01082, allocations: 112.9 kB / 0.5664 GB, free: 4.922 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.309e-05/0.01086, allocations: 112.7 kB / 0.5665 GB, free: 4.805 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.69e-05/0.01089, allocations: 180.3 kB / 0.5667 GB, free: 4.621 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.986e-05/0.01093, allocations: 176.3 kB / 0.5669 GB, free: 4.441 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.136e-05/0.01097, allocations: 188.2 kB / 0.5671 GB, free: 4.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.01111, allocations: 388.3 kB / 0.5674 GB, free: 3.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/0.01113, allocations: 108.9 kB / 0.5675 GB, free: 3.707 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.441e-05/0.01116, allocations: 101 kB / 0.5676 GB, free: 3.602 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-05/0.0112, allocations: 184.2 kB / 0.5678 GB, free: 3.414 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001866/0.01138, allocations: 188.2 kB / 0.568 GB, free: 3.223 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-05/0.01142, allocations: 176.3 kB / 0.5682 GB, free: 3.043 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.51e-05/0.01145, allocations: 184.2 kB / 0.5683 GB, free: 2.855 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.194e-05/0.01154, allocations: 315.6 kB / 0.5686 GB, free: 2.523 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.01157, allocations: 112.9 kB / 0.5687 GB, free: 2.406 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.01161, allocations: 176.3 kB / 0.5689 GB, free: 2.227 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.669e-05/0.01166, allocations: 105.2 kB / 0.569 GB, free: 2.117 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.0117, allocations: 180.3 kB / 0.5692 GB, free: 1.934 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.01172, allocations: 112.9 kB / 0.5693 GB, free: 1.816 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.879e-05/0.01176, allocations: 105.6 kB / 0.5694 GB, free: 1.715 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01176, allocations: 4 kB / 0.5694 GB, free: 1.711 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003794/0.01214, allocations: 291 kB / 0.5697 GB, free: 1.426 MB / 490.7 MB 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.0008647/0.013, allocations: 1.236 MB / 0.5709 GB, free: 168 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.543e-05/0.01309, allocations: 45.62 kB / 0.5709 GB, free: 116 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01309, allocations: 0 / 0.5709 GB, free: 116 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.01309, allocations: 0 / 0.5709 GB, free: 116 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.01336, allocations: 459.7 kB / 0.5714 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.01455, allocations: 1.591 MB / 0.5729 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.927e-05/0.01459, allocations: 67.34 kB / 0.573 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.031e-05/0.0146, allocations: 96 / 0.573 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.01462, allocations: 24.48 kB / 0.573 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of SimCode: time 5.2e-07/0.01463, allocations: 0 / 0.573 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.0337, allocations: 8.021 MB / 0.5808 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.827/6.861, allocations: 3.984 kB / 0.5808 GB, free: 6.098 MB / 0.4948 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_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_InternalResistancesTwoUTubeNegative.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.331555525772274] Failed to read output from testmodel.py, exit status != 0: 6.942542068660259 6.955343119 6.944685343 Calling exit ...