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.0008899/0.0008899, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001343/0.002233, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009568/0.0009568, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001229/0.002186, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9466/0.9466, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08988/1.036, allocations: 53.66 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7594/0.7594, allocations: 155.3 MB / 399.5 MB, free: 15.79 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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 NFInstanceAPI.mkTop(): time 0.295/1.054, allocations: 49.14 MB / 448.6 MB, free: 5.891 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.884e-06/1.884e-06, allocations: 0 / 450 MB, free: 4.543 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.478e-05, allocations: 3.25 kB / 450 MB, free: 4.539 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002651/0.002676, allocations: 1.544 MB / 451.6 MB, free: 3.023 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004145/0.00682, allocations: 2.844 MB / 454.4 MB, free: 220 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.516e-05/0.006855, allocations: 3.938 kB / 454.4 MB, free: 216 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.1e-05/0.006866, allocations: 0 / 454.4 MB, free: 216 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.383e-05/0.00691, allocations: 19.78 kB / 454.4 MB, free: 196 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002732/0.009642, allocations: 1.552 MB / 456 MB, free: 14.68 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.009751, allocations: 48.39 kB / 456 MB, free: 14.63 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.009787, allocations: 5.156 kB / 456 MB, free: 14.63 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.853e-05/0.009846, allocations: 27.91 kB / 456 MB, free: 14.6 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.322e-05/0.009869, allocations: 11.98 kB / 456.1 MB, free: 14.59 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.00988, allocations: 5.938 kB / 456.1 MB, free: 14.59 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.01133, allocations: 1.552 MB / 457.6 MB, free: 13.03 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.01135, allocations: 7.938 kB / 457.6 MB, free: 13.02 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.789e-05/0.01137, allocations: 11.94 kB / 457.6 MB, free: 13.01 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.01244, allocations: 1.061 MB / 458.7 MB, free: 11.95 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/0.01246, allocations: 0 / 458.7 MB, free: 11.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.01246, allocations: 0.9062 kB / 458.7 MB, free: 11.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.01246, allocations: 0 / 458.7 MB, free: 11.95 MB / 442.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.0006156/0.01308, allocations: 0.5361 MB / 459.2 MB, free: 11.39 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.01311, allocations: 8.031 kB / 459.2 MB, free: 11.38 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.01315, allocations: 78.52 kB / 459.3 MB, free: 11.31 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.073e-05/0.01324, allocations: 197 kB / 459.5 MB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.01328, allocations: 150.9 kB / 459.7 MB, free: 10.94 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.01332, allocations: 155.7 kB / 459.8 MB, free: 10.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.071e-05/0.01336, allocations: 101.5 kB / 459.9 MB, free: 10.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.01338, allocations: 80.31 kB / 460 MB, free: 10.61 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/0.01342, allocations: 154.7 kB / 460.1 MB, free: 10.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-05/0.01345, allocations: 159.2 kB / 460.3 MB, free: 10.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.162e-05/0.01348, allocations: 150.6 kB / 460.4 MB, free: 10.15 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.01363, allocations: 357.9 kB / 460.8 MB, free: 9.785 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.56e-05/0.01369, allocations: 167.6 kB / 461 MB, free: 9.613 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.243e-05/0.01371, allocations: 88.08 kB / 461 MB, free: 9.523 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.01373, allocations: 75.91 kB / 461.1 MB, free: 9.449 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.01376, allocations: 106.5 kB / 461.2 MB, free: 9.336 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 6.11e-07/0.01376, allocations: 0 / 461.2 MB, free: 9.336 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 4.776e-05/0.01381, allocations: 30.33 kB / 461.3 MB, free: 9.301 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.01385, allocations: 130.7 kB / 461.4 MB, free: 9.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.464e-05/0.01394, allocations: 149.8 kB / 461.5 MB, free: 9.004 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.605e-06/0.01394, allocations: 25.7 kB / 461.5 MB, free: 8.973 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.775e-05/0.01397, allocations: 88.12 kB / 461.6 MB, free: 8.883 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.142e-06/0.01397, allocations: 0.9375 kB / 461.6 MB, free: 8.883 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.014, allocations: 13.72 kB / 461.6 MB, free: 8.863 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.717e-05/0.01406, allocations: 324 kB / 462 MB, free: 8.539 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.01407, allocations: 3.938 kB / 462 MB, free: 8.535 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-06/0.01408, allocations: 0 / 462 MB, free: 8.535 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.507e-05/0.01411, allocations: 13.39 kB / 462 MB, free: 8.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01411, allocations: 0 / 462 MB, free: 8.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.271e-05/0.01417, allocations: 38.69 kB / 462 MB, free: 8.477 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.01418, allocations: 4 kB / 462 MB, free: 8.473 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.0142, allocations: 4.531 kB / 462 MB, free: 8.469 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-06/0.01421, allocations: 0 / 462 MB, free: 8.469 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.834e-06/0.01421, allocations: 1 kB / 462 MB, free: 8.469 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.01421, allocations: 0 / 462 MB, free: 8.469 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.486e-05/0.01422, allocations: 8.984 kB / 462 MB, free: 8.461 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.01423, allocations: 3.938 kB / 462 MB, free: 8.457 MB / 442.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 6.578e-05/0.01429, allocations: 193 kB / 462.2 MB, free: 8.258 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.01433, allocations: 107.1 kB / 462.3 MB, free: 8.148 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.931e-05/0.01437, allocations: 108.8 kB / 462.4 MB, free: 8.027 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.164e-05/0.01441, allocations: 184.3 kB / 462.6 MB, free: 7.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.774e-05/0.01446, allocations: 188.3 kB / 462.8 MB, free: 7.648 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.462e-05/0.0145, allocations: 192.2 kB / 463 MB, free: 7.453 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.01462, allocations: 330.3 kB / 463.3 MB, free: 7.105 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.156e-05/0.01464, allocations: 101 kB / 463.4 MB, free: 7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.333e-05/0.01467, allocations: 104.9 kB / 463.5 MB, free: 6.891 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.981e-05/0.0147, allocations: 113.9 kB / 463.6 MB, free: 6.773 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.08e-05/0.01474, allocations: 181.5 kB / 463.8 MB, free: 6.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/0.01478, allocations: 186.2 kB / 464 MB, free: 6.402 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.004e-05/0.01482, allocations: 176.3 kB / 464.2 MB, free: 6.223 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.223e-05/0.01486, allocations: 184.2 kB / 464.3 MB, free: 6.035 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.545e-05/0.01496, allocations: 311.7 kB / 464.6 MB, free: 5.707 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/0.015, allocations: 176.3 kB / 464.8 MB, free: 5.527 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.68e-05/0.01505, allocations: 105.7 kB / 464.9 MB, free: 5.418 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.01509, allocations: 180.2 kB / 465.1 MB, free: 5.234 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/0.01512, allocations: 101.7 kB / 465.2 MB, free: 5.129 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.249e-05/0.01514, allocations: 30.23 kB / 465.2 MB, free: 5.098 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01514, allocations: 1.312 kB / 465.2 MB, free: 5.098 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005089/0.01565, allocations: 298.9 kB / 465.5 MB, free: 4.805 MB / 442.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.0007844/0.01644, allocations: 0.5906 MB / 466.1 MB, free: 4.211 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.034e-05/0.01652, allocations: 50.42 kB / 466.2 MB, free: 4.152 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.01652, allocations: 0.9688 kB / 466.2 MB, free: 4.152 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.086e-06/0.01652, allocations: 0 / 466.2 MB, free: 4.152 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.01678, allocations: 0.5655 MB / 466.7 MB, free: 3.559 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006075/0.01738, allocations: 240.4 kB / 467 MB, free: 3.301 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.013e-05/0.01741, allocations: 59.22 kB / 467 MB, free: 3.223 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.345e-05/0.01743, allocations: 0.7188 kB / 467 MB, free: 3.223 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.217e-05/0.01748, allocations: 65.62 kB / 467.1 MB, free: 3.16 MB / 442.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01748, allocations: 0 / 467.1 MB, free: 3.16 MB / 442.7 MB Notification: Performance of Templates: time 0.008202/0.02568, allocations: 7.229 MB / 474.3 MB, free: 12.32 MB / 458.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.7857435271143913]