Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001652/0.001652, allocations: 79.83 kB / 19.18 MB, free: 2.516 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.001812/0.001812, allocations: 165.1 kB / 22.46 MB, free: 5.375 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.47/1.47, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.185/1.185, allocations: 154.6 MB / 413.7 MB, free: 5.293 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.6186 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.812e-05, allocations: 7.984 kB / 0.6186 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002576/0.002604, allocations: 1.424 MB / 0.62 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004562/0.007166, allocations: 2.692 MB / 0.6226 GB, free: 428 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.491e-05/0.007221, allocations: 0 / 0.6226 GB, free: 428 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.334e-05/0.007254, allocations: 7.922 kB / 0.6226 GB, free: 420 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.706e-05/0.007321, allocations: 19.8 kB / 0.6227 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004545/0.01187, allocations: 1.645 MB / 0.6243 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.01198, allocations: 51.55 kB / 0.6243 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.589e-05/0.01203, allocations: 7.906 kB / 0.6243 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.659e-05/0.01207, allocations: 19.98 kB / 0.6243 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.839e-05/0.01211, allocations: 19.92 kB / 0.6244 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.01213, allocations: 3.984 kB / 0.6244 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00252/0.01465, allocations: 1.485 MB / 0.6258 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.01466, allocations: 3.984 kB / 0.6258 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.0147, allocations: 15.94 kB / 0.6258 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.0166, allocations: 1.267 MB / 0.6271 GB, free: 11.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.01661, allocations: 0 / 0.6271 GB, free: 11.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.443e-06/0.01661, allocations: 0 / 0.6271 GB, free: 11.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.01661, allocations: 4 kB / 0.6271 GB, free: 11.89 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.000699/0.01731, allocations: 472 kB / 0.6275 GB, free: 11.39 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.01736, allocations: 8.031 kB / 0.6275 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.972e-05/0.01742, allocations: 84.16 kB / 0.6276 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.0176, allocations: 204.9 kB / 0.6278 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.333e-05/0.01767, allocations: 150.9 kB / 0.628 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.529e-05/0.01774, allocations: 154.9 kB / 0.6281 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.855e-05/0.01782, allocations: 105.5 kB / 0.6282 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/0.01785, allocations: 75.47 kB / 0.6283 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.804e-05/0.01792, allocations: 158.6 kB / 0.6284 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.775e-05/0.01799, allocations: 158.5 kB / 0.6286 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.576e-05/0.01805, allocations: 154.6 kB / 0.6287 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.01838, allocations: 413.6 kB / 0.6291 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.01849, allocations: 173.1 kB / 0.6293 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.445e-05/0.01854, allocations: 84.14 kB / 0.6294 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.01857, allocations: 79.22 kB / 0.6294 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.774e-05/0.01863, allocations: 105.8 kB / 0.6295 GB, free: 9.238 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.01863, allocations: 0 / 0.6295 GB, free: 9.238 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 9.636e-05/0.01873, allocations: 33.66 kB / 0.6296 GB, free: 9.199 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.758e-05/0.01881, allocations: 130.6 kB / 0.6297 GB, free: 9.059 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.01897, allocations: 140.2 kB / 0.6298 GB, free: 8.914 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.01899, allocations: 25.7 kB / 0.6299 GB, free: 8.883 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.01906, allocations: 88.12 kB / 0.6299 GB, free: 8.793 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.01906, allocations: 0 / 0.6299 GB, free: 8.793 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.0191, allocations: 21.72 kB / 0.63 GB, free: 8.766 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.01924, allocations: 318.8 kB / 0.6303 GB, free: 8.445 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.422e-05/0.01926, allocations: 4 kB / 0.6303 GB, free: 8.441 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.01928, allocations: 7.938 kB / 0.6303 GB, free: 8.434 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.44e-05/0.01934, allocations: 16.86 kB / 0.6303 GB, free: 8.414 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.01934, allocations: 0 / 0.6303 GB, free: 8.414 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000144/0.01948, allocations: 45.66 kB / 0.6303 GB, free: 8.363 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.0195, allocations: 16.05 kB / 0.6303 GB, free: 8.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.01953, allocations: 0 / 0.6303 GB, free: 8.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.01955, allocations: 7.938 kB / 0.6304 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.01955, allocations: 0 / 0.6304 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.01955, allocations: 0 / 0.6304 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.265e-05/0.01958, allocations: 3.938 kB / 0.6304 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.01958, allocations: 0 / 0.6304 GB, free: 8.336 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.0001138/0.01969, allocations: 190.1 kB / 0.6305 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.305e-05/0.01977, allocations: 112.9 kB / 0.6306 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.18e-05/0.01983, allocations: 108.8 kB / 0.6308 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.231e-05/0.01991, allocations: 192.1 kB / 0.6309 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.482e-05/0.01999, allocations: 176.3 kB / 0.6311 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.778e-05/0.02006, allocations: 180.3 kB / 0.6313 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.0203, allocations: 368.9 kB / 0.6316 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.153e-05/0.02035, allocations: 116.8 kB / 0.6317 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.02039, allocations: 104.9 kB / 0.6318 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-05/0.02047, allocations: 176.3 kB / 0.632 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.983e-05/0.02055, allocations: 184.3 kB / 0.6322 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.238e-05/0.02064, allocations: 180.2 kB / 0.6324 GB, free: 6.168 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.742e-05/0.02071, allocations: 188.2 kB / 0.6325 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.02091, allocations: 307.7 kB / 0.6328 GB, free: 5.652 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.095e-05/0.02097, allocations: 117.2 kB / 0.6329 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-05/0.02106, allocations: 184.2 kB / 0.6331 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.681e-05/0.02115, allocations: 101 kB / 0.6332 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.789e-05/0.02124, allocations: 192.2 kB / 0.6334 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/0.02128, allocations: 101 kB / 0.6335 GB, free: 4.938 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.573e-05/0.02135, allocations: 101.6 kB / 0.6336 GB, free: 4.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.02135, allocations: 0 / 0.6336 GB, free: 4.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008502/0.0222, allocations: 295 kB / 0.6339 GB, free: 4.551 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.001225/0.02342, allocations: 0.587 MB / 0.6344 GB, free: 3.953 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.02355, allocations: 49.62 kB / 0.6345 GB, free: 3.898 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.02355, allocations: 0 / 0.6345 GB, free: 3.898 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.02355, allocations: 0 / 0.6345 GB, free: 3.898 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.024, allocations: 467.1 kB / 0.6349 GB, free: 3.441 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.02437, allocations: 238.3 kB / 0.6352 GB, free: 3.184 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.067e-05/0.02444, allocations: 63.59 kB / 0.6352 GB, free: 3.102 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.217e-05/0.02445, allocations: 0 / 0.6352 GB, free: 3.102 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.752e-05/0.02447, allocations: 12.5 kB / 0.6352 GB, free: 3.09 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.02447, allocations: 0 / 0.6352 GB, free: 3.09 MB / 0.545 GB Notification: Performance of Templates: time 0.01128/0.03576, allocations: 5.884 MB / 0.641 GB, free: 13.26 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.099252637475729] Failed to read output from testmodel.py, exit status != 0: 0.04496494680643082 0.059571555000000005 0.039865443 Calling exit ...