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.0007742/0.0007742, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002102, allocations: 435.8 kB / 10.33 MB, free: 368 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.001021/0.001021, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001266/0.002287, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.916/0.916, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08815/1.004, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7151/0.7151, allocations: 155.3 MB / 399.2 MB, free: 15.93 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.2958/1.011, allocations: 49.13 MB / 448.4 MB, free: 6.012 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.423e-06/1.423e-06, allocations: 0.7656 kB / 449.7 MB, free: 4.68 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.203e-05/1.346e-05, allocations: 2.312 kB / 449.7 MB, free: 4.676 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001616/0.001629, allocations: 1.533 MB / 451.3 MB, free: 3.168 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002841/0.00447, allocations: 2.831 MB / 454.1 MB, free: 368 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.00451, allocations: 0.875 kB / 454.1 MB, free: 368 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.13e-05/0.004521, allocations: 7.922 kB / 454.1 MB, free: 360 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.506e-05/0.004556, allocations: 20.3 kB / 454.1 MB, free: 340 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.006656, allocations: 1.558 MB / 455.7 MB, free: 14.82 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.897e-05/0.006735, allocations: 47.44 kB / 455.7 MB, free: 14.78 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.322e-05/0.006768, allocations: 8.578 kB / 455.7 MB, free: 14.77 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.315e-05/0.006821, allocations: 28.58 kB / 455.8 MB, free: 14.74 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.91e-05/0.00684, allocations: 8 kB / 455.8 MB, free: 14.73 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.00685, allocations: 0.5312 kB / 455.8 MB, free: 14.73 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.008253, allocations: 1.557 MB / 457.3 MB, free: 13.18 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.008263, allocations: 3.938 kB / 457.3 MB, free: 13.17 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.669e-05/0.00828, allocations: 12.81 kB / 457.4 MB, free: 13.16 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009382/0.009218, allocations: 1.06 MB / 458.4 MB, free: 12.1 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/0.00923, allocations: 1.219 kB / 458.4 MB, free: 12.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.009231, allocations: 0 / 458.4 MB, free: 12.1 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.009243, allocations: 0 / 458.4 MB, free: 12.1 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.000427/0.00967, allocations: 0.5361 MB / 459 MB, free: 11.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.0097, allocations: 8.031 kB / 459 MB, free: 11.53 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.009736, allocations: 77.12 kB / 459 MB, free: 11.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.863e-05/0.009824, allocations: 194.4 kB / 459.2 MB, free: 11.24 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.009858, allocations: 151.9 kB / 459.4 MB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.009894, allocations: 158.9 kB / 459.5 MB, free: 10.94 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.156e-05/0.009935, allocations: 105.5 kB / 459.6 MB, free: 10.83 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.009956, allocations: 76.09 kB / 459.7 MB, free: 10.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.009988, allocations: 162.6 kB / 459.9 MB, free: 10.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/0.01002, allocations: 155.9 kB / 460 MB, free: 10.44 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.745e-05/0.01006, allocations: 151.4 kB / 460.2 MB, free: 10.29 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.0102, allocations: 361.3 kB / 460.5 MB, free: 9.926 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.818e-05/0.01026, allocations: 165.6 kB / 460.7 MB, free: 9.754 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.01028, allocations: 89.45 kB / 460.8 MB, free: 9.664 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.0103, allocations: 75.28 kB / 460.8 MB, free: 9.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.01033, allocations: 105.8 kB / 460.9 MB, free: 9.477 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.01033, allocations: 0 / 460.9 MB, free: 9.477 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 4.699e-05/0.01038, allocations: 34.75 kB / 461 MB, free: 9.438 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.01042, allocations: 126.7 kB / 461.1 MB, free: 9.301 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.384e-05/0.01051, allocations: 143.9 kB / 461.2 MB, free: 9.148 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.863e-06/0.01051, allocations: 26.42 kB / 461.3 MB, free: 9.117 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.694e-05/0.01054, allocations: 88.12 kB / 461.4 MB, free: 9.027 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.22e-07/0.01054, allocations: 0.9062 kB / 461.4 MB, free: 9.027 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.01057, allocations: 21.69 kB / 461.4 MB, free: 9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.651e-05/0.01065, allocations: 319.4 kB / 461.7 MB, free: 8.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.385e-05/0.01067, allocations: 3.938 kB / 461.7 MB, free: 8.676 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.585e-06/0.01068, allocations: 5.438 kB / 461.7 MB, free: 8.672 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.737e-05/0.0107, allocations: 12.84 kB / 461.7 MB, free: 8.656 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.0107, allocations: 0 / 461.7 MB, free: 8.656 MB / 442.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.23e-05/0.01077, allocations: 35.67 kB / 461.7 MB, free: 8.617 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.01078, allocations: 4 kB / 461.8 MB, free: 8.613 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.01079, allocations: 6 kB / 461.8 MB, free: 8.609 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.123e-06/0.0108, allocations: 4 kB / 461.8 MB, free: 8.605 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.106e-06/0.0108, allocations: 0 / 461.8 MB, free: 8.605 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.01081, allocations: 0 / 461.8 MB, free: 8.605 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.478e-05/0.01082, allocations: 11.88 kB / 461.8 MB, free: 8.594 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.01083, allocations: 0.6562 kB / 461.8 MB, free: 8.594 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.601e-05/0.01089, allocations: 193.1 kB / 462 MB, free: 8.395 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.01093, allocations: 105.6 kB / 462.1 MB, free: 8.285 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/0.01097, allocations: 110.2 kB / 462.2 MB, free: 8.168 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.081e-05/0.01101, allocations: 184.2 kB / 462.4 MB, free: 7.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.006e-05/0.01105, allocations: 180.3 kB / 462.5 MB, free: 7.797 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.15e-05/0.01109, allocations: 184.1 kB / 462.7 MB, free: 7.609 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.01121, allocations: 330.3 kB / 463 MB, free: 7.262 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.439e-05/0.01123, allocations: 109 kB / 463.1 MB, free: 7.148 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.551e-05/0.01126, allocations: 105.5 kB / 463.2 MB, free: 7.039 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.998e-05/0.01129, allocations: 108.9 kB / 463.3 MB, free: 6.926 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.835e-05/0.01134, allocations: 189.9 kB / 463.5 MB, free: 6.734 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.01138, allocations: 176.3 kB / 463.7 MB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.796e-05/0.01142, allocations: 177 kB / 463.9 MB, free: 6.375 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.277e-05/0.01146, allocations: 184.2 kB / 464.1 MB, free: 6.188 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.846e-05/0.01155, allocations: 312.2 kB / 464.4 MB, free: 5.859 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.01159, allocations: 180.3 kB / 464.5 MB, free: 5.676 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.256e-05/0.01164, allocations: 101.5 kB / 464.6 MB, free: 5.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.01167, allocations: 182.2 kB / 464.8 MB, free: 5.387 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.0117, allocations: 109 kB / 464.9 MB, free: 5.273 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.962e-05/0.01172, allocations: 26.23 kB / 464.9 MB, free: 5.246 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01172, allocations: 0 / 464.9 MB, free: 5.246 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003764/0.01209, allocations: 302.9 kB / 465.2 MB, free: 4.949 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.000677/0.01277, allocations: 0.589 MB / 465.8 MB, free: 4.359 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.846e-05/0.01284, allocations: 42.44 kB / 465.9 MB, free: 4.309 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.01284, allocations: 0.5625 kB / 465.9 MB, free: 4.309 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.01284, allocations: 4 kB / 465.9 MB, free: 4.305 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.01306, allocations: 476.5 kB / 466.3 MB, free: 3.836 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005739/0.01363, allocations: 244.1 kB / 466.6 MB, free: 3.574 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.185e-05/0.01366, allocations: 59.2 kB / 466.6 MB, free: 3.496 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.046e-05/0.01367, allocations: 1.375 kB / 466.6 MB, free: 3.496 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.01371, allocations: 59.36 kB / 466.7 MB, free: 3.438 MB / 442.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01372, allocations: 0 / 466.7 MB, free: 3.438 MB / 442.7 MB Notification: Performance of Templates: time 0.007564/0.02128, allocations: 7.326 MB / 474 MB, free: 12.5 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.672619476914406]