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.001261/0.001261, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001382/0.001382, allocations: 173 kB / 23.36 MB, free: 1.129 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.8772/0.8772, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 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.001688/0.001688, allocations: 250.4 kB / 260.5 MB, free: 12.69 MB / 250.7 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.6542/0.6542, allocations: 138.4 MB / 402.2 MB, free: 0.5508 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 462.4 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035e-05/1.154e-05, allocations: 6.703 kB / 462.4 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001521/0.001533, allocations: 1.485 MB / 463.9 MB, free: 15.9 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003032/0.004564, allocations: 2.824 MB / 466.7 MB, free: 14.13 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.004e-05/0.004604, allocations: 1.5 kB / 466.7 MB, free: 14.13 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.004624, allocations: 7.312 kB / 466.7 MB, free: 14.12 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.635e-05/0.00468, allocations: 19.36 kB / 466.7 MB, free: 14.11 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002729/0.00741, allocations: 1.672 MB / 468.4 MB, free: 12.58 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.953e-05/0.007479, allocations: 47.67 kB / 468.5 MB, free: 12.54 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.045e-05/0.007509, allocations: 7.984 kB / 468.5 MB, free: 12.53 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.765e-05/0.007547, allocations: 27.91 kB / 468.5 MB, free: 12.5 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.68e-05/0.007564, allocations: 5.062 kB / 468.5 MB, free: 12.5 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.556e-06/0.007573, allocations: 4 kB / 468.5 MB, free: 12.49 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.00907, allocations: 1.502 MB / 470 MB, free: 10.99 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.009082, allocations: 0.75 kB / 470 MB, free: 10.99 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.009102, allocations: 11.94 kB / 470 MB, free: 10.98 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.01038, allocations: 1.287 MB / 471.3 MB, free: 9.688 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.312e-06/0.01039, allocations: 0 / 471.3 MB, free: 9.688 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.01039, allocations: 0 / 471.3 MB, free: 9.688 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.996e-06/0.01039, allocations: 0 / 471.3 MB, free: 9.688 MB / 426.7 MB 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.0003708/0.01076, allocations: 447.1 kB / 471.7 MB, free: 9.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.569e-05/0.01079, allocations: 8.031 kB / 471.8 MB, free: 9.223 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.01082, allocations: 80.22 kB / 471.8 MB, free: 9.145 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.01113, allocations: 193 kB / 472 MB, free: 8.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.01116, allocations: 159.9 kB / 472.2 MB, free: 8.773 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.0112, allocations: 154.9 kB / 472.3 MB, free: 8.621 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.715e-05/0.01124, allocations: 102.4 kB / 472.4 MB, free: 8.516 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.01125, allocations: 83.45 kB / 472.5 MB, free: 8.434 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.01128, allocations: 154.7 kB / 472.7 MB, free: 8.281 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.758e-05/0.01131, allocations: 151.4 kB / 472.8 MB, free: 8.133 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.908e-05/0.01134, allocations: 150.6 kB / 473 MB, free: 7.984 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.01147, allocations: 359.4 kB / 473.3 MB, free: 7.621 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.891e-05/0.01152, allocations: 169.1 kB / 473.5 MB, free: 7.445 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.79e-05/0.01154, allocations: 81.86 kB / 473.5 MB, free: 7.363 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.01155, allocations: 75.28 kB / 473.6 MB, free: 7.289 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.01158, allocations: 113.8 kB / 473.7 MB, free: 7.168 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 5.01e-07/0.01158, allocations: 3.938 kB / 473.7 MB, free: 7.164 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 4.023e-05/0.01162, allocations: 34.84 kB / 473.8 MB, free: 7.125 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.01166, allocations: 126.7 kB / 473.9 MB, free: 6.988 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.404e-05/0.01173, allocations: 144.4 kB / 474 MB, free: 6.836 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.01174, allocations: 30.61 kB / 474.1 MB, free: 6.801 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.404e-05/0.01177, allocations: 84.12 kB / 474.1 MB, free: 6.715 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.112e-06/0.01177, allocations: 0 / 474.1 MB, free: 6.715 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.01179, allocations: 18.61 kB / 474.2 MB, free: 6.691 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.166e-05/0.01187, allocations: 318.8 kB / 474.5 MB, free: 6.371 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.01189, allocations: 0.8438 kB / 474.5 MB, free: 6.371 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.758e-06/0.0119, allocations: 8.562 kB / 474.5 MB, free: 6.363 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.544e-05/0.01192, allocations: 10.27 kB / 474.5 MB, free: 6.352 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01192, allocations: 3.984 kB / 474.5 MB, free: 6.348 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.634e-05/0.01198, allocations: 41.39 kB / 474.5 MB, free: 6.305 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.01199, allocations: 8 kB / 474.5 MB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.012, allocations: 0 / 474.5 MB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.062e-06/0.01201, allocations: 0 / 474.5 MB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.903e-06/0.01201, allocations: 0.5312 kB / 474.6 MB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-06/0.01201, allocations: 0 / 474.6 MB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.656e-05/0.01203, allocations: 13.83 kB / 474.6 MB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.01203, allocations: 3.984 kB / 474.6 MB, free: 6.281 MB / 426.7 MB 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.39e-05/0.01209, allocations: 183.1 kB / 474.7 MB, free: 6.094 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.01212, allocations: 105 kB / 474.8 MB, free: 5.984 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.01215, allocations: 112.7 kB / 475 MB, free: 5.871 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.452e-05/0.01218, allocations: 188.3 kB / 475.1 MB, free: 5.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.392e-05/0.01222, allocations: 184.2 kB / 475.3 MB, free: 5.492 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.248e-05/0.01225, allocations: 180.8 kB / 475.5 MB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.01236, allocations: 321.4 kB / 475.8 MB, free: 4.969 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.015e-05/0.01238, allocations: 105.7 kB / 475.9 MB, free: 4.859 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.258e-05/0.0124, allocations: 111.1 kB / 476 MB, free: 4.746 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.344e-05/0.01243, allocations: 185.9 kB / 476.2 MB, free: 4.559 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.01247, allocations: 180.3 kB / 476.4 MB, free: 4.375 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.229e-05/0.0125, allocations: 185.1 kB / 476.6 MB, free: 4.188 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.163e-05/0.01253, allocations: 180.2 kB / 476.7 MB, free: 4.004 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.785e-05/0.01261, allocations: 310.1 kB / 477 MB, free: 3.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.01263, allocations: 108.9 kB / 477.1 MB, free: 3.566 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.01267, allocations: 188.1 kB / 477.3 MB, free: 3.375 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.159e-05/0.01272, allocations: 101 kB / 477.4 MB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.01276, allocations: 184.3 kB / 477.6 MB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.01278, allocations: 105.5 kB / 477.7 MB, free: 2.973 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.999e-05/0.0128, allocations: 31 kB / 477.7 MB, free: 2.938 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0128, allocations: 0.75 kB / 477.7 MB, free: 2.938 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004123/0.01321, allocations: 295 kB / 478 MB, free: 2.648 MB / 426.7 MB 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.0006197/0.01383, allocations: 0.5728 MB / 478.6 MB, free: 2.074 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.297e-05/0.01388, allocations: 43.47 kB / 478.6 MB, free: 2.023 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01389, allocations: 3.625 kB / 478.7 MB, free: 2.023 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.963e-06/0.01389, allocations: 4.875 kB / 478.7 MB, free: 2.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.01407, allocations: 474 kB / 479.1 MB, free: 1.555 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001745/0.01425, allocations: 225 kB / 479.3 MB, free: 1.312 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.495e-05/0.01427, allocations: 60 kB / 479.4 MB, free: 1.234 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.764e-06/0.01428, allocations: 0 / 479.4 MB, free: 1.234 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.01432, allocations: 55.91 kB / 479.5 MB, free: 1.184 MB / 426.7 MB Notification: Performance of SimCode: time 3.5e-07/0.01432, allocations: 1.688 kB / 479.5 MB, free: 1.184 MB / 426.7 MB Notification: Performance of Templates: time 0.007287/0.0216, allocations: 7.326 MB / 486.8 MB, free: 10.15 MB / 442.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.55174921778962]