Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 113.5 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 184.3 kB / 22.98 MB, free: 5.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9715/0.9715, allocations: 149.6 MB / 456.6 MB, free: 1.152 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002314/0.002314, allocations: 72.81 kB / 0.6329 GB, free: 8.898 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.186, allocations: 87.86 MB / 0.7187 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003082/0.1891, allocations: 1.457 MB / 0.7202 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005389/0.1944, allocations: 2.926 MB / 0.723 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.202e-05/0.1945, allocations: 0 / 0.723 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.1945, allocations: 7.922 kB / 0.723 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.155e-05/0.1946, allocations: 15.86 kB / 0.723 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004408/0.199, allocations: 1.66 MB / 0.7247 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.943e-05/0.1991, allocations: 43.73 kB / 0.7247 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.746e-05/0.1991, allocations: 0 / 0.7247 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.192e-05/0.1992, allocations: 19.88 kB / 0.7247 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.43e-05/0.1992, allocations: 23.91 kB / 0.7247 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.1992, allocations: 4 kB / 0.7247 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002916/0.2021, allocations: 1.735 MB / 0.7264 GB, free: 9.066 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.2021, allocations: 3.938 kB / 0.7264 GB, free: 9.062 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.2022, allocations: 15.88 kB / 0.7265 GB, free: 9.047 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.2043, allocations: 1.138 MB / 0.7276 GB, free: 7.906 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2043, allocations: 0 / 0.7276 GB, free: 7.906 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2043, allocations: 0 / 0.7276 GB, free: 7.906 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.2043, allocations: 4 kB / 0.7276 GB, free: 7.902 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.0007819/0.2051, allocations: 474.1 kB / 0.728 GB, free: 7.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2051, allocations: 16.5 kB / 0.728 GB, free: 7.395 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.067e-05/0.2052, allocations: 84.22 kB / 0.7281 GB, free: 7.312 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.2053, allocations: 189.7 kB / 0.7283 GB, free: 7.102 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.808e-05/0.2054, allocations: 154.7 kB / 0.7284 GB, free: 6.949 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-05/0.2055, allocations: 154.6 kB / 0.7286 GB, free: 6.797 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.112e-05/0.2056, allocations: 105 kB / 0.7287 GB, free: 6.688 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.04e-05/0.2056, allocations: 75.28 kB / 0.7288 GB, free: 6.613 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.599e-05/0.2057, allocations: 154.5 kB / 0.7289 GB, free: 6.461 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.151e-05/0.2058, allocations: 150.6 kB / 0.7291 GB, free: 6.312 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.873e-05/0.2058, allocations: 154.5 kB / 0.7292 GB, free: 6.16 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.2062, allocations: 437 kB / 0.7296 GB, free: 5.691 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.2063, allocations: 177.1 kB / 0.7298 GB, free: 5.508 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.343e-05/0.2064, allocations: 80.14 kB / 0.7299 GB, free: 5.426 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.2064, allocations: 75.28 kB / 0.7299 GB, free: 5.352 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.333e-05/0.2065, allocations: 109.8 kB / 0.73 GB, free: 5.234 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.2065, allocations: 0 / 0.73 GB, free: 5.234 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 9.106e-05/0.2066, allocations: 37.59 kB / 0.7301 GB, free: 5.191 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/0.2066, allocations: 126.7 kB / 0.7302 GB, free: 5.055 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.2068, allocations: 136.3 kB / 0.7303 GB, free: 4.914 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.2068, allocations: 25.7 kB / 0.7304 GB, free: 4.883 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.02e-05/0.2069, allocations: 96.12 kB / 0.7304 GB, free: 4.785 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-06/0.2069, allocations: 0 / 0.7304 GB, free: 4.785 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.2069, allocations: 17.72 kB / 0.7305 GB, free: 4.762 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.2071, allocations: 326.8 kB / 0.7308 GB, free: 4.434 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.682e-05/0.2071, allocations: 4 kB / 0.7308 GB, free: 4.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.939e-05/0.2071, allocations: 8 kB / 0.7308 GB, free: 4.422 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.87e-05/0.2072, allocations: 20.8 kB / 0.7308 GB, free: 4.398 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2072, allocations: 0 / 0.7308 GB, free: 4.398 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001464/0.2073, allocations: 53.64 kB / 0.7309 GB, free: 4.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2074, allocations: 4 kB / 0.7309 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.2074, allocations: 8.062 kB / 0.7309 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.2074, allocations: 7.984 kB / 0.7309 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.2074, allocations: 0 / 0.7309 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2074, allocations: 0 / 0.7309 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.2074, allocations: 0 / 0.7309 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.2074, allocations: 4 kB / 0.7309 GB, free: 4.316 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.0001262/0.2076, allocations: 185.1 kB / 0.7311 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.599e-05/0.2076, allocations: 112.9 kB / 0.7312 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.623e-05/0.2077, allocations: 112.8 kB / 0.7313 GB, free: 3.887 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.04e-05/0.2078, allocations: 184.3 kB / 0.7314 GB, free: 3.699 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.655e-05/0.2079, allocations: 180.2 kB / 0.7316 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.743e-05/0.208, allocations: 176.3 kB / 0.7318 GB, free: 3.336 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.2082, allocations: 400.1 kB / 0.7322 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.641e-05/0.2083, allocations: 101 kB / 0.7323 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.104e-05/0.2084, allocations: 109 kB / 0.7324 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-05/0.2084, allocations: 184.2 kB / 0.7325 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.525e-05/0.2085, allocations: 176.3 kB / 0.7327 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.714e-05/0.2086, allocations: 184.2 kB / 0.7329 GB, free: 2.121 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.689e-05/0.2087, allocations: 180.3 kB / 0.7331 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.2089, allocations: 315.7 kB / 0.7334 GB, free: 1.605 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.2089, allocations: 108.9 kB / 0.7335 GB, free: 1.492 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.969e-05/0.209, allocations: 184.2 kB / 0.7336 GB, free: 1.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.567e-05/0.2091, allocations: 105 kB / 0.7337 GB, free: 1.195 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.126e-05/0.2092, allocations: 188.2 kB / 0.7339 GB, free: 1.004 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.742e-05/0.2093, allocations: 105 kB / 0.734 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.841e-05/0.2093, allocations: 99.25 kB / 0.7341 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2093, allocations: 0 / 0.7341 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000841/0.2102, allocations: 294.9 kB / 0.7344 GB, free: 0.5078 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.00128/0.2114, allocations: 0.5363 MB / 0.7349 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.2116, allocations: 33.7 kB / 0.735 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2116, allocations: 0 / 0.735 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.314e-06/0.2116, allocations: 3.938 kB / 0.735 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/0.2121, allocations: 467.6 kB / 0.7354 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.2124, allocations: 236.8 kB / 0.7356 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.2128, allocations: 0.6846 MB / 0.7363 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.453e-05/0.2128, allocations: 0 / 0.7363 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.564e-05/0.2128, allocations: 11.44 kB / 0.7363 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/0.2128, allocations: 3.938 kB / 0.7363 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of Templates: time 0.01144/0.2242, allocations: 5.648 MB / 0.7418 GB, free: 8.875 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.50619309861213] Failed to read output from testmodel.py, exit status != 0: 0.23362536076456308 0.55771012 0.35040595500000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f618774d7b0>