Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009531/0.0009531, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.0009228/0.0009228, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9105/0.9105, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.7663/0.7663, allocations: 154.6 MB / 415.6 MB, free: 0.5508 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.5216 GB, free: 1.797 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.043e-05, allocations: 3.219 kB / 0.5216 GB, free: 1.793 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002912/0.002942, allocations: 1.477 MB / 0.5231 GB, free: 332 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004823/0.007765, allocations: 2.772 MB / 0.5258 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.007866, allocations: 0 / 0.5258 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.74e-05/0.007904, allocations: 13.2 kB / 0.5258 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.964e-05/0.007993, allocations: 15.8 kB / 0.5258 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.005093/0.01309, allocations: 1.63 MB / 0.5274 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.01323, allocations: 47.67 kB / 0.5274 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.01327, allocations: 7.984 kB / 0.5275 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.458e-05/0.01333, allocations: 23.14 kB / 0.5275 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.613e-05/0.01335, allocations: 8 kB / 0.5275 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.01337, allocations: 7.938 kB / 0.5275 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003039/0.01641, allocations: 1.493 MB / 0.529 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.01643, allocations: 4 kB / 0.529 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.11e-05/0.01647, allocations: 15.92 kB / 0.529 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002623/0.01909, allocations: 1.286 MB / 0.5302 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.0191, allocations: 7.016 kB / 0.5302 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.904e-06/0.0191, allocations: 0 / 0.5302 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.01911, allocations: 0 / 0.5302 GB, free: 9.023 MB / 0.4948 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.0008353/0.01994, allocations: 0.5609 MB / 0.5308 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.01999, allocations: 12.03 kB / 0.5308 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.23e-05/0.02008, allocations: 124.1 kB / 0.5309 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.02024, allocations: 245.6 kB / 0.5311 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.376e-05/0.02031, allocations: 238.8 kB / 0.5314 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.993e-05/0.02039, allocations: 244.1 kB / 0.5316 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.7e-05/0.02047, allocations: 153.4 kB / 0.5318 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.951e-05/0.02051, allocations: 119.4 kB / 0.5319 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-05/0.02058, allocations: 242.5 kB / 0.5321 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.006e-05/0.02065, allocations: 239.7 kB / 0.5323 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.353e-05/0.02073, allocations: 246.4 kB / 0.5326 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.02103, allocations: 0.5647 MB / 0.5331 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.02114, allocations: 270 kB / 0.5334 GB, free: 5.699 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.02118, allocations: 126.9 kB / 0.5335 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.02122, allocations: 123.8 kB / 0.5336 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.086e-05/0.02128, allocations: 152.6 kB / 0.5338 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 2.064e-06/0.02128, allocations: 0.5 kB / 0.5338 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 8.175e-05/0.02136, allocations: 40.5 kB / 0.5338 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.02144, allocations: 170.6 kB / 0.534 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.02158, allocations: 199.5 kB / 0.5341 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.0216, allocations: 25.7 kB / 0.5342 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.354e-05/0.02166, allocations: 134.9 kB / 0.5343 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-06/0.02166, allocations: 0 / 0.5343 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.0217, allocations: 31.28 kB / 0.5343 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.02187, allocations: 0.4908 MB / 0.5348 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.168e-05/0.02189, allocations: 0 / 0.5348 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.157e-05/0.0219, allocations: 4.047 kB / 0.5348 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.483e-05/0.02194, allocations: 23.67 kB / 0.5348 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.02195, allocations: 0 / 0.5348 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001292/0.02208, allocations: 45.66 kB / 0.5349 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.02209, allocations: 4 kB / 0.5349 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/0.02212, allocations: 5.5 kB / 0.5349 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.02213, allocations: 0 / 0.5349 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.02213, allocations: 0 / 0.5349 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.02214, allocations: 7.875 kB / 0.5349 GB, free: 4.051 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.686e-05/0.02216, allocations: 4.969 kB / 0.5349 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.02217, allocations: 0 / 0.5349 GB, free: 4.047 MB / 0.4948 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.0001384/0.02231, allocations: 276.3 kB / 0.5352 GB, free: 3.766 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.4e-05/0.02238, allocations: 153.4 kB / 0.5353 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.725e-05/0.02245, allocations: 156.7 kB / 0.5355 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.919e-05/0.02254, allocations: 268.7 kB / 0.5357 GB, free: 3.184 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.732e-05/0.02263, allocations: 268.1 kB / 0.536 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.755e-05/0.02271, allocations: 276.5 kB / 0.5362 GB, free: 2.637 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.02297, allocations: 486 kB / 0.5367 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.406e-05/0.02302, allocations: 152.9 kB / 0.5368 GB, free: 1.973 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.135e-05/0.02307, allocations: 152.8 kB / 0.537 GB, free: 1.816 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.993e-05/0.02316, allocations: 264.1 kB / 0.5372 GB, free: 1.551 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.399e-05/0.02325, allocations: 277.5 kB / 0.5375 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.926e-05/0.02333, allocations: 264.1 kB / 0.5378 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-05/0.02342, allocations: 272 kB / 0.538 GB, free: 0.7344 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.02359, allocations: 451.9 kB / 0.5384 GB, free: 272 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.02364, allocations: 163.2 kB / 0.5386 GB, free: 104 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.02375, allocations: 272 kB / 0.5389 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-05/0.02384, allocations: 148.8 kB / 0.539 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.086e-05/0.02392, allocations: 268.1 kB / 0.5393 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-05/0.02396, allocations: 144.9 kB / 0.5394 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.66e-05/0.02403, allocations: 137.5 kB / 0.5395 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.02403, allocations: 2.125 kB / 0.5395 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009261/0.02495, allocations: 302.9 kB / 0.5398 GB, free: 14.83 MB / 0.5105 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.001136/0.02609, allocations: 0.6412 MB / 0.5404 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.0262, allocations: 47.84 kB / 0.5405 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.0262, allocations: 0 / 0.5405 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.0262, allocations: 0 / 0.5405 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.02666, allocations: 0.7114 MB / 0.5412 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.027, allocations: 279.2 kB / 0.5415 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.206e-05/0.02705, allocations: 51.36 kB / 0.5415 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.013e-05/0.02707, allocations: 5.375 kB / 0.5415 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.129e-05/0.02713, allocations: 78.19 kB / 0.5416 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of SimCode: time 1.212e-06/0.02713, allocations: 0 / 0.5416 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of Templates: time 0.01386/0.04099, allocations: 7.356 MB / 0.5488 GB, free: 5.777 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8421754990704358]