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.0009104/0.0009104, allocations: 72.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.0009365/0.0009365, allocations: 173.9 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.909/0.909, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.5612/0.5612, allocations: 114 MB / 373.9 MB, free: 8.695 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.InternalResistancesOneUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.614e-06/2.614e-06, allocations: 0 / 0.5543 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.609e-05/1.87e-05, allocations: 2.281 kB / 0.5543 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002587/0.002605, allocations: 1.433 MB / 0.5557 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.004506/0.007111, allocations: 2.629 MB / 0.5582 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.007159, allocations: 0 / 0.5582 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.879e-05/0.007188, allocations: 11.92 kB / 0.5583 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.245e-05/0.007261, allocations: 15.81 kB / 0.5583 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.004082/0.01134, allocations: 1.623 MB / 0.5599 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.01144, allocations: 39.73 kB / 0.5599 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.01149, allocations: 4 kB / 0.5599 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.065e-05/0.01154, allocations: 15.92 kB / 0.5599 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 2.685e-05/0.01156, allocations: 8 kB / 0.5599 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.01158, allocations: 3.984 kB / 0.5599 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002132/0.01371, allocations: 1.458 MB / 0.5614 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.01372, allocations: 7.938 kB / 0.5614 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.01375, allocations: 19.91 kB / 0.5614 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.0154, allocations: 1.235 MB / 0.5626 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.0154, allocations: 4 kB / 0.5626 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.643e-06/0.0154, allocations: 0 / 0.5626 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.01541, allocations: 0 / 0.5626 GB, free: 10.16 MB / 0.5261 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.000498/0.01591, allocations: 476 kB / 0.563 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.01595, allocations: 8.625 kB / 0.5631 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.523e-05/0.01599, allocations: 106 kB / 0.5632 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.01605, allocations: 84.17 kB / 0.5632 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.01615, allocations: 192.9 kB / 0.5634 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.01619, allocations: 150.9 kB / 0.5636 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.01623, allocations: 158.7 kB / 0.5637 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.143e-05/0.01629, allocations: 104.9 kB / 0.5638 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.01631, allocations: 75.28 kB / 0.5639 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/0.01634, allocations: 154.5 kB / 0.564 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-05/0.01638, allocations: 154.6 kB / 0.5642 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.935e-05/0.01642, allocations: 154.6 kB / 0.5643 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.01662, allocations: 433 kB / 0.5647 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.884e-05/0.01669, allocations: 173.1 kB / 0.5649 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.01671, allocations: 88.08 kB / 0.565 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.01674, allocations: 79.28 kB / 0.5651 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.01677, allocations: 105.8 kB / 0.5652 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 1.011e-06/0.01677, allocations: 0 / 0.5652 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 6.16e-05/0.01683, allocations: 37.64 kB / 0.5652 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.01688, allocations: 130.6 kB / 0.5653 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.01698, allocations: 136 kB / 0.5655 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/0.01699, allocations: 25.7 kB / 0.5655 GB, free: 7.016 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.01703, allocations: 92.08 kB / 0.5656 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.01703, allocations: 0 / 0.5656 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.01706, allocations: 17.72 kB / 0.5656 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.537e-05/0.01714, allocations: 326.8 kB / 0.5659 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.661e-05/0.01715, allocations: 0 / 0.5659 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.026e-05/0.01716, allocations: 4 kB / 0.5659 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.215e-05/0.01719, allocations: 20.89 kB / 0.5659 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.0172, allocations: 0 / 0.5659 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.809e-05/0.01729, allocations: 53.52 kB / 0.566 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.01731, allocations: 4 kB / 0.566 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.01732, allocations: 4 kB / 0.566 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.01733, allocations: 0 / 0.566 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.01734, allocations: 0 / 0.566 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.01734, allocations: 0 / 0.566 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.56e-05/0.01736, allocations: 12 kB / 0.566 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.01736, allocations: 3.984 kB / 0.566 GB, free: 6.461 MB / 0.5261 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 7.713e-05/0.01744, allocations: 189.1 kB / 0.5662 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.01748, allocations: 108.9 kB / 0.5663 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.01751, allocations: 112.7 kB / 0.5664 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-05/0.01756, allocations: 176.3 kB / 0.5666 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.548e-05/0.01761, allocations: 188.2 kB / 0.5667 GB, free: 5.664 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.021e-05/0.01766, allocations: 180.2 kB / 0.5669 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.01784, allocations: 384.2 kB / 0.5673 GB, free: 5.055 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.38e-05/0.01787, allocations: 104.9 kB / 0.5674 GB, free: 4.945 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.754e-05/0.0179, allocations: 105 kB / 0.5675 GB, free: 4.836 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.991e-05/0.01799, allocations: 188.2 kB / 0.5677 GB, free: 4.645 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-05/0.01804, allocations: 180.2 kB / 0.5678 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-05/0.01808, allocations: 176.3 kB / 0.568 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.029e-05/0.01812, allocations: 184.2 kB / 0.5682 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.0183, allocations: 307.8 kB / 0.5685 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.789e-05/0.01834, allocations: 116.9 kB / 0.5686 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.286e-05/0.0184, allocations: 176.3 kB / 0.5687 GB, free: 3.469 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.017e-05/0.01845, allocations: 109.2 kB / 0.5688 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.01849, allocations: 180.2 kB / 0.569 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.01852, allocations: 101 kB / 0.5691 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.838e-05/0.01856, allocations: 113.2 kB / 0.5692 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01856, allocations: 3.938 kB / 0.5692 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004927/0.01906, allocations: 287 kB / 0.5695 GB, free: 2.672 MB / 0.5261 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.001035/0.02009, allocations: 1.216 MB / 0.5707 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.188e-05/0.02017, allocations: 33.7 kB / 0.5707 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.02017, allocations: 0 / 0.5707 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/0.02018, allocations: 11.94 kB / 0.5707 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.02045, allocations: 463.7 kB / 0.5712 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.0215, allocations: 1.576 MB / 0.5727 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.504e-05/0.02154, allocations: 71.33 kB / 0.5728 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.279e-05/0.02156, allocations: 0 / 0.5728 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.02158, allocations: 12.5 kB / 0.5728 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of SimCode: time 6.41e-07/0.02158, allocations: 4.031 kB / 0.5728 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.04194, allocations: 7.819 MB / 0.5804 GB, free: 7.582 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.019/7.061, allocations: 11.02 kB / 0.5804 GB, free: 7.574 MB / 0.5417 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.643488730303943] Failed to read output from testmodel.py, exit status != 0: 7.141669491305947 7.149033592 7.131896254 Calling exit ...