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.0008522/0.0008522, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0008119/0.0008119, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8657/0.8657, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.6808/0.6808, allocations: 154.6 MB / 414.5 MB, free: 0.8008 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 2.074e-06/2.074e-06, allocations: 0 / 0.6194 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.039e-05/3.246e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002036/0.002068, allocations: 1.434 MB / 0.6208 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003593/0.005661, allocations: 2.688 MB / 0.6235 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.97e-05/0.005721, allocations: 0 / 0.6235 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.005748, allocations: 3.938 kB / 0.6235 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.948e-05/0.005818, allocations: 23.78 kB / 0.6235 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002973/0.008791, allocations: 1.641 MB / 0.6251 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.51e-05/0.008876, allocations: 51.61 kB / 0.6251 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.689e-05/0.008913, allocations: 7.984 kB / 0.6251 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.008953, allocations: 19.98 kB / 0.6252 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.442e-05/0.008977, allocations: 15.92 kB / 0.6252 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.008989, allocations: 0 / 0.6252 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001712/0.0107, allocations: 1.489 MB / 0.6266 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.01071, allocations: 0 / 0.6266 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.428e-05/0.01074, allocations: 15.94 kB / 0.6266 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.01182, allocations: 1.27 MB / 0.6279 GB, free: 4.41 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.01183, allocations: 4 kB / 0.6279 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.273e-06/0.01183, allocations: 0 / 0.6279 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.01183, allocations: 0 / 0.6279 GB, free: 4.406 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.0003933/0.01223, allocations: 477.3 kB / 0.6283 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.01226, allocations: 8.031 kB / 0.6284 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.01231, allocations: 88.17 kB / 0.6284 GB, free: 3.816 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.453e-05/0.01241, allocations: 189 kB / 0.6286 GB, free: 3.605 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.174e-05/0.01245, allocations: 154.9 kB / 0.6288 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.01249, allocations: 154.9 kB / 0.6289 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.949e-05/0.01254, allocations: 101.5 kB / 0.629 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.01256, allocations: 75.47 kB / 0.6291 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.01259, allocations: 158.7 kB / 0.6292 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/0.01262, allocations: 154.5 kB / 0.6294 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.724e-05/0.01266, allocations: 158.6 kB / 0.6295 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.01285, allocations: 421.5 kB / 0.6299 GB, free: 2.215 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.049e-05/0.01291, allocations: 173.1 kB / 0.6301 GB, free: 2.035 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.23e-05/0.01293, allocations: 84.14 kB / 0.6302 GB, free: 1.949 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.01295, allocations: 79.27 kB / 0.6303 GB, free: 1.871 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.01298, allocations: 105.8 kB / 0.6304 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.01298, allocations: 0 / 0.6304 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.805e-05/0.01304, allocations: 37.59 kB / 0.6304 GB, free: 1.715 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.01308, allocations: 134.6 kB / 0.6305 GB, free: 1.57 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.01319, allocations: 137.7 kB / 0.6307 GB, free: 1.426 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.0132, allocations: 25.7 kB / 0.6307 GB, free: 1.395 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.01324, allocations: 96.11 kB / 0.6308 GB, free: 1.297 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-06/0.01324, allocations: 0 / 0.6308 GB, free: 1.297 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.01327, allocations: 17.72 kB / 0.6308 GB, free: 1.273 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.663e-05/0.01334, allocations: 318.8 kB / 0.6311 GB, free: 0.9531 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.331e-05/0.01337, allocations: 4 kB / 0.6311 GB, free: 0.9492 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.234e-05/0.01338, allocations: 4 kB / 0.6311 GB, free: 0.9453 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.61e-05/0.01341, allocations: 16.86 kB / 0.6311 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01342, allocations: 0 / 0.6311 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.779e-05/0.01351, allocations: 57.61 kB / 0.6312 GB, free: 0.8633 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.01353, allocations: 9.719 kB / 0.6312 GB, free: 0.8555 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.01354, allocations: 0 / 0.6312 GB, free: 0.8555 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.01356, allocations: 7.938 kB / 0.6312 GB, free: 0.8477 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.01356, allocations: 0 / 0.6312 GB, free: 0.8477 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.01356, allocations: 0 / 0.6312 GB, free: 0.8477 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.374e-05/0.01357, allocations: 0 / 0.6312 GB, free: 0.8477 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.01358, allocations: 0 / 0.6312 GB, free: 0.8477 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 6.676e-05/0.01365, allocations: 190.1 kB / 0.6314 GB, free: 0.6523 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.01368, allocations: 112.9 kB / 0.6315 GB, free: 0.5352 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/0.01371, allocations: 112.8 kB / 0.6316 GB, free: 432 kB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.855e-05/0.01375, allocations: 184.3 kB / 0.6318 GB, free: 240 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.243e-05/0.0138, allocations: 188.2 kB / 0.6319 GB, free: 44 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.854e-05/0.01384, allocations: 176.3 kB / 0.6321 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.01397, allocations: 364.8 kB / 0.6325 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.273e-05/0.01399, allocations: 108.9 kB / 0.6326 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.01402, allocations: 104.9 kB / 0.6327 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.149e-05/0.01406, allocations: 184.2 kB / 0.6328 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/0.0141, allocations: 180.3 kB / 0.633 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-05/0.01413, allocations: 180.2 kB / 0.6332 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003057/0.01444, allocations: 188.2 kB / 0.6334 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.77e-05/0.01453, allocations: 311.7 kB / 0.6337 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.01456, allocations: 116.9 kB / 0.6338 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.01461, allocations: 176.3 kB / 0.6339 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.635e-05/0.01465, allocations: 109.2 kB / 0.634 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.01469, allocations: 184.2 kB / 0.6342 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-05/0.01472, allocations: 109 kB / 0.6343 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.138e-05/0.01476, allocations: 103.2 kB / 0.6344 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.01476, allocations: 0 / 0.6344 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004011/0.01516, allocations: 295 kB / 0.6347 GB, free: 13.07 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.0007216/0.01588, allocations: 0.5831 MB / 0.6353 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.12e-05/0.01596, allocations: 41.7 kB / 0.6353 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01597, allocations: 0 / 0.6353 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.01597, allocations: 0 / 0.6353 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.01623, allocations: 462.2 kB / 0.6357 GB, free: 11.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002541/0.01649, allocations: 257.7 kB / 0.636 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.95e-05/0.01652, allocations: 63.34 kB / 0.6361 GB, free: 11.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.242e-05/0.01654, allocations: 12.5 kB / 0.6361 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/0.01654, allocations: 0 / 0.6361 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.004988/0.02153, allocations: 4.996 MB / 0.6409 GB, free: 6.598 MB / 0.6042 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.961421056650579] Failed to read output from testmodel.py, exit status != 0: 0.027821934781968594 0.035116187 0.021393509 Calling exit ...