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.001317/0.001317, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001435/0.001435, allocations: 165 kB / 23.02 MB, free: 1.555 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.9625/0.9625, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.746/0.746, allocations: 154.6 MB / 414.5 MB, free: 0.6289 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.683e-06/1.683e-06, allocations: 0 / 0.5204 GB, free: 2.094 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.472e-05/1.64e-05, allocations: 3.578 kB / 0.5204 GB, free: 2.09 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002134/0.00215, allocations: 1.487 MB / 0.5219 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006714/0.008864, allocations: 2.833 MB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.746e-05/0.008911, allocations: 0 / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.008939, allocations: 8.953 kB / 0.5247 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.952e-05/0.008998, allocations: 11.81 kB / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.006242/0.01524, allocations: 1.654 MB / 0.5263 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.957e-05/0.01532, allocations: 42.11 kB / 0.5263 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.627e-05/0.01536, allocations: 15.92 kB / 0.5263 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.864e-05/0.01539, allocations: 15.98 kB / 0.5263 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.39e-05/0.01542, allocations: 11.94 kB / 0.5264 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.01543, allocations: 0 / 0.5264 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004944/0.02037, allocations: 1.495 MB / 0.5278 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.02039, allocations: 4 kB / 0.5278 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.02042, allocations: 15.92 kB / 0.5278 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.02166, allocations: 1.271 MB / 0.5291 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.02167, allocations: 0 / 0.5291 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.32e-07/0.02167, allocations: 0 / 0.5291 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.02167, allocations: 1.156 kB / 0.5291 GB, free: 9.262 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.0004068/0.02208, allocations: 0.5647 MB / 0.5296 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.02211, allocations: 8.031 kB / 0.5296 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.02216, allocations: 139.2 kB / 0.5298 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.02226, allocations: 245.6 kB / 0.53 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/0.02231, allocations: 238.8 kB / 0.5302 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.255e-05/0.02236, allocations: 238.8 kB / 0.5305 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.116e-05/0.02241, allocations: 145.5 kB / 0.5306 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.02244, allocations: 127.4 kB / 0.5307 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.694e-05/0.02249, allocations: 242.5 kB / 0.531 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.58e-05/0.02253, allocations: 238.4 kB / 0.5312 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.244e-05/0.02258, allocations: 249.3 kB / 0.5314 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002075/0.02279, allocations: 0.5836 MB / 0.532 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.407e-05/0.02287, allocations: 265.4 kB / 0.5322 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.216e-05/0.0229, allocations: 126.9 kB / 0.5324 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.02292, allocations: 119.2 kB / 0.5325 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.02296, allocations: 160.6 kB / 0.5326 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 6.31e-07/0.02296, allocations: 0 / 0.5326 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 5.24e-05/0.02301, allocations: 37.59 kB / 0.5327 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.02306, allocations: 175.9 kB / 0.5328 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.02317, allocations: 192.1 kB / 0.533 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.745e-06/0.02318, allocations: 25.7 kB / 0.533 GB, free: 5.031 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.02322, allocations: 138.9 kB / 0.5332 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.02322, allocations: 1.281 kB / 0.5332 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.02324, allocations: 23.38 kB / 0.5332 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.385e-05/0.02334, allocations: 0.4884 MB / 0.5337 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.02335, allocations: 4.656 kB / 0.5337 GB, free: 4.355 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.048e-05/0.02336, allocations: 4.047 kB / 0.5337 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.912e-05/0.02339, allocations: 24.31 kB / 0.5337 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.02339, allocations: 0 / 0.5337 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.984e-05/0.02348, allocations: 51.16 kB / 0.5338 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.253e-06/0.02349, allocations: 4 kB / 0.5338 GB, free: 4.266 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.0235, allocations: 7.984 kB / 0.5338 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/0.02351, allocations: 0.9688 kB / 0.5338 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.576e-06/0.02351, allocations: 3.938 kB / 0.5338 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.02352, allocations: 0 / 0.5338 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.088e-05/0.02353, allocations: 0.5938 kB / 0.5338 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.02353, allocations: 4 kB / 0.5338 GB, free: 4.25 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 7.143e-05/0.0236, allocations: 272.4 kB / 0.534 GB, free: 3.973 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.02365, allocations: 161.4 kB / 0.5342 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.805e-05/0.02369, allocations: 153.2 kB / 0.5343 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.905e-05/0.02374, allocations: 268.1 kB / 0.5346 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.138e-05/0.02379, allocations: 273.3 kB / 0.5349 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.026e-05/0.02384, allocations: 272.1 kB / 0.5351 GB, free: 2.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.02399, allocations: 0.5 MB / 0.5356 GB, free: 2.297 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.596e-05/0.02409, allocations: 154.3 kB / 0.5357 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.698e-05/0.02411, allocations: 144.9 kB / 0.5359 GB, free: 1.992 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.461e-05/0.02416, allocations: 268 kB / 0.5361 GB, free: 1.723 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.011e-05/0.02421, allocations: 272 kB / 0.5364 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.7e-05/0.02425, allocations: 274.5 kB / 0.5367 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-05/0.0243, allocations: 264.1 kB / 0.5369 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.0244, allocations: 455.8 kB / 0.5373 GB, free: 448 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.02444, allocations: 152.8 kB / 0.5375 GB, free: 288 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.805e-05/0.02449, allocations: 272 kB / 0.5378 GB, free: 8 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.773e-05/0.02455, allocations: 148.9 kB / 0.5379 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.02461, allocations: 276 kB / 0.5382 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.02463, allocations: 147 kB / 0.5383 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.121e-05/0.02467, allocations: 139.2 kB / 0.5384 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.02467, allocations: 0 / 0.5384 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003976/0.02507, allocations: 299 kB / 0.5387 GB, free: 15 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.0006866/0.02576, allocations: 0.6328 MB / 0.5393 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.478e-05/0.02583, allocations: 45.38 kB / 0.5394 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.02583, allocations: 0 / 0.5394 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.02583, allocations: 7.938 kB / 0.5394 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.02613, allocations: 0.714 MB / 0.5401 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002369/0.02636, allocations: 283.1 kB / 0.5404 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.825e-05/0.02639, allocations: 55.36 kB / 0.5404 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.568e-06/0.0264, allocations: 1.375 kB / 0.5404 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.237e-05/0.02641, allocations: 12.5 kB / 0.5404 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of SimCode: time 5.51e-07/0.02641, allocations: 0 / 0.5404 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of Templates: time 0.006582/0.033, allocations: 5.971 MB / 0.5462 GB, free: 7.402 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.973458431661129]