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.001637/0.001637, allocations: 80.14 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.001901/0.001901, allocations: 159.4 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.456/1.456, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.232/1.232, 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.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 2.124e-06/2.124e-06, allocations: 0 / 0.6187 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.533e-05/3.745e-05, allocations: 4.672 kB / 0.6187 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002879/0.002917, allocations: 1.435 MB / 0.6201 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004674/0.007591, allocations: 2.691 MB / 0.6227 GB, free: 336 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.336e-05/0.007634, allocations: 7.938 kB / 0.6227 GB, free: 328 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.24e-05/0.007656, allocations: 3.984 kB / 0.6227 GB, free: 324 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.416e-05/0.00771, allocations: 15.86 kB / 0.6227 GB, free: 308 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004012/0.01172, allocations: 1.645 MB / 0.6243 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.551e-05/0.01182, allocations: 43.67 kB / 0.6244 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.01185, allocations: 4 kB / 0.6244 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.381e-05/0.0119, allocations: 19.92 kB / 0.6244 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.706e-05/0.01193, allocations: 11.98 kB / 0.6244 GB, free: 14.6 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.01195, allocations: 4 kB / 0.6244 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00252/0.01447, allocations: 1.493 MB / 0.6259 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.01448, allocations: 4 kB / 0.6259 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.01452, allocations: 15.92 kB / 0.6259 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002129/0.01665, allocations: 1.27 MB / 0.6271 GB, free: 11.8 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.01666, allocations: 0 / 0.6271 GB, free: 11.8 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.013e-06/0.01666, allocations: 0 / 0.6271 GB, free: 11.8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.01667, allocations: 0 / 0.6271 GB, free: 11.8 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.0007979/0.01747, allocations: 477.7 kB / 0.6276 GB, free: 11.31 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.01753, allocations: 12.03 kB / 0.6276 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.689e-05/0.01759, allocations: 80.16 kB / 0.6277 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.01777, allocations: 200.9 kB / 0.6279 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.488e-05/0.01784, allocations: 150.9 kB / 0.628 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-05/0.01792, allocations: 154.9 kB / 0.6282 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.699e-05/0.01801, allocations: 105.5 kB / 0.6283 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.95e-05/0.01805, allocations: 79.47 kB / 0.6283 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.211e-05/0.01813, allocations: 154.7 kB / 0.6285 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.147e-05/0.01819, allocations: 150.6 kB / 0.6286 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.875e-05/0.01827, allocations: 158.5 kB / 0.6288 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.01862, allocations: 413.6 kB / 0.6292 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.01874, allocations: 165.1 kB / 0.6293 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.261e-05/0.01878, allocations: 80.14 kB / 0.6294 GB, free: 9.363 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.932e-05/0.01882, allocations: 79.28 kB / 0.6295 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.394e-05/0.01889, allocations: 121.8 kB / 0.6296 GB, free: 9.156 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.143e-06/0.01889, allocations: 0 / 0.6296 GB, free: 9.156 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.436e-05/0.01898, allocations: 33.59 kB / 0.6296 GB, free: 9.117 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.557e-05/0.01906, allocations: 134.6 kB / 0.6298 GB, free: 8.973 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.01922, allocations: 132.1 kB / 0.6299 GB, free: 8.836 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.01924, allocations: 25.7 kB / 0.6299 GB, free: 8.805 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/0.01931, allocations: 92.14 kB / 0.63 GB, free: 8.711 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-06/0.01931, allocations: 0 / 0.63 GB, free: 8.711 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.01935, allocations: 21.7 kB / 0.63 GB, free: 8.684 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.01951, allocations: 314.8 kB / 0.6303 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.935e-05/0.01954, allocations: 12 kB / 0.6303 GB, free: 8.355 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.925e-05/0.01956, allocations: 7.984 kB / 0.6303 GB, free: 8.348 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.147e-05/0.0196, allocations: 12.86 kB / 0.6304 GB, free: 8.332 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.01961, allocations: 3.938 kB / 0.6304 GB, free: 8.328 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001522/0.01976, allocations: 49.66 kB / 0.6304 GB, free: 8.273 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.01977, allocations: 4 kB / 0.6304 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/0.0198, allocations: 4 kB / 0.6304 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.01982, allocations: 7.922 kB / 0.6304 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.01982, allocations: 0 / 0.6304 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.01982, allocations: 0 / 0.6304 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.932e-05/0.01985, allocations: 12.06 kB / 0.6304 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.01986, allocations: 4 kB / 0.6304 GB, free: 8.242 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.0001142/0.01998, allocations: 182.1 kB / 0.6306 GB, free: 8.055 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.365e-05/0.02006, allocations: 116.8 kB / 0.6307 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.165e-05/0.02012, allocations: 112.8 kB / 0.6308 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.322e-05/0.02021, allocations: 184.2 kB / 0.631 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.8e-05/0.0203, allocations: 180.2 kB / 0.6312 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.073e-05/0.02039, allocations: 180.3 kB / 0.6313 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.02065, allocations: 368.8 kB / 0.6317 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.329e-05/0.0207, allocations: 101 kB / 0.6318 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.69e-05/0.02075, allocations: 109 kB / 0.6319 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-05/0.02084, allocations: 184.2 kB / 0.6321 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.651e-05/0.02092, allocations: 176.3 kB / 0.6322 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001085/0.02103, allocations: 184.2 kB / 0.6324 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.943e-05/0.02111, allocations: 188.2 kB / 0.6326 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.0213, allocations: 307.7 kB / 0.6329 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.02135, allocations: 109.2 kB / 0.633 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.02146, allocations: 180.2 kB / 0.6332 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.816e-05/0.02156, allocations: 113 kB / 0.6333 GB, free: 5.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.719e-05/0.02166, allocations: 184.2 kB / 0.6335 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.453e-05/0.02171, allocations: 108.9 kB / 0.6336 GB, free: 4.859 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.837e-05/0.02179, allocations: 103.3 kB / 0.6337 GB, free: 4.758 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.02179, allocations: 0 / 0.6337 GB, free: 4.758 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001017/0.02281, allocations: 299 kB / 0.6339 GB, free: 4.465 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.001341/0.02415, allocations: 0.5891 MB / 0.6345 GB, free: 3.871 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.02427, allocations: 49.62 kB / 0.6346 GB, free: 3.816 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.02427, allocations: 0 / 0.6346 GB, free: 3.816 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.759e-06/0.02427, allocations: 3.938 kB / 0.6346 GB, free: 3.812 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.02473, allocations: 461.9 kB / 0.635 GB, free: 3.359 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.02515, allocations: 220 kB / 0.6352 GB, free: 3.117 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.243e-05/0.02522, allocations: 71.33 kB / 0.6353 GB, free: 3.027 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.324e-05/0.02523, allocations: 4.062 kB / 0.6353 GB, free: 3.023 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.675e-05/0.02525, allocations: 8.5 kB / 0.6353 GB, free: 3.016 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.02525, allocations: 0 / 0.6353 GB, free: 3.016 MB / 0.545 GB Notification: Performance of Templates: time 0.0117/0.03695, allocations: 5.906 MB / 0.6411 GB, free: 13.17 MB / 0.5606 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.0655538737773895] Failed to read output from testmodel.py, exit status != 0: 0.04695674031972885 0.062356809000000006 0.042239486 Calling exit ...