Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.0009266/0.0009266, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009318/0.0009318, allocations: 177 kB / 23.36 MB, free: 1.129 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.926/0.926, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.769/0.769, allocations: 154.9 MB / 415.1 MB, free: 200 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 3.938 kB / 480.4 MB, free: 6.453 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.196e-05, allocations: 4.828 kB / 480.5 MB, free: 6.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001837/0.001859, allocations: 1.478 MB / 481.9 MB, free: 4.992 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00362/0.005479, allocations: 2.841 MB / 484.8 MB, free: 2.184 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.759e-05/0.005537, allocations: 0 / 484.8 MB, free: 2.184 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.258e-05/0.005559, allocations: 4.609 kB / 484.8 MB, free: 2.18 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.842e-05/0.005618, allocations: 17.02 kB / 484.8 MB, free: 2.164 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003056/0.008674, allocations: 1.667 MB / 486.5 MB, free: 0.543 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.631e-05/0.00875, allocations: 47.67 kB / 486.5 MB, free: 0.4961 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.09e-05/0.008781, allocations: 4.734 kB / 486.5 MB, free: 0.4922 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.14e-05/0.008813, allocations: 19.92 kB / 486.5 MB, free: 484 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.801e-05/0.008831, allocations: 13.61 kB / 486.5 MB, free: 472 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.008841, allocations: 4 kB / 486.5 MB, free: 468 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001717/0.01056, allocations: 1.494 MB / 488 MB, free: 14.96 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.01057, allocations: 11.92 kB / 488.1 MB, free: 14.95 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.0106, allocations: 8.781 kB / 488.1 MB, free: 14.94 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.01205, allocations: 1.29 MB / 489.3 MB, free: 13.65 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.01206, allocations: 4 kB / 489.4 MB, free: 13.64 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01206, allocations: 1.406 kB / 489.4 MB, free: 13.64 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.01206, allocations: 0 / 489.4 MB, free: 13.64 MB / 458.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.0004791/0.01254, allocations: 446.7 kB / 489.8 MB, free: 13.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.656e-05/0.01257, allocations: 9.406 kB / 489.8 MB, free: 13.18 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.0126, allocations: 84.2 kB / 489.9 MB, free: 13.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.289e-05/0.01268, allocations: 189.6 kB / 490.1 MB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/0.01272, allocations: 154.9 kB / 490.2 MB, free: 12.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.01276, allocations: 153.4 kB / 490.4 MB, free: 12.58 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.319e-05/0.0128, allocations: 105.5 kB / 490.5 MB, free: 12.47 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.01282, allocations: 79.45 kB / 490.5 MB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/0.01286, allocations: 159.6 kB / 490.7 MB, free: 12.24 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.201e-05/0.0129, allocations: 150.6 kB / 490.9 MB, free: 12.09 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.461e-05/0.01294, allocations: 150.6 kB / 491 MB, free: 11.94 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.01309, allocations: 362.4 kB / 491.4 MB, free: 11.57 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.663e-05/0.01314, allocations: 173.1 kB / 491.5 MB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.194e-05/0.01316, allocations: 81.08 kB / 491.6 MB, free: 11.31 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.01318, allocations: 76.12 kB / 491.7 MB, free: 11.24 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.01321, allocations: 105.8 kB / 491.8 MB, free: 11.12 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.01321, allocations: 0.5938 kB / 491.8 MB, free: 11.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 3.446e-05/0.01325, allocations: 31.55 kB / 491.8 MB, free: 11.09 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.01328, allocations: 126.7 kB / 491.9 MB, free: 10.95 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.52e-05/0.01336, allocations: 148.5 kB / 492.1 MB, free: 10.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.01337, allocations: 25.7 kB / 492.1 MB, free: 10.77 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.688e-05/0.01339, allocations: 92.08 kB / 492.2 MB, free: 10.67 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.32e-07/0.01339, allocations: 10 kB / 492.2 MB, free: 10.66 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/0.01342, allocations: 17.7 kB / 492.2 MB, free: 10.64 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.054e-05/0.01349, allocations: 322.8 kB / 492.5 MB, free: 10.32 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.717e-06/0.01349, allocations: 0 / 492.5 MB, free: 10.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-06/0.0135, allocations: 4 kB / 492.5 MB, free: 10.31 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.344e-05/0.01353, allocations: 8.859 kB / 492.5 MB, free: 10.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01353, allocations: 1.688 kB / 492.5 MB, free: 10.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.758e-05/0.01358, allocations: 41.69 kB / 492.6 MB, free: 10.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.01359, allocations: 8 kB / 492.6 MB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.01361, allocations: 0 / 492.6 MB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.963e-06/0.01361, allocations: 1.25 kB / 492.6 MB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.245e-06/0.01362, allocations: 0 / 492.6 MB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.01362, allocations: 3.938 kB / 492.6 MB, free: 10.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.281e-05/0.01363, allocations: 4.688 kB / 492.6 MB, free: 10.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.01364, allocations: 8 kB / 492.6 MB, free: 10.23 MB / 458.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 5.961e-05/0.01369, allocations: 182 kB / 492.8 MB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.01373, allocations: 109 kB / 492.9 MB, free: 9.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.01376, allocations: 108.3 kB / 493 MB, free: 9.816 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.04e-05/0.0138, allocations: 188.2 kB / 493.2 MB, free: 9.625 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-05/0.01384, allocations: 177.5 kB / 493.4 MB, free: 9.445 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.252e-05/0.01388, allocations: 188.2 kB / 493.5 MB, free: 9.254 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.01401, allocations: 329.5 kB / 493.9 MB, free: 8.906 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.101e-05/0.01403, allocations: 102.5 kB / 494 MB, free: 8.801 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.353e-05/0.01405, allocations: 112.9 kB / 494.1 MB, free: 8.684 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-05/0.01409, allocations: 176.3 kB / 494.3 MB, free: 8.504 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.859e-05/0.01413, allocations: 180.2 kB / 494.4 MB, free: 8.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.715e-05/0.01416, allocations: 181 kB / 494.6 MB, free: 8.137 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.73e-05/0.0142, allocations: 180.2 kB / 494.8 MB, free: 7.953 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.739e-05/0.01429, allocations: 314 kB / 495.1 MB, free: 7.625 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.01432, allocations: 112.9 kB / 495.2 MB, free: 7.508 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.01437, allocations: 184.2 kB / 495.4 MB, free: 7.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.431e-05/0.01441, allocations: 104.9 kB / 495.5 MB, free: 7.211 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.01445, allocations: 176.3 kB / 495.7 MB, free: 7.031 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.01447, allocations: 105 kB / 495.8 MB, free: 6.922 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.048e-05/0.01449, allocations: 27.53 kB / 495.8 MB, free: 6.895 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01449, allocations: 0 / 495.8 MB, free: 6.895 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004896/0.01498, allocations: 302.8 kB / 496.1 MB, free: 6.598 MB / 458.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.0006975/0.01568, allocations: 0.5753 MB / 496.7 MB, free: 6.023 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.785e-05/0.01574, allocations: 54.48 kB / 496.7 MB, free: 5.961 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.01574, allocations: 0.6562 kB / 496.7 MB, free: 5.961 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.01574, allocations: 1.125 kB / 496.7 MB, free: 5.961 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.01595, allocations: 463.6 kB / 497.2 MB, free: 5.504 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002057/0.01615, allocations: 238.7 kB / 497.4 MB, free: 5.246 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.555e-05/0.01618, allocations: 55.36 kB / 497.4 MB, free: 5.172 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.606e-06/0.01619, allocations: 0 / 497.4 MB, free: 5.172 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.01623, allocations: 61.64 kB / 497.5 MB, free: 5.113 MB / 458.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01623, allocations: 0 / 497.5 MB, free: 5.113 MB / 458.7 MB Notification: Performance of Templates: time 0.008411/0.02464, allocations: 7.309 MB / 0.493 GB, free: 14.15 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.876954663079232]