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.001308/0.001308, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001575/0.001575, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.439/1.439, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.002647/0.002647, allocations: 225 kB / 259.8 MB, free: 12.85 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 1.084/1.084, allocations: 138.4 MB / 454.7 MB, free: 1.426 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 1.433e-06/1.433e-06, allocations: 0 / 0.5544 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.418e-05, allocations: 6.312 kB / 0.5544 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002771/0.002795, allocations: 1.432 MB / 0.5558 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005143/0.007938, allocations: 2.678 MB / 0.5584 GB, free: 12.58 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.007977, allocations: 4 kB / 0.5584 GB, free: 12.58 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.506e-05/0.008002, allocations: 3.938 kB / 0.5584 GB, free: 12.57 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.589e-05/0.008077, allocations: 19.78 kB / 0.5585 GB, free: 12.55 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004583/0.01266, allocations: 1.641 MB / 0.5601 GB, free: 10.91 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.01276, allocations: 47.67 kB / 0.5601 GB, free: 10.86 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.566e-05/0.0128, allocations: 8 kB / 0.5601 GB, free: 10.86 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.694e-05/0.01285, allocations: 11.98 kB / 0.5601 GB, free: 10.84 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.851e-05/0.01288, allocations: 15.92 kB / 0.5601 GB, free: 10.83 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.01289, allocations: 4 kB / 0.5602 GB, free: 10.82 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002761/0.01565, allocations: 1.485 MB / 0.5616 GB, free: 9.336 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.01568, allocations: 15.92 kB / 0.5616 GB, free: 9.32 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.235e-05/0.01571, allocations: 8 kB / 0.5616 GB, free: 9.312 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002247/0.01796, allocations: 1.274 MB / 0.5629 GB, free: 8.035 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.01796, allocations: 0 / 0.5629 GB, free: 8.035 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01796, allocations: 4 kB / 0.5629 GB, free: 8.031 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.01796, allocations: 0 / 0.5629 GB, free: 8.031 MB / 490.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.0008588/0.01882, allocations: 476 kB / 0.5633 GB, free: 7.535 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.01887, allocations: 12.03 kB / 0.5633 GB, free: 7.523 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.113e-05/0.01896, allocations: 76.22 kB / 0.5634 GB, free: 7.449 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.01915, allocations: 200.9 kB / 0.5636 GB, free: 7.227 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-05/0.01925, allocations: 154.9 kB / 0.5637 GB, free: 7.074 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.739e-05/0.01933, allocations: 150.9 kB / 0.5639 GB, free: 6.926 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.608e-05/0.01942, allocations: 105.5 kB / 0.564 GB, free: 6.816 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001707/0.01959, allocations: 79.47 kB / 0.5641 GB, free: 6.738 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.658e-05/0.01968, allocations: 158.7 kB / 0.5642 GB, free: 6.582 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.334e-05/0.01976, allocations: 154.6 kB / 0.5644 GB, free: 6.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.603e-05/0.01985, allocations: 154.6 kB / 0.5645 GB, free: 6.277 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.02021, allocations: 413.5 kB / 0.5649 GB, free: 5.844 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.02032, allocations: 169.1 kB / 0.5651 GB, free: 5.668 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.874e-05/0.02037, allocations: 80.14 kB / 0.5651 GB, free: 5.586 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.493e-05/0.02042, allocations: 75.28 kB / 0.5652 GB, free: 5.512 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.347e-05/0.02049, allocations: 113.8 kB / 0.5653 GB, free: 5.391 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.02049, allocations: 0 / 0.5653 GB, free: 5.391 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 8.554e-05/0.02058, allocations: 33.59 kB / 0.5654 GB, free: 5.352 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.626e-05/0.02066, allocations: 134.6 kB / 0.5655 GB, free: 5.207 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.02083, allocations: 136.8 kB / 0.5656 GB, free: 5.066 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.02086, allocations: 25.7 kB / 0.5656 GB, free: 5.035 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.02093, allocations: 92.14 kB / 0.5657 GB, free: 4.941 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.02093, allocations: 0 / 0.5657 GB, free: 4.941 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.02097, allocations: 17.7 kB / 0.5657 GB, free: 4.918 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.02114, allocations: 318.8 kB / 0.5661 GB, free: 4.598 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.509e-05/0.02117, allocations: 4 kB / 0.5661 GB, free: 4.594 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.444e-05/0.02119, allocations: 16.05 kB / 0.5661 GB, free: 4.578 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.896e-05/0.02123, allocations: 8.859 kB / 0.5661 GB, free: 4.566 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.02123, allocations: 0 / 0.5661 GB, free: 4.566 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001689/0.0214, allocations: 57.62 kB / 0.5661 GB, free: 4.504 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.02142, allocations: 4 kB / 0.5661 GB, free: 4.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-05/0.02145, allocations: 7.938 kB / 0.5661 GB, free: 4.492 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.02148, allocations: 3.938 kB / 0.5661 GB, free: 4.488 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.797e-06/0.02148, allocations: 3.984 kB / 0.5662 GB, free: 4.484 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.02149, allocations: 3.984 kB / 0.5662 GB, free: 4.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.02152, allocations: 8 kB / 0.5662 GB, free: 4.473 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.02153, allocations: 0 / 0.5662 GB, free: 4.473 MB / 490.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 0.0001657/0.02169, allocations: 185.1 kB / 0.5663 GB, free: 4.281 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.0218, allocations: 104.9 kB / 0.5664 GB, free: 4.172 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.367e-05/0.02188, allocations: 116.8 kB / 0.5666 GB, free: 4.055 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000114/0.02199, allocations: 184.2 kB / 0.5667 GB, free: 3.867 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001208/0.02211, allocations: 188.2 kB / 0.5669 GB, free: 3.676 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001042/0.02222, allocations: 176.3 kB / 0.5671 GB, free: 3.496 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.02252, allocations: 360.9 kB / 0.5674 GB, free: 3.105 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.862e-05/0.02258, allocations: 104.9 kB / 0.5675 GB, free: 2.996 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.233e-05/0.02264, allocations: 105 kB / 0.5676 GB, free: 2.887 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001143/0.02276, allocations: 192.2 kB / 0.5678 GB, free: 2.691 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.855e-05/0.02285, allocations: 176.3 kB / 0.568 GB, free: 2.512 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.975e-05/0.02295, allocations: 184.2 kB / 0.5681 GB, free: 2.324 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-05/0.02305, allocations: 184.2 kB / 0.5683 GB, free: 2.137 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.02325, allocations: 315.7 kB / 0.5686 GB, free: 1.805 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-05/0.02332, allocations: 108.9 kB / 0.5687 GB, free: 1.691 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.02344, allocations: 184.2 kB / 0.5689 GB, free: 1.504 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.02354, allocations: 105 kB / 0.569 GB, free: 1.395 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.02365, allocations: 184.2 kB / 0.5692 GB, free: 1.207 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.981e-05/0.02372, allocations: 108.9 kB / 0.5693 GB, free: 1.094 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.233e-05/0.0238, allocations: 103.2 kB / 0.5694 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0238, allocations: 0 / 0.5694 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009625/0.02476, allocations: 298.9 kB / 0.5697 GB, free: 0.6992 MB / 490.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.001451/0.02621, allocations: 0.587 MB / 0.5702 GB, free: 108 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.02632, allocations: 37.7 kB / 0.5703 GB, free: 64 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.02632, allocations: 0 / 0.5703 GB, free: 64 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.222e-06/0.02633, allocations: 8 kB / 0.5703 GB, free: 56 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000525/0.02685, allocations: 467.6 kB / 0.5707 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000382/0.02724, allocations: 230.8 kB / 0.5709 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.624e-05/0.02731, allocations: 71.33 kB / 0.571 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.401e-05/0.02733, allocations: 0 / 0.571 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.069e-05/0.02735, allocations: 8.5 kB / 0.571 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.02735, allocations: 4 kB / 0.571 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of Templates: time 0.01275/0.0401, allocations: 5.944 MB / 0.5768 GB, free: 9.348 MB / 0.4948 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.755034290021285]