Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.001619/0.001619, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001896/0.001896, allocations: 166 kB / 22.46 MB, free: 5.355 MB / 14.72 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.453/1.453, allocations: 177.2 MB / 202.8 MB, free: 9.195 MB / 190.1 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-531:686: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-531:694: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.23/1.23, allocations: 154.6 MB / 413.8 MB, free: 5.223 MB / 382.1 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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.388e-06/4.388e-06, allocations: 4 kB / 0.6187 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.569e-05, allocations: 3.562 kB / 0.6187 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003065/0.0031, allocations: 1.431 MB / 0.6201 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005515/0.008615, allocations: 2.649 MB / 0.6227 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.307e-05/0.008688, allocations: 0 / 0.6227 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.473e-05/0.008723, allocations: 3.984 kB / 0.6227 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.06e-05/0.008813, allocations: 11.88 kB / 0.6227 GB, free: 388 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00522/0.01403, allocations: 1.632 MB / 0.6243 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.01416, allocations: 35.69 kB / 0.6243 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.348e-05/0.01421, allocations: 11.98 kB / 0.6243 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.671e-05/0.01427, allocations: 11.98 kB / 0.6243 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.563e-05/0.0143, allocations: 15.92 kB / 0.6243 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.01432, allocations: 4 kB / 0.6243 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003215/0.01753, allocations: 1.454 MB / 0.6258 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.01756, allocations: 7.984 kB / 0.6258 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.0176, allocations: 11.94 kB / 0.6258 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00281/0.02041, allocations: 1.235 MB / 0.627 GB, free: 11.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.02042, allocations: 4 kB / 0.627 GB, free: 11.97 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.02042, allocations: 0 / 0.627 GB, free: 11.97 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.02042, allocations: 0 / 0.627 GB, free: 11.97 MB / 0.545 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.0009257/0.02135, allocations: 468.1 kB / 0.6274 GB, free: 11.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.0214, allocations: 12.02 kB / 0.6274 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.051e-05/0.02148, allocations: 92.17 kB / 0.6275 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.02166, allocations: 195.1 kB / 0.6277 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-05/0.02174, allocations: 150.9 kB / 0.6279 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-05/0.02183, allocations: 150.9 kB / 0.628 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.254e-05/0.02192, allocations: 105.5 kB / 0.6281 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.137e-05/0.02197, allocations: 75.47 kB / 0.6282 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-05/0.02204, allocations: 154.7 kB / 0.6283 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.974e-05/0.02212, allocations: 154.5 kB / 0.6285 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.546e-05/0.02221, allocations: 158.6 kB / 0.6286 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.02261, allocations: 417.5 kB / 0.629 GB, free: 9.789 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.02274, allocations: 173.1 kB / 0.6292 GB, free: 9.609 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.878e-05/0.0228, allocations: 80.14 kB / 0.6293 GB, free: 9.527 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.053e-05/0.02285, allocations: 79.28 kB / 0.6293 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.088e-05/0.02292, allocations: 109.8 kB / 0.6294 GB, free: 9.332 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.02292, allocations: 0 / 0.6294 GB, free: 9.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001437/0.02307, allocations: 37.59 kB / 0.6295 GB, free: 9.289 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.556e-05/0.02315, allocations: 130.6 kB / 0.6296 GB, free: 9.148 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.02335, allocations: 129.8 kB / 0.6297 GB, free: 9.012 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.02337, allocations: 25.7 kB / 0.6298 GB, free: 8.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.695e-05/0.02346, allocations: 96.08 kB / 0.6298 GB, free: 8.883 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-06/0.02346, allocations: 0 / 0.6298 GB, free: 8.883 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.02351, allocations: 21.72 kB / 0.6299 GB, free: 8.855 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.02369, allocations: 322.8 kB / 0.6302 GB, free: 8.531 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.411e-05/0.02373, allocations: 4 kB / 0.6302 GB, free: 8.527 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.102e-05/0.02375, allocations: 4 kB / 0.6302 GB, free: 8.523 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.237e-05/0.02379, allocations: 8.859 kB / 0.6302 GB, free: 8.512 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.02379, allocations: 4 kB / 0.6302 GB, free: 8.508 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001531/0.02394, allocations: 49.62 kB / 0.6302 GB, free: 8.453 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.02396, allocations: 6.344 kB / 0.6302 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/0.02399, allocations: 4 kB / 0.6303 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.02401, allocations: 3.938 kB / 0.6303 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.02401, allocations: 4.062 kB / 0.6303 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.02401, allocations: 3.984 kB / 0.6303 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.714e-05/0.02404, allocations: 3.953 kB / 0.6303 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.02405, allocations: 4 kB / 0.6303 GB, free: 8.426 MB / 0.545 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.0001321/0.02418, allocations: 182.1 kB / 0.6304 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.452e-05/0.02427, allocations: 113 kB / 0.6306 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.884e-05/0.02435, allocations: 112.7 kB / 0.6307 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-05/0.02443, allocations: 180.2 kB / 0.6308 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.152e-05/0.02453, allocations: 180.2 kB / 0.631 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.473e-05/0.02462, allocations: 180.3 kB / 0.6312 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.02491, allocations: 376.8 kB / 0.6315 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-05/0.02496, allocations: 104.9 kB / 0.6316 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-05/0.02502, allocations: 104.9 kB / 0.6317 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.806e-05/0.02512, allocations: 180.2 kB / 0.6319 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.068e-05/0.02521, allocations: 180.3 kB / 0.6321 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.564e-05/0.0253, allocations: 184.2 kB / 0.6323 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.386e-05/0.0254, allocations: 192.2 kB / 0.6324 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.02558, allocations: 303.7 kB / 0.6327 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.905e-05/0.02565, allocations: 108.9 kB / 0.6328 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.532e-05/0.02574, allocations: 188.5 kB / 0.633 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.02585, allocations: 105 kB / 0.6331 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.562e-05/0.02594, allocations: 188.2 kB / 0.6333 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.416e-05/0.026, allocations: 104.9 kB / 0.6334 GB, free: 5.043 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.982e-05/0.02608, allocations: 95.27 kB / 0.6335 GB, free: 4.949 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.02608, allocations: 0 / 0.6335 GB, free: 4.949 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009188/0.02699, allocations: 298.9 kB / 0.6338 GB, free: 4.656 MB / 0.545 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.001439/0.02843, allocations: 0.5682 MB / 0.6343 GB, free: 4.082 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001093/0.02854, allocations: 37.7 kB / 0.6344 GB, free: 4.039 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/0.02856, allocations: 4 kB / 0.6344 GB, free: 4.035 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.745e-06/0.02856, allocations: 0 / 0.6344 GB, free: 4.035 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004746/0.02903, allocations: 475.5 kB / 0.6348 GB, free: 3.566 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.02944, allocations: 223.9 kB / 0.635 GB, free: 3.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.811e-05/0.02952, allocations: 67.33 kB / 0.6351 GB, free: 3.234 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.468e-05/0.02953, allocations: 4.062 kB / 0.6351 GB, free: 3.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.02955, allocations: 12.5 kB / 0.6351 GB, free: 3.219 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.02955, allocations: 0 / 0.6351 GB, free: 3.219 MB / 0.545 GB Notification: Performance of Templates: time 0.01252/0.04207, allocations: 5.73 MB / 0.6407 GB, free: 13.55 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.11922412365675] Failed to read output from testmodel.py, exit status != 0: 0.0523827001452446 0.069396172 0.045324052000000004 Calling exit ...