Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0013/0.0013, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001469/0.001469, allocations: 217.1 kB / 22.24 MB, free: 4.855 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.384/1.384, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9228/0.9228, allocations: 134 MB / 446.4 MB, free: 9.953 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.002112/0.002112, allocations: 67.14 kB / 0.6186 GB, free: 6.852 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1873, allocations: 85.92 MB / 0.7025 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00285/0.1902, allocations: 1.423 MB / 0.7039 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004796/0.195, allocations: 2.658 MB / 0.7065 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.564e-05/0.195, allocations: 0 / 0.7065 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.762e-05/0.1951, allocations: 3.938 kB / 0.7065 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.477e-05/0.1951, allocations: 19.84 kB / 0.7065 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004603/0.1997, allocations: 1.638 MB / 0.7081 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.1998, allocations: 47.67 kB / 0.7081 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.967e-05/0.1999, allocations: 0 / 0.7081 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.903e-05/0.1999, allocations: 11.94 kB / 0.7081 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.109e-05/0.2, allocations: 15.92 kB / 0.7081 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.2, allocations: 8 kB / 0.7082 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002758/0.2027, allocations: 1.474 MB / 0.7096 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.444e-05/0.2027, allocations: 11.92 kB / 0.7096 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.2028, allocations: 11.94 kB / 0.7096 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.2046, allocations: 1.083 MB / 0.7107 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.2046, allocations: 0 / 0.7107 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.226e-06/0.2046, allocations: 0 / 0.7107 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.2047, allocations: 0 / 0.7107 GB, free: 8.609 MB / 0.5294 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.0007192/0.2054, allocations: 476 kB / 0.7111 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.2054, allocations: 12.03 kB / 0.7111 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.238e-05/0.2055, allocations: 106 kB / 0.7112 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.2056, allocations: 80.22 kB / 0.7113 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.2058, allocations: 201.6 kB / 0.7115 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.359e-05/0.2059, allocations: 158.5 kB / 0.7117 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.303e-05/0.2059, allocations: 150.6 kB / 0.7118 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.568e-05/0.206, allocations: 101 kB / 0.7119 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.434e-05/0.2061, allocations: 75.28 kB / 0.712 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.786e-05/0.2061, allocations: 150.6 kB / 0.7121 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-05/0.2062, allocations: 154.6 kB / 0.7123 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.731e-05/0.2063, allocations: 150.6 kB / 0.7124 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.2067, allocations: 452.8 kB / 0.7128 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.2068, allocations: 173.1 kB / 0.713 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.027e-05/0.2068, allocations: 80.14 kB / 0.7131 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.2068, allocations: 75.28 kB / 0.7132 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/0.2069, allocations: 105.8 kB / 0.7133 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.2069, allocations: 0 / 0.7133 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.996e-05/0.207, allocations: 33.64 kB / 0.7133 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.2071, allocations: 126.7 kB / 0.7134 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.2072, allocations: 140.1 kB / 0.7135 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.2072, allocations: 25.7 kB / 0.7136 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.2073, allocations: 96.12 kB / 0.7137 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.2073, allocations: 0 / 0.7137 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.2073, allocations: 21.72 kB / 0.7137 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.2075, allocations: 326.8 kB / 0.714 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.173e-05/0.2075, allocations: 0 / 0.714 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.92e-05/0.2076, allocations: 7.938 kB / 0.714 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.887e-05/0.2076, allocations: 16.86 kB / 0.714 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2076, allocations: 0 / 0.714 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000135/0.2077, allocations: 53.58 kB / 0.7141 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.2078, allocations: 8 kB / 0.7141 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/0.2078, allocations: 7.984 kB / 0.7141 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.2078, allocations: 4.062 kB / 0.7141 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.2078, allocations: 0 / 0.7141 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2078, allocations: 0 / 0.7141 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.12e-05/0.2078, allocations: 0 / 0.7141 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.2078, allocations: 4 kB / 0.7141 GB, free: 4.906 MB / 0.5294 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.0001232/0.208, allocations: 189.1 kB / 0.7143 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.667e-05/0.208, allocations: 108.9 kB / 0.7144 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.517e-05/0.2081, allocations: 112.7 kB / 0.7145 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-05/0.2082, allocations: 180.3 kB / 0.7146 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.771e-05/0.2083, allocations: 184.1 kB / 0.7148 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.119e-05/0.2084, allocations: 184.3 kB / 0.715 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.2087, allocations: 388.2 kB / 0.7154 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.793e-05/0.2087, allocations: 108.9 kB / 0.7155 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.831e-05/0.2088, allocations: 101 kB / 0.7156 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.71e-05/0.2089, allocations: 184.2 kB / 0.7157 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.694e-05/0.209, allocations: 184.3 kB / 0.7159 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.901e-05/0.2091, allocations: 180.2 kB / 0.7161 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.869e-05/0.2091, allocations: 180.2 kB / 0.7163 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.2093, allocations: 315.7 kB / 0.7166 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.977e-05/0.2094, allocations: 109 kB / 0.7167 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.2095, allocations: 184.2 kB / 0.7168 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.858e-05/0.2096, allocations: 105 kB / 0.7169 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.2097, allocations: 180.3 kB / 0.7171 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/0.2097, allocations: 108.9 kB / 0.7172 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.058e-05/0.2098, allocations: 101.3 kB / 0.7173 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2098, allocations: 0 / 0.7173 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009089/0.2107, allocations: 295 kB / 0.7176 GB, free: 1.105 MB / 0.5294 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.001641/0.2124, allocations: 1.189 MB / 0.7188 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.2125, allocations: 49.62 kB / 0.7188 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2125, allocations: 0 / 0.7188 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/0.2125, allocations: 0 / 0.7188 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.213, allocations: 463.7 kB / 0.7193 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.2147, allocations: 1.615 MB / 0.7208 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.02e-05/0.2148, allocations: 75.3 kB / 0.7209 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.564e-05/0.2148, allocations: 0 / 0.7209 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.2148, allocations: 15.44 kB / 0.7209 GB, free: 13.57 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.2148, allocations: 0 / 0.7209 GB, free: 13.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0407/0.2555, allocations: 7.784 MB / 0.7285 GB, free: 5.973 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.48, allocations: 4.344 kB / 0.7285 GB, free: 5.973 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.13947167713195] Failed to read output from testmodel.py, exit status != 0: 11.580799982883036 11.596705996 11.388864655 Calling exit ...