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.0009619/0.0009619, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001642/0.001642, allocations: 169 kB / 23.27 MB, free: 1.223 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.9307/0.9307, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.8064/0.8064, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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.593e-06/1.593e-06, allocations: 0 / 0.5209 GB, free: 1.785 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.912e-05, allocations: 4.141 kB / 0.5209 GB, free: 1.781 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002637/0.002666, allocations: 1.473 MB / 0.5223 GB, free: 324 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004053/0.006719, allocations: 2.78 MB / 0.525 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.799e-05/0.006777, allocations: 0 / 0.525 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.427e-05/0.006801, allocations: 0 / 0.525 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.113e-05/0.006872, allocations: 24.75 kB / 0.525 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003725/0.0106, allocations: 1.628 MB / 0.5266 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.827e-05/0.01067, allocations: 48.61 kB / 0.5267 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.135e-05/0.01071, allocations: 3.984 kB / 0.5267 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.108e-05/0.01075, allocations: 24.91 kB / 0.5267 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 1.979e-05/0.01077, allocations: 11.94 kB / 0.5267 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.01078, allocations: 7.938 kB / 0.5267 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.01238, allocations: 1.494 MB / 0.5282 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.0124, allocations: 9.531 kB / 0.5282 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.01243, allocations: 8 kB / 0.5282 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.01382, allocations: 1.29 MB / 0.5295 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.01382, allocations: 0 / 0.5295 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.01383, allocations: 0 / 0.5295 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.01383, allocations: 0.6562 kB / 0.5295 GB, free: 9.012 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.0005198/0.01435, allocations: 0.5654 MB / 0.53 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.01438, allocations: 8.031 kB / 0.53 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.01443, allocations: 128.7 kB / 0.5301 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.514e-05/0.01453, allocations: 241.9 kB / 0.5304 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.972e-05/0.01458, allocations: 244.1 kB / 0.5306 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/0.01462, allocations: 238.8 kB / 0.5308 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.166e-05/0.01468, allocations: 149.4 kB / 0.531 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.0147, allocations: 125.8 kB / 0.5311 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.064e-05/0.01475, allocations: 246.5 kB / 0.5313 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.798e-05/0.0148, allocations: 242.4 kB / 0.5316 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.931e-05/0.01485, allocations: 238.4 kB / 0.5318 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.01505, allocations: 0.5647 MB / 0.5323 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.404e-05/0.01513, allocations: 265.4 kB / 0.5326 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.773e-05/0.01515, allocations: 130.9 kB / 0.5327 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.01518, allocations: 122.1 kB / 0.5328 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.01522, allocations: 152.6 kB / 0.533 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.01522, allocations: 0 / 0.533 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 4.95e-05/0.01527, allocations: 37.66 kB / 0.533 GB, free: 5.238 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001923/0.01546, allocations: 174.5 kB / 0.5332 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.915e-05/0.01556, allocations: 197.8 kB / 0.5334 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.01557, allocations: 25.7 kB / 0.5334 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.412e-05/0.01561, allocations: 139.8 kB / 0.5335 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.102e-06/0.01561, allocations: 0 / 0.5335 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.01564, allocations: 19.38 kB / 0.5335 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.01574, allocations: 0.4932 MB / 0.534 GB, free: 4.141 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/0.01575, allocations: 4 kB / 0.534 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.396e-06/0.01576, allocations: 7.875 kB / 0.534 GB, free: 4.133 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.929e-05/0.01579, allocations: 19.75 kB / 0.5341 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.01579, allocations: 0 / 0.5341 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.097e-05/0.01587, allocations: 53.58 kB / 0.5341 GB, free: 4.051 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.01588, allocations: 4 kB / 0.5341 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.0159, allocations: 4 kB / 0.5341 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.136e-06/0.0159, allocations: 3.938 kB / 0.5341 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.785e-06/0.01591, allocations: 0 / 0.5341 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.01591, allocations: 3.938 kB / 0.5341 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.4e-05/0.01592, allocations: 0 / 0.5341 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.01593, allocations: 7 kB / 0.5341 GB, free: 4.031 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.817e-05/0.01601, allocations: 271.8 kB / 0.5344 GB, free: 3.754 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.01605, allocations: 156.8 kB / 0.5345 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.01609, allocations: 160.6 kB / 0.5347 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-05/0.01614, allocations: 264.1 kB / 0.5349 GB, free: 3.168 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.998e-05/0.01619, allocations: 264.1 kB / 0.5352 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.1e-05/0.01625, allocations: 276 kB / 0.5355 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.0164, allocations: 488.6 kB / 0.5359 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.974e-05/0.01643, allocations: 152.3 kB / 0.5361 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-05/0.01646, allocations: 152.9 kB / 0.5362 GB, free: 1.805 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.245e-05/0.01651, allocations: 268.1 kB / 0.5365 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.263e-05/0.01656, allocations: 268 kB / 0.5367 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.881e-05/0.01661, allocations: 268.1 kB / 0.537 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.298e-05/0.01666, allocations: 268 kB / 0.5372 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.01678, allocations: 459.8 kB / 0.5377 GB, free: 256 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.01682, allocations: 148.8 kB / 0.5378 GB, free: 100 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.039e-05/0.01689, allocations: 272.1 kB / 0.5381 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.152e-05/0.01694, allocations: 156.4 kB / 0.5382 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.01699, allocations: 272.1 kB / 0.5385 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.01702, allocations: 148.8 kB / 0.5386 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.247e-05/0.01707, allocations: 137 kB / 0.5388 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.01707, allocations: 0 / 0.5388 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005399/0.01761, allocations: 302.9 kB / 0.539 GB, free: 14.81 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.0007181/0.01833, allocations: 0.6399 MB / 0.5397 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.364e-05/0.0184, allocations: 45.91 kB / 0.5397 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.0184, allocations: 0.6562 kB / 0.5397 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/0.0184, allocations: 5.5 kB / 0.5397 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.01883, allocations: 0.7142 MB / 0.5404 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002229/0.01905, allocations: 274.4 kB / 0.5407 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.651e-05/0.01908, allocations: 52.45 kB / 0.5407 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.858e-06/0.01909, allocations: 4 kB / 0.5407 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.611e-05/0.01914, allocations: 79.41 kB / 0.5408 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of SimCode: time 8.82e-07/0.01914, allocations: 0 / 0.5408 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of Templates: time 0.008669/0.02781, allocations: 7.368 MB / 0.548 GB, free: 5.766 MB / 0.5105 GB " [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.886105326935649]