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.0009144/0.0009144, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008443/0.0008443, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8782/0.8782, allocations: 177.2 MB / 203.5 MB, free: 5.746 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-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 0.7024/0.7024, allocations: 154.6 MB / 414.5 MB, free: 0.8086 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.192e-06/1.192e-06, allocations: 0 / 0.6194 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.462e-05, allocations: 6.219 kB / 0.6194 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001773/0.001798, allocations: 1.433 MB / 0.6208 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003233/0.005031, allocations: 2.68 MB / 0.6235 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.672e-05/0.005078, allocations: 4 kB / 0.6235 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.156e-05/0.005099, allocations: 3.938 kB / 0.6235 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.117e-05/0.00516, allocations: 15.84 kB / 0.6235 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.007661, allocations: 1.654 MB / 0.6251 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.844e-05/0.007739, allocations: 47.69 kB / 0.6251 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.567e-05/0.007775, allocations: 3.984 kB / 0.6251 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.46e-05/0.007809, allocations: 23.92 kB / 0.6252 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.976e-05/0.007829, allocations: 8 kB / 0.6252 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.007842, allocations: 4 kB / 0.6252 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.009231, allocations: 1.485 MB / 0.6266 GB, free: 5.664 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.009248, allocations: 11.94 kB / 0.6266 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.00927, allocations: 11.98 kB / 0.6266 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.01044, allocations: 1.274 MB / 0.6279 GB, free: 4.363 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.01044, allocations: 4 kB / 0.6279 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.193e-06/0.01044, allocations: 0 / 0.6279 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.01045, allocations: 0 / 0.6279 GB, free: 4.359 MB / 0.5886 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.0004656/0.01091, allocations: 481.3 kB / 0.6284 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.01095, allocations: 12.03 kB / 0.6284 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/0.01101, allocations: 80.17 kB / 0.6284 GB, free: 3.77 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.01111, allocations: 189 kB / 0.6286 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.01115, allocations: 154.9 kB / 0.6288 GB, free: 3.406 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.01119, allocations: 150.9 kB / 0.6289 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.208e-05/0.01124, allocations: 101.5 kB / 0.629 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.01126, allocations: 83.47 kB / 0.6291 GB, free: 3.07 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.038e-05/0.0113, allocations: 154.7 kB / 0.6292 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.765e-05/0.01134, allocations: 158.5 kB / 0.6294 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.15e-05/0.01138, allocations: 154.6 kB / 0.6295 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.0116, allocations: 421.5 kB / 0.6299 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.678e-05/0.01166, allocations: 169.1 kB / 0.6301 GB, free: 1.992 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.551e-05/0.01169, allocations: 80.14 kB / 0.6302 GB, free: 1.91 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.01171, allocations: 75.28 kB / 0.6303 GB, free: 1.836 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.01175, allocations: 109.8 kB / 0.6304 GB, free: 1.719 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.01175, allocations: 0 / 0.6304 GB, free: 1.719 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 6.342e-05/0.01181, allocations: 41.58 kB / 0.6304 GB, free: 1.672 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.01186, allocations: 134.6 kB / 0.6305 GB, free: 1.527 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.01197, allocations: 135.5 kB / 0.6307 GB, free: 1.387 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.01198, allocations: 25.7 kB / 0.6307 GB, free: 1.355 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.01203, allocations: 92.14 kB / 0.6308 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-06/0.01203, allocations: 0 / 0.6308 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/0.01206, allocations: 17.7 kB / 0.6308 GB, free: 1.238 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.258e-05/0.01214, allocations: 318.8 kB / 0.6311 GB, free: 0.918 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.164e-05/0.01216, allocations: 7.938 kB / 0.6311 GB, free: 0.9102 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.307e-05/0.01217, allocations: 8 kB / 0.6311 GB, free: 0.9023 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.369e-05/0.01221, allocations: 12.84 kB / 0.6311 GB, free: 0.8867 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01221, allocations: 4.031 kB / 0.6311 GB, free: 0.8828 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001064/0.01232, allocations: 57.58 kB / 0.6312 GB, free: 0.8203 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.01233, allocations: 4 kB / 0.6312 GB, free: 0.8164 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.01235, allocations: 4 kB / 0.6312 GB, free: 0.8125 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.01236, allocations: 3.938 kB / 0.6312 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.01236, allocations: 0 / 0.6312 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.01237, allocations: 0 / 0.6312 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.562e-05/0.01238, allocations: 8 kB / 0.6312 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.01239, allocations: 8.047 kB / 0.6312 GB, free: 0.793 MB / 0.5886 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.09e-05/0.01246, allocations: 182.1 kB / 0.6314 GB, free: 0.6055 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.01251, allocations: 113 kB / 0.6315 GB, free: 500 kB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/0.01254, allocations: 112.7 kB / 0.6316 GB, free: 384 kB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.276e-05/0.01258, allocations: 180.2 kB / 0.6318 GB, free: 196 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.431e-05/0.01263, allocations: 188.2 kB / 0.6319 GB, free: 0 / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.324e-05/0.01267, allocations: 180.3 kB / 0.6321 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.01281, allocations: 360.8 kB / 0.6325 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.744e-05/0.01283, allocations: 104.9 kB / 0.6326 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.01286, allocations: 101 kB / 0.6327 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.776e-05/0.01291, allocations: 192.2 kB / 0.6328 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/0.01295, allocations: 176.3 kB / 0.633 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.982e-05/0.01299, allocations: 176.3 kB / 0.6332 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.062e-05/0.01303, allocations: 196.2 kB / 0.6334 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.046e-05/0.01312, allocations: 311.7 kB / 0.6337 GB, free: 14.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.01316, allocations: 112.9 kB / 0.6338 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.911e-05/0.01321, allocations: 176.3 kB / 0.6339 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.761e-05/0.01325, allocations: 109.2 kB / 0.634 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.0133, allocations: 184.2 kB / 0.6342 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.01333, allocations: 109 kB / 0.6343 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.848e-05/0.01338, allocations: 105.8 kB / 0.6344 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.01338, allocations: 0 / 0.6344 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004517/0.01383, allocations: 295 kB / 0.6347 GB, free: 13.03 MB / 0.6042 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.0007717/0.0146, allocations: 0.587 MB / 0.6353 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.096e-05/0.01469, allocations: 37.7 kB / 0.6353 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.0147, allocations: 0 / 0.6353 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.0147, allocations: 0 / 0.6353 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.01499, allocations: 475.7 kB / 0.6358 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.01525, allocations: 241.8 kB / 0.636 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.502e-05/0.0153, allocations: 75.27 kB / 0.6361 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.387e-05/0.01531, allocations: 8.5 kB / 0.6361 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of SimCode: time 5.31e-07/0.01531, allocations: 0 / 0.6361 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of Templates: time 0.005194/0.02051, allocations: 4.993 MB / 0.6409 GB, free: 6.551 MB / 0.6042 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: 5.830968188121915] Failed to read output from testmodel.py, exit status != 0: 0.026329023763537407 0.03695212899999994 0.02471950199999994 Calling exit ...