Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00132/0.00132, allocations: 84.44 kB / 19.76 MB, free: 2.023 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.001443/0.001443, allocations: 154.3 kB / 23 MB, free: 4.961 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.394/1.394, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002459/0.002459, allocations: 241.8 kB / 260 MB, free: 436 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.9344/0.9344, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003092/0.003092, allocations: 95.84 kB / 0.6474 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3935, allocations: 95.34 MB / 0.7405 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002185/0.3957, allocations: 1.449 MB / 0.7419 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003603/0.3993, allocations: 2.662 MB / 0.7445 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.849e-05/0.3993, allocations: 0 / 0.7445 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.3994, allocations: 6.047 kB / 0.7445 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.655e-05/0.3994, allocations: 16.52 kB / 0.7446 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003585/0.403, allocations: 1.651 MB / 0.7462 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.578e-05/0.4031, allocations: 46.44 kB / 0.7462 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.33e-05/0.4031, allocations: 2.422 kB / 0.7462 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 2.428e-05/0.4031, allocations: 17.89 kB / 0.7462 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 2.773e-05/0.4032, allocations: 18.7 kB / 0.7463 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.788e-06/0.4032, allocations: 0 / 0.7463 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002207/0.4054, allocations: 1.483 MB / 0.7477 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.4054, allocations: 2.281 kB / 0.7477 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.4054, allocations: 21.09 kB / 0.7477 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.4069, allocations: 1.104 MB / 0.7488 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.407, allocations: 0 / 0.7488 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.333e-06/0.407, allocations: 0 / 0.7488 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.407, allocations: 4 kB / 0.7488 GB, free: 13.23 MB / 0.5919 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.0005302/0.4075, allocations: 472.1 kB / 0.7493 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.4075, allocations: 9.844 kB / 0.7493 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.4076, allocations: 82.95 kB / 0.7493 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.353e-05/0.4076, allocations: 192.6 kB / 0.7495 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.4077, allocations: 152.6 kB / 0.7497 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.4077, allocations: 152 kB / 0.7498 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.08e-05/0.4077, allocations: 110.6 kB / 0.7499 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.4078, allocations: 79.97 kB / 0.75 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.4078, allocations: 155.9 kB / 0.7502 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.4078, allocations: 155.6 kB / 0.7503 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.426e-05/0.4078, allocations: 156 kB / 0.7505 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.408, allocations: 412.7 kB / 0.7508 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.334e-05/0.408, allocations: 175.4 kB / 0.751 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.44e-05/0.4081, allocations: 80.14 kB / 0.7511 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.4081, allocations: 76.88 kB / 0.7512 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.4081, allocations: 108.1 kB / 0.7513 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.4081, allocations: 0 / 0.7513 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 6.483e-05/0.4082, allocations: 37.55 kB / 0.7513 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.4082, allocations: 130.7 kB / 0.7514 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.4083, allocations: 136.5 kB / 0.7516 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.333e-06/0.4083, allocations: 29.7 kB / 0.7516 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.4083, allocations: 96.67 kB / 0.7517 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.4083, allocations: 1.312 kB / 0.7517 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.4084, allocations: 15.92 kB / 0.7517 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.101e-05/0.4084, allocations: 318.5 kB / 0.752 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.4084, allocations: 3.344 kB / 0.752 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.656e-05/0.4084, allocations: 8.625 kB / 0.752 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.46e-05/0.4085, allocations: 15.56 kB / 0.752 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4085, allocations: 0 / 0.752 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001229/0.4086, allocations: 51.08 kB / 0.7521 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4086, allocations: 16.73 kB / 0.7521 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.4086, allocations: 4.266 kB / 0.7521 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.4087, allocations: 5.188 kB / 0.7521 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.4087, allocations: 0 / 0.7521 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.4087, allocations: 0.7031 kB / 0.7521 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.252e-05/0.4087, allocations: 1.5 kB / 0.7521 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.4087, allocations: 1.312 kB / 0.7521 GB, free: 9.902 MB / 0.5919 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 5.734e-05/0.4088, allocations: 184.7 kB / 0.7523 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.4088, allocations: 116.9 kB / 0.7524 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.4088, allocations: 115.3 kB / 0.7525 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.4088, allocations: 186.4 kB / 0.7527 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.432e-05/0.4089, allocations: 180 kB / 0.7528 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-05/0.4089, allocations: 180.8 kB / 0.753 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.409, allocations: 369.6 kB / 0.7534 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.409, allocations: 106.7 kB / 0.7535 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.611e-05/0.409, allocations: 102.8 kB / 0.7536 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-05/0.4091, allocations: 178.1 kB / 0.7537 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.4091, allocations: 191.3 kB / 0.7539 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.809e-05/0.4091, allocations: 182.4 kB / 0.7541 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-05/0.4091, allocations: 182.1 kB / 0.7543 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.347e-05/0.4092, allocations: 308.5 kB / 0.7546 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.781e-05/0.4092, allocations: 116.5 kB / 0.7547 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.4093, allocations: 183 kB / 0.7549 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.856e-05/0.4093, allocations: 110.7 kB / 0.755 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.4094, allocations: 178.1 kB / 0.7551 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.4094, allocations: 106.8 kB / 0.7552 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.951e-05/0.4094, allocations: 98.77 kB / 0.7553 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4094, allocations: 0 / 0.7553 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000989/0.4104, allocations: 302.1 kB / 0.7556 GB, free: 6.406 MB / 0.5919 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.001032/0.4115, allocations: 0.5483 MB / 0.7561 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.436e-05/0.4116, allocations: 40.64 kB / 0.7562 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4116, allocations: 0 / 0.7562 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.4116, allocations: 0 / 0.7562 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.4119, allocations: 463.5 kB / 0.7566 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.4121, allocations: 247.3 kB / 0.7569 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.092e-05/0.4122, allocations: 67.38 kB / 0.7569 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.196e-05/0.4122, allocations: 0 / 0.7569 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.159e-05/0.4122, allocations: 11.77 kB / 0.7569 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.4122, allocations: 0 / 0.7569 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of Templates: time 0.009593/0.4218, allocations: 5.869 MB / 0.7627 GB, free: 2.793 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.994484593044035] Failed to read output from testmodel.py, exit status != 0: 0.42936193000059575 0.44234879 0.032434082 Calling exit ...