Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.305/2.305, allocations: 443.5 MB / 0.7304 GB, free: 13.95 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 67.89 kB / 1.059 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2505, allocations: 160.7 MB / 1.216 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002343/0.2528, allocations: 1.438 MB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004108/0.2569, allocations: 2.897 MB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.398e-05/0.2569, allocations: 3.938 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.144e-05/0.257, allocations: 3.938 kB / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.016e-05/0.257, allocations: 19.84 kB / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003574/0.2606, allocations: 1.565 MB / 1.221 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.409e-05/0.2607, allocations: 51.67 kB / 1.221 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.248e-05/0.2607, allocations: 0 / 1.221 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.657e-05/0.2607, allocations: 15.92 kB / 1.221 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.433e-05/0.2608, allocations: 11.94 kB / 1.221 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.697e-06/0.2608, allocations: 0 / 1.221 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002155/0.2629, allocations: 1.536 MB / 1.223 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.263, allocations: 7.922 kB / 1.223 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.263, allocations: 19.88 kB / 1.223 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.2645, allocations: 1.076 MB / 1.224 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2645, allocations: 4 kB / 1.224 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2645, allocations: 0 / 1.224 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.2645, allocations: 0 / 1.224 GB, free: 7.215 MB / 0.9669 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.0006566/0.2652, allocations: 0.5363 MB / 1.225 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2652, allocations: 8.031 kB / 1.225 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.394e-05/0.2652, allocations: 106 kB / 1.225 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.476e-05/0.2653, allocations: 84.17 kB / 1.225 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.2655, allocations: 251.5 kB / 1.225 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.198e-05/0.2655, allocations: 154.9 kB / 1.225 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.527e-05/0.2656, allocations: 150.9 kB / 1.225 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.354e-05/0.2656, allocations: 104.9 kB / 1.225 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/0.2657, allocations: 79.28 kB / 1.225 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.438e-05/0.2657, allocations: 150.6 kB / 1.226 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.712e-05/0.2658, allocations: 166.5 kB / 1.226 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.616e-05/0.2658, allocations: 154.6 kB / 1.226 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000293/0.2661, allocations: 457.9 kB / 1.226 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.135e-05/0.2662, allocations: 169.1 kB / 1.227 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.591e-05/0.2663, allocations: 80.14 kB / 1.227 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.2663, allocations: 83.22 kB / 1.227 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.2663, allocations: 109.8 kB / 1.227 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 2.455e-06/0.2663, allocations: 3.984 kB / 1.227 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.82e-05/0.2664, allocations: 33.66 kB / 1.227 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.2665, allocations: 126.7 kB / 1.227 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.2666, allocations: 135.8 kB / 1.227 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.2666, allocations: 29.7 kB / 1.227 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.2667, allocations: 92.12 kB / 1.227 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-06/0.2667, allocations: 0 / 1.227 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.2667, allocations: 17.72 kB / 1.227 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.2668, allocations: 318.8 kB / 1.228 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.191e-05/0.2668, allocations: 7.922 kB / 1.228 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.567e-05/0.2669, allocations: 4 kB / 1.228 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.916e-05/0.2669, allocations: 20.8 kB / 1.228 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2669, allocations: 4.031 kB / 1.228 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001157/0.267, allocations: 45.59 kB / 1.228 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.267, allocations: 11.92 kB / 1.228 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.267, allocations: 4 kB / 1.228 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.2671, allocations: 0 / 1.228 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.2671, allocations: 0 / 1.228 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.2671, allocations: 0 / 1.228 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.2671, allocations: 7.938 kB / 1.228 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.2671, allocations: 0 / 1.228 GB, free: 3.328 MB / 0.9669 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 9.794e-05/0.2672, allocations: 189.2 kB / 1.228 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.54e-05/0.2673, allocations: 116.8 kB / 1.228 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.609e-05/0.2673, allocations: 116.9 kB / 1.228 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.605e-05/0.2674, allocations: 180.2 kB / 1.228 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.255e-05/0.2674, allocations: 176.3 kB / 1.228 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.499e-05/0.2675, allocations: 180.3 kB / 1.229 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.2677, allocations: 425.1 kB / 1.229 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-05/0.2678, allocations: 101 kB / 1.229 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-05/0.2678, allocations: 104.9 kB / 1.229 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.646e-05/0.2679, allocations: 180.3 kB / 1.229 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-05/0.2679, allocations: 180.3 kB / 1.229 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.406e-05/0.268, allocations: 184.2 kB / 1.23 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.273e-05/0.2681, allocations: 180.2 kB / 1.23 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.2682, allocations: 315.7 kB / 1.23 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.5e-05/0.2683, allocations: 178.1 kB / 1.23 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.731e-05/0.2684, allocations: 184.2 kB / 1.23 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.751e-05/0.2684, allocations: 113 kB / 1.231 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/0.2685, allocations: 184.2 kB / 1.231 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.2686, allocations: 101 kB / 1.231 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.013e-05/0.2686, allocations: 101.1 kB / 1.231 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.2686, allocations: 0 / 1.231 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006847/0.2693, allocations: 283 kB / 1.231 GB, free: 15.41 MB / 0.9825 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.001322/0.2706, allocations: 1.174 MB / 1.232 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.055e-05/0.2707, allocations: 37.7 kB / 1.232 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2707, allocations: 0 / 1.232 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.2707, allocations: 64 / 1.232 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.2711, allocations: 471.6 kB / 1.233 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.2725, allocations: 1.594 MB / 1.234 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.2728, allocations: 0.6846 MB / 1.235 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.344e-05/0.2728, allocations: 7.938 kB / 1.235 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.2728, allocations: 15.44 kB / 1.235 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.2728, allocations: 0 / 1.235 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.3034, allocations: 6.824 MB / 1.242 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.232/7.535, allocations: 6.234 kB / 1.242 GB, free: 4.605 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 12.65418925999984]