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.0008861/0.0008861, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001043/0.001043, allocations: 181 kB / 23.36 MB, free: 1.133 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.8979/0.8979, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7207/0.7207, allocations: 154.6 MB / 414.8 MB, free: 0.5 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 480.1 MB, free: 6.762 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.622e-05, allocations: 6.266 kB / 480.1 MB, free: 6.758 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00266/0.002687, allocations: 1.49 MB / 481.6 MB, free: 5.289 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00656/0.009247, allocations: 2.821 MB / 484.4 MB, free: 2.492 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.645e-05/0.009313, allocations: 1.5 kB / 484.4 MB, free: 2.492 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.009341, allocations: 7.922 kB / 484.4 MB, free: 2.484 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.153e-05/0.009422, allocations: 15.86 kB / 484.4 MB, free: 2.469 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003881/0.0133, allocations: 1.66 MB / 486.1 MB, free: 0.8516 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.84e-05/0.0134, allocations: 49.42 kB / 486.1 MB, free: 0.8047 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.01344, allocations: 11.98 kB / 486.2 MB, free: 0.793 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.322e-05/0.01349, allocations: 11.98 kB / 486.2 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.752e-05/0.01352, allocations: 15.92 kB / 486.2 MB, free: 0.7656 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.01353, allocations: 4.594 kB / 486.2 MB, free: 0.7617 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.01517, allocations: 1.499 MB / 487.7 MB, free: 15.26 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.01518, allocations: 7.938 kB / 487.7 MB, free: 15.25 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.873e-05/0.0152, allocations: 8 kB / 487.7 MB, free: 15.25 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.01646, allocations: 1.294 MB / 489 MB, free: 13.95 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.01646, allocations: 1.094 kB / 489 MB, free: 13.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01646, allocations: 0 / 489 MB, free: 13.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.01647, allocations: 0 / 489 MB, free: 13.95 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.0003833/0.01685, allocations: 451.5 kB / 489.4 MB, free: 13.48 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.01688, allocations: 8.031 kB / 489.4 MB, free: 13.48 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.01692, allocations: 81.62 kB / 489.5 MB, free: 13.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.828e-05/0.017, allocations: 191 kB / 489.7 MB, free: 13.19 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.01704, allocations: 154.9 kB / 489.9 MB, free: 13.04 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.01708, allocations: 156.3 kB / 490 MB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.4e-05/0.01712, allocations: 106.2 kB / 490.1 MB, free: 12.77 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.01714, allocations: 75.47 kB / 490.2 MB, free: 12.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/0.01717, allocations: 159.3 kB / 490.3 MB, free: 12.54 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/0.0172, allocations: 156 kB / 490.5 MB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.228e-05/0.01724, allocations: 150.6 kB / 490.6 MB, free: 12.24 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.01738, allocations: 357.3 kB / 491 MB, free: 11.88 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.902e-05/0.01744, allocations: 173.1 kB / 491.2 MB, free: 11.7 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.01746, allocations: 81.08 kB / 491.2 MB, free: 11.62 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.01747, allocations: 75.28 kB / 491.3 MB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.01751, allocations: 107 kB / 491.4 MB, free: 11.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.01751, allocations: 4 kB / 491.4 MB, free: 11.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 4.52e-05/0.01756, allocations: 26.64 kB / 491.4 MB, free: 11.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.0176, allocations: 131.5 kB / 491.6 MB, free: 11.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.543e-05/0.01769, allocations: 152.3 kB / 491.7 MB, free: 11.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.0177, allocations: 30.3 kB / 491.8 MB, free: 11.06 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.657e-05/0.01773, allocations: 84.09 kB / 491.8 MB, free: 10.97 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.302e-06/0.01773, allocations: 2.031 kB / 491.8 MB, free: 10.97 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.01775, allocations: 17.7 kB / 491.9 MB, free: 10.95 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.84e-05/0.01782, allocations: 322.8 kB / 492.2 MB, free: 10.62 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.183e-05/0.01783, allocations: 0 / 492.2 MB, free: 10.62 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.684e-06/0.01784, allocations: 4 kB / 492.2 MB, free: 10.62 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.749e-05/0.01787, allocations: 9.734 kB / 492.2 MB, free: 10.61 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01787, allocations: 64 / 492.2 MB, free: 10.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.621e-05/0.01793, allocations: 41.69 kB / 492.2 MB, free: 10.56 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.01794, allocations: 13.41 kB / 492.2 MB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.01796, allocations: 0 / 492.2 MB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.01797, allocations: 0 / 492.2 MB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.735e-06/0.01797, allocations: 0 / 492.2 MB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.01797, allocations: 4.688 kB / 492.2 MB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.654e-05/0.01799, allocations: 7.938 kB / 492.3 MB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.01799, allocations: 1.875 kB / 492.3 MB, free: 10.54 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 6.062e-05/0.01806, allocations: 185.1 kB / 492.4 MB, free: 10.35 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.01809, allocations: 113 kB / 492.5 MB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.62e-05/0.01813, allocations: 108.7 kB / 492.6 MB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.039e-05/0.01817, allocations: 180.8 kB / 492.8 MB, free: 9.934 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-05/0.0182, allocations: 180.8 kB / 493 MB, free: 9.75 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.004e-05/0.01824, allocations: 185.5 kB / 493.2 MB, free: 9.562 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.01836, allocations: 334 kB / 493.5 MB, free: 9.211 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.317e-05/0.01839, allocations: 107.2 kB / 493.6 MB, free: 9.102 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.247e-05/0.01841, allocations: 105 kB / 493.7 MB, free: 8.992 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.754e-05/0.01845, allocations: 176.3 kB / 493.9 MB, free: 8.812 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/0.01849, allocations: 180.2 kB / 494.1 MB, free: 8.629 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.655e-05/0.01852, allocations: 180.3 kB / 494.2 MB, free: 8.445 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.966e-05/0.01856, allocations: 184.2 kB / 494.4 MB, free: 8.258 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.986e-05/0.01865, allocations: 312.4 kB / 494.7 MB, free: 7.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.01869, allocations: 112.9 kB / 494.8 MB, free: 7.812 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.01873, allocations: 180.9 kB / 495 MB, free: 7.629 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.449e-05/0.01878, allocations: 104.9 kB / 495.1 MB, free: 7.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.01882, allocations: 182.1 kB / 495.3 MB, free: 7.336 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.01884, allocations: 108.9 kB / 495.4 MB, free: 7.223 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.214e-05/0.01886, allocations: 20.84 kB / 495.4 MB, free: 7.199 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01886, allocations: 0 / 495.4 MB, free: 7.199 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004418/0.0193, allocations: 306.9 kB / 495.7 MB, free: 6.898 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.0007151/0.02002, allocations: 0.572 MB / 496.3 MB, free: 6.328 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.812e-05/0.02009, allocations: 43.48 kB / 496.3 MB, free: 6.277 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.02009, allocations: 0 / 496.3 MB, free: 6.277 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.02009, allocations: 0 / 496.3 MB, free: 6.277 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.02031, allocations: 468.8 kB / 496.8 MB, free: 5.816 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002175/0.02053, allocations: 237.6 kB / 497 MB, free: 5.562 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.864e-05/0.02055, allocations: 60.22 kB / 497.1 MB, free: 5.484 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.214e-05/0.02057, allocations: 0 / 497.1 MB, free: 5.484 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.02061, allocations: 56.16 kB / 497.1 MB, free: 5.43 MB / 458.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02061, allocations: 0 / 497.1 MB, free: 5.43 MB / 458.7 MB Notification: Performance of Templates: time 0.007882/0.02849, allocations: 7.311 MB / 0.4926 GB, free: 14.46 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5816052076406777]