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.001424/0.001424, allocations: 88.72 kB / 19.44 MB, free: 356 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.001659/0.001659, allocations: 157.6 kB / 22.75 MB, free: 1.684 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 1.502/1.502, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 1.278/1.278, allocations: 154.6 MB / 414.1 MB, free: 0.6641 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 178] 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 5.921e-06/5.921e-06, allocations: 4 kB / 0.5197 GB, free: 2.461 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.325e-05/3.917e-05, allocations: 3.312 kB / 0.5197 GB, free: 2.457 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003237/0.003276, allocations: 1.435 MB / 0.5211 GB, free: 1.035 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005694/0.00897, allocations: 2.672 MB / 0.5237 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.841e-05/0.009028, allocations: 0 / 0.5237 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.333e-05/0.009062, allocations: 7.922 kB / 0.5237 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.325e-05/0.009155, allocations: 15.86 kB / 0.5238 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.005244/0.0144, allocations: 1.633 MB / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.01452, allocations: 47.67 kB / 0.5254 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.01456, allocations: 10.44 kB / 0.5254 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.637e-05/0.01462, allocations: 23.92 kB / 0.5254 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.459e-05/0.01465, allocations: 11.98 kB / 0.5254 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.01467, allocations: 3.938 kB / 0.5254 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003242/0.01791, allocations: 1.492 MB / 0.5269 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.01793, allocations: 3.984 kB / 0.5269 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.01797, allocations: 15.94 kB / 0.5269 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002872/0.02084, allocations: 1.266 MB / 0.5282 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.02085, allocations: 3.984 kB / 0.5282 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.483e-06/0.02085, allocations: 4 kB / 0.5282 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.02086, allocations: 0 / 0.5282 GB, free: 9.844 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.0009512/0.02181, allocations: 468 kB / 0.5286 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.02185, allocations: 9.594 kB / 0.5286 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.422e-05/0.02195, allocations: 84.17 kB / 0.5287 GB, free: 9.266 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.02213, allocations: 195.2 kB / 0.5289 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002293/0.02236, allocations: 154.9 kB / 0.529 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.673e-05/0.02245, allocations: 158.9 kB / 0.5292 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.918e-05/0.02253, allocations: 105.4 kB / 0.5293 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.246e-05/0.02258, allocations: 75.47 kB / 0.5294 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.02268, allocations: 154.7 kB / 0.5295 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.588e-05/0.02276, allocations: 154.6 kB / 0.5297 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.524e-05/0.02285, allocations: 150.6 kB / 0.5298 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.02323, allocations: 413.6 kB / 0.5302 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.02336, allocations: 173.1 kB / 0.5304 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.586e-05/0.02342, allocations: 84.14 kB / 0.5304 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.271e-05/0.02347, allocations: 83.2 kB / 0.5305 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.013e-05/0.02354, allocations: 105.8 kB / 0.5306 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.02354, allocations: 0.9688 kB / 0.5306 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 0.0001166/0.02366, allocations: 37.59 kB / 0.5307 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.425e-05/0.02375, allocations: 132.5 kB / 0.5308 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.02394, allocations: 133.8 kB / 0.5309 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.02396, allocations: 25.7 kB / 0.5309 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/0.02404, allocations: 96.11 kB / 0.531 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.02404, allocations: 0 / 0.531 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.02408, allocations: 18.38 kB / 0.531 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.02427, allocations: 314.8 kB / 0.5313 GB, free: 6.422 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.003e-05/0.0243, allocations: 8.641 kB / 0.5314 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.825e-05/0.02431, allocations: 4 kB / 0.5314 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.058e-05/0.02437, allocations: 17.39 kB / 0.5314 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.02437, allocations: 1.5 kB / 0.5314 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001772/0.02454, allocations: 53.59 kB / 0.5314 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.02456, allocations: 4 kB / 0.5314 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/0.02459, allocations: 8.047 kB / 0.5314 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.02461, allocations: 8.781 kB / 0.5314 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.02461, allocations: 0 / 0.5314 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.02462, allocations: 1.188 kB / 0.5314 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.643e-05/0.02464, allocations: 3.938 kB / 0.5314 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.02465, allocations: 4 kB / 0.5315 GB, free: 6.305 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.0001408/0.02479, allocations: 186.3 kB / 0.5316 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.589e-05/0.02488, allocations: 108.9 kB / 0.5317 GB, free: 6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.024e-05/0.02496, allocations: 116.7 kB / 0.5318 GB, free: 5.883 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001002/0.02506, allocations: 181.1 kB / 0.532 GB, free: 5.699 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001064/0.02517, allocations: 180.2 kB / 0.5322 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001036/0.02527, allocations: 181.1 kB / 0.5324 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.02558, allocations: 364.9 kB / 0.5327 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.166e-05/0.02564, allocations: 108.9 kB / 0.5328 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.733e-05/0.02569, allocations: 104.6 kB / 0.5329 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.0258, allocations: 180.2 kB / 0.5331 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.0259, allocations: 180.3 kB / 0.5333 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.601e-05/0.02599, allocations: 180.3 kB / 0.5334 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001074/0.0261, allocations: 188.2 kB / 0.5336 GB, free: 3.977 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.02632, allocations: 319.6 kB / 0.5339 GB, free: 3.641 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.373e-05/0.02639, allocations: 108.9 kB / 0.534 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.02651, allocations: 180.3 kB / 0.5342 GB, free: 3.344 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.02662, allocations: 113.2 kB / 0.5343 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.02673, allocations: 183.5 kB / 0.5345 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.58e-05/0.02679, allocations: 109 kB / 0.5346 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.889e-05/0.02688, allocations: 105.6 kB / 0.5347 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.02688, allocations: 0 / 0.5347 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001017/0.0279, allocations: 291 kB / 0.535 GB, free: 2.543 MB / 0.4948 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.00169/0.02959, allocations: 0.5882 MB / 0.5355 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.02972, allocations: 41.69 kB / 0.5356 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.02972, allocations: 1.188 kB / 0.5356 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.505e-06/0.02972, allocations: 0 / 0.5356 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005462/0.03027, allocations: 473.5 kB / 0.536 GB, free: 1.441 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005879/0.03085, allocations: 219.6 kB / 0.5362 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.986e-05/0.03093, allocations: 69.02 kB / 0.5363 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.03095, allocations: 4 kB / 0.5363 GB, free: 1.109 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.03098, allocations: 8.5 kB / 0.5363 GB, free: 1.102 MB / 0.4948 GB Notification: Performance of SimCode: time 8.51e-07/0.03098, allocations: 0.7188 kB / 0.5363 GB, free: 1.102 MB / 0.4948 GB Notification: Performance of Templates: time 0.01371/0.04469, allocations: 5.954 MB / 0.5421 GB, free: 11.34 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.247054290026426]