Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001352/0.001352, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.00143/0.00143, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.614/1.614, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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.854/0.854, allocations: 101.3 MB / 361.1 MB, free: 9.527 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [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.002252/0.002252, allocations: 64.19 kB / 0.5357 GB, free: 5.215 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.19, allocations: 85.89 MB / 0.6196 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002825/0.1928, allocations: 1.427 MB / 0.621 GB, free: 96 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00472/0.1976, allocations: 2.611 MB / 0.6235 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/0.1976, allocations: 4 kB / 0.6235 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.1976, allocations: 3.938 kB / 0.6235 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.186e-05/0.1977, allocations: 15.86 kB / 0.6235 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004198/0.2019, allocations: 1.607 MB / 0.6251 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.202, allocations: 47.67 kB / 0.6252 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.202, allocations: 0 / 0.6252 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.888e-05/0.2021, allocations: 11.94 kB / 0.6252 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.164e-05/0.2021, allocations: 15.92 kB / 0.6252 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.2021, allocations: 0 / 0.6252 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002359/0.2045, allocations: 1.447 MB / 0.6266 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.2045, allocations: 3.938 kB / 0.6266 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.065e-05/0.2045, allocations: 11.94 kB / 0.6266 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.2061, allocations: 1.073 MB / 0.6277 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2061, allocations: 0 / 0.6277 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2061, allocations: 0 / 0.6277 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.2061, allocations: 0 / 0.6277 GB, free: 9.242 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.0006373/0.2067, allocations: 464.1 kB / 0.6281 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.2068, allocations: 8.031 kB / 0.6281 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.216e-05/0.2068, allocations: 92.17 kB / 0.6282 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.207, allocations: 201.6 kB / 0.6284 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.111e-05/0.2071, allocations: 154.7 kB / 0.6285 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.404e-05/0.2072, allocations: 158.5 kB / 0.6287 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.221e-05/0.2072, allocations: 101 kB / 0.6288 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.631e-05/0.2073, allocations: 79.22 kB / 0.6289 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.528e-05/0.2073, allocations: 150.6 kB / 0.629 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.549e-05/0.2074, allocations: 154.6 kB / 0.6292 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.542e-05/0.2075, allocations: 150.6 kB / 0.6293 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003185/0.2078, allocations: 409.6 kB / 0.6297 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.2079, allocations: 169.1 kB / 0.6298 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.777e-05/0.208, allocations: 92.02 kB / 0.6299 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.306e-05/0.208, allocations: 83.27 kB / 0.63 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.385e-05/0.2081, allocations: 105.8 kB / 0.6301 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 6.92e-07/0.2081, allocations: 0 / 0.6301 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.691e-05/0.2081, allocations: 33.66 kB / 0.6301 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.279e-05/0.2082, allocations: 126.7 kB / 0.6303 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.2084, allocations: 131.7 kB / 0.6304 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.2084, allocations: 25.7 kB / 0.6304 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.2085, allocations: 88.14 kB / 0.6305 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.2085, allocations: 0 / 0.6305 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.2085, allocations: 21.7 kB / 0.6305 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.2086, allocations: 314.9 kB / 0.6308 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.554e-05/0.2087, allocations: 15.94 kB / 0.6308 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.874e-05/0.2087, allocations: 11.92 kB / 0.6309 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.717e-05/0.2087, allocations: 12.86 kB / 0.6309 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2087, allocations: 0 / 0.6309 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001278/0.2089, allocations: 49.59 kB / 0.6309 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.2089, allocations: 4 kB / 0.6309 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.2089, allocations: 4 kB / 0.6309 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.2089, allocations: 3.984 kB / 0.6309 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.2089, allocations: 0 / 0.6309 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.2089, allocations: 0 / 0.6309 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.2089, allocations: 12.02 kB / 0.6309 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.209, allocations: 0 / 0.6309 GB, free: 5.703 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.0001253/0.2091, allocations: 197 kB / 0.6311 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.798e-05/0.2091, allocations: 101 kB / 0.6312 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.489e-05/0.2092, allocations: 112.8 kB / 0.6313 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-05/0.2093, allocations: 180.2 kB / 0.6315 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.395e-05/0.2094, allocations: 180.3 kB / 0.6317 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.898e-05/0.2095, allocations: 180.2 kB / 0.6318 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.2098, allocations: 364.9 kB / 0.6322 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.165e-05/0.2098, allocations: 104.9 kB / 0.6323 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.678e-05/0.2099, allocations: 116.8 kB / 0.6324 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-05/0.21, allocations: 180.3 kB / 0.6326 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.261e-05/0.2101, allocations: 180.2 kB / 0.6327 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.821e-05/0.2101, allocations: 180.3 kB / 0.6329 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.624e-05/0.2102, allocations: 184.3 kB / 0.6331 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.2104, allocations: 307.7 kB / 0.6334 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.831e-05/0.2105, allocations: 120.8 kB / 0.6335 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.2106, allocations: 180.3 kB / 0.6337 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.966e-05/0.2107, allocations: 105 kB / 0.6338 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.843e-05/0.2108, allocations: 188.2 kB / 0.634 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.849e-05/0.2109, allocations: 101 kB / 0.634 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.534e-05/0.2109, allocations: 109.8 kB / 0.6342 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2109, allocations: 0 / 0.6342 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008625/0.2118, allocations: 287 kB / 0.6344 GB, free: 1.934 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.001094/0.2129, allocations: 0.5323 MB / 0.6349 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.213, allocations: 37.64 kB / 0.635 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.213, allocations: 0 / 0.635 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.213, allocations: 4.062 kB / 0.635 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004959/0.2135, allocations: 471.6 kB / 0.6354 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.2139, allocations: 228.9 kB / 0.6357 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.112e-05/0.2139, allocations: 75.23 kB / 0.6357 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.203e-05/0.214, allocations: 0 / 0.6357 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.214, allocations: 12.44 kB / 0.6357 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.214, allocations: 4 kB / 0.6357 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of Templates: time 0.01084/0.2248, allocations: 5.669 MB / 0.6413 GB, free: 10.91 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9460116509580985] Failed to read output from testmodel.py, exit status != 0: 0.23323709797114134 0.247829189 0.03874168 Calling exit ...