Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001201/0.001201, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001316/0.001316, allocations: 181 kB / 23.36 MB, free: 1.133 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.9095/0.9095, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.001472/0.001472, allocations: 238.4 kB / 260.5 MB, free: 12.68 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.7008/0.7008, allocations: 138.4 MB / 402.2 MB, free: 0.5469 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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.879e-06/4.879e-06, allocations: 0 / 462.4 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.224e-05/1.712e-05, allocations: 4.641 kB / 462.4 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001673/0.00169, allocations: 1.484 MB / 463.9 MB, free: 15.9 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003316/0.005005, allocations: 2.83 MB / 466.7 MB, free: 14.13 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.00505, allocations: 0 / 466.7 MB, free: 14.13 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.005068, allocations: 5.344 kB / 466.7 MB, free: 14.12 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.687e-05/0.005125, allocations: 18 kB / 466.7 MB, free: 14.11 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00292/0.008046, allocations: 1.668 MB / 468.4 MB, free: 12.57 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.838e-05/0.008114, allocations: 43.67 kB / 468.5 MB, free: 12.53 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.135e-05/0.008145, allocations: 12.94 kB / 468.5 MB, free: 12.52 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.00818, allocations: 23.92 kB / 468.5 MB, free: 12.5 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.975e-05/0.0082, allocations: 12.52 kB / 468.5 MB, free: 12.48 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.008209, allocations: 0.75 kB / 468.5 MB, free: 12.48 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.009871, allocations: 1.494 MB / 470 MB, free: 10.99 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.009886, allocations: 7.922 kB / 470 MB, free: 10.98 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.009913, allocations: 13.2 kB / 470 MB, free: 10.97 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.01128, allocations: 1.29 MB / 471.3 MB, free: 9.676 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.01128, allocations: 0 / 471.3 MB, free: 9.676 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01128, allocations: 0.75 kB / 471.3 MB, free: 9.676 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.595e-06/0.01128, allocations: 0 / 471.3 MB, free: 9.676 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.0003923/0.01168, allocations: 446.7 kB / 471.7 MB, free: 9.219 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.0117, allocations: 12.03 kB / 471.8 MB, free: 9.207 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.01174, allocations: 78.31 kB / 471.8 MB, free: 9.133 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.043e-05/0.01182, allocations: 194.4 kB / 472 MB, free: 8.918 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.01185, allocations: 150.9 kB / 472.2 MB, free: 8.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.01188, allocations: 154.9 kB / 472.3 MB, free: 8.617 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.364e-05/0.01193, allocations: 106.1 kB / 472.4 MB, free: 8.508 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.01194, allocations: 79.41 kB / 472.5 MB, free: 8.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.291e-05/0.01197, allocations: 159.5 kB / 472.7 MB, free: 8.273 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001488/0.01212, allocations: 151.6 kB / 472.8 MB, free: 8.125 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.253e-05/0.01216, allocations: 161.2 kB / 473 MB, free: 7.969 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.01229, allocations: 353.3 kB / 473.3 MB, free: 7.609 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.334e-05/0.01234, allocations: 166.1 kB / 473.5 MB, free: 7.438 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/0.01236, allocations: 84.08 kB / 473.6 MB, free: 7.352 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.01238, allocations: 77.16 kB / 473.6 MB, free: 7.277 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.0124, allocations: 109.8 kB / 473.7 MB, free: 7.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.01241, allocations: 0 / 473.7 MB, free: 7.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 3.991e-05/0.01245, allocations: 29.69 kB / 473.8 MB, free: 7.125 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.01248, allocations: 134.7 kB / 473.9 MB, free: 6.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.806e-05/0.01256, allocations: 141.4 kB / 474 MB, free: 6.832 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.073e-06/0.01257, allocations: 25.7 kB / 474.1 MB, free: 6.801 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.725e-05/0.0126, allocations: 88.12 kB / 474.1 MB, free: 6.711 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.062e-06/0.0126, allocations: 5.094 kB / 474.2 MB, free: 6.707 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/0.01262, allocations: 21.69 kB / 474.2 MB, free: 6.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.148e-05/0.01268, allocations: 318.8 kB / 474.5 MB, free: 6.359 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.01269, allocations: 4.625 kB / 474.5 MB, free: 6.355 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.131e-06/0.0127, allocations: 0.625 kB / 474.5 MB, free: 6.355 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.323e-05/0.01272, allocations: 13.84 kB / 474.5 MB, free: 6.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.01272, allocations: 0.5 kB / 474.5 MB, free: 6.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.554e-05/0.01278, allocations: 45.2 kB / 474.5 MB, free: 6.293 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.01279, allocations: 4 kB / 474.6 MB, free: 6.289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.0128, allocations: 0 / 474.6 MB, free: 6.289 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.255e-06/0.01281, allocations: 0 / 474.6 MB, free: 6.289 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.635e-06/0.01281, allocations: 0 / 474.6 MB, free: 6.289 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.01281, allocations: 7.984 kB / 474.6 MB, free: 6.281 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.721e-05/0.01283, allocations: 12.72 kB / 474.6 MB, free: 6.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.01284, allocations: 0 / 474.6 MB, free: 6.27 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.555e-05/0.01289, allocations: 182.1 kB / 474.7 MB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.01292, allocations: 105 kB / 474.9 MB, free: 5.973 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.01295, allocations: 113.4 kB / 475 MB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.605e-05/0.01299, allocations: 184.2 kB / 475.1 MB, free: 5.672 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.76e-05/0.01303, allocations: 181.3 kB / 475.3 MB, free: 5.488 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.728e-05/0.01306, allocations: 189.4 kB / 475.5 MB, free: 5.297 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.01318, allocations: 322 kB / 475.8 MB, free: 4.957 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.109e-05/0.0132, allocations: 105.9 kB / 475.9 MB, free: 4.848 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-05/0.01322, allocations: 108.9 kB / 476 MB, free: 4.734 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-05/0.01325, allocations: 177.8 kB / 476.2 MB, free: 4.555 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002806/0.01354, allocations: 188.2 kB / 476.4 MB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.444e-05/0.01357, allocations: 176.3 kB / 476.6 MB, free: 4.184 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.411e-05/0.0136, allocations: 184.2 kB / 476.7 MB, free: 3.996 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.661e-05/0.01368, allocations: 311.8 kB / 477 MB, free: 3.672 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.912e-05/0.01371, allocations: 113.4 kB / 477.2 MB, free: 3.555 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.01375, allocations: 176.3 kB / 477.3 MB, free: 3.375 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.94e-05/0.0138, allocations: 104.9 kB / 477.4 MB, free: 3.266 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.01384, allocations: 181.2 kB / 477.6 MB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.01386, allocations: 109.8 kB / 477.7 MB, free: 2.965 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.031e-05/0.01388, allocations: 27.2 kB / 477.7 MB, free: 2.938 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01388, allocations: 0 / 477.7 MB, free: 2.938 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004392/0.01432, allocations: 299.9 kB / 478 MB, free: 2.645 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.0006592/0.01498, allocations: 0.5764 MB / 478.6 MB, free: 2.066 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.107e-05/0.01504, allocations: 42.5 kB / 478.6 MB, free: 2.016 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.01504, allocations: 6.438 kB / 478.7 MB, free: 2.012 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.504e-06/0.01505, allocations: 4 kB / 478.7 MB, free: 2.008 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.01524, allocations: 472.2 kB / 479.1 MB, free: 1.543 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001923/0.01543, allocations: 232.6 kB / 479.3 MB, free: 1.293 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.533e-05/0.01546, allocations: 56.97 kB / 479.4 MB, free: 1.219 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.437e-06/0.01547, allocations: 4 kB / 479.4 MB, free: 1.215 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.0155, allocations: 51.38 kB / 479.5 MB, free: 1.168 MB / 426.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01551, allocations: 0 / 479.5 MB, free: 1.168 MB / 426.7 MB Notification: Performance of Templates: time 0.008067/0.02357, allocations: 7.334 MB / 486.8 MB, free: 10.13 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5494624110870063]