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.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.001449/0.001449, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001607/0.001607, allocations: 204.6 kB / 23.74 MB, free: 4.543 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.54/1.54, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9943/0.9943, allocations: 149.9 MB / 463.8 MB, free: 10.33 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(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: IBPSA 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.002179/0.002179, allocations: 68.05 kB / 0.6424 GB, free: 9.527 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1989, allocations: 89.17 MB / 0.7295 GB, free: 424 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002866/0.2017, allocations: 1.427 MB / 0.7309 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00486/0.2066, allocations: 2.665 MB / 0.7335 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.408e-05/0.2066, allocations: 0 / 0.7335 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.816e-05/0.2067, allocations: 7.922 kB / 0.7335 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.856e-05/0.2067, allocations: 11.86 kB / 0.7335 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004342/0.2111, allocations: 1.649 MB / 0.7351 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.2112, allocations: 47.67 kB / 0.7351 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.2112, allocations: 0 / 0.7351 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.071e-05/0.2113, allocations: 19.92 kB / 0.7351 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.938e-05/0.2113, allocations: 11.94 kB / 0.7352 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.2113, allocations: 7.938 kB / 0.7352 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.2137, allocations: 1.482 MB / 0.7366 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.2137, allocations: 8 kB / 0.7366 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.2138, allocations: 19.86 kB / 0.7366 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.2153, allocations: 1.099 MB / 0.7377 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2153, allocations: 0 / 0.7377 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2153, allocations: 0 / 0.7377 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.2153, allocations: 0 / 0.7377 GB, free: 7.957 MB / 0.5606 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.0006335/0.216, allocations: 472 kB / 0.7382 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.216, allocations: 12.03 kB / 0.7382 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.2161, allocations: 80.17 kB / 0.7383 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.2163, allocations: 201.6 kB / 0.7384 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.964e-05/0.2163, allocations: 154.7 kB / 0.7386 GB, free: 7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-05/0.2164, allocations: 154.6 kB / 0.7387 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.811e-05/0.2165, allocations: 108.9 kB / 0.7388 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.135e-05/0.2165, allocations: 79.27 kB / 0.7389 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-05/0.2166, allocations: 154.6 kB / 0.7391 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.66e-05/0.2167, allocations: 150.6 kB / 0.7392 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.285e-05/0.2167, allocations: 154.5 kB / 0.7394 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.2171, allocations: 421.5 kB / 0.7398 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.2172, allocations: 169.1 kB / 0.7399 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.809e-05/0.2172, allocations: 84.08 kB / 0.74 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.228e-05/0.2173, allocations: 79.28 kB / 0.7401 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.373e-05/0.2173, allocations: 113.7 kB / 0.7402 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.2173, allocations: 4 kB / 0.7402 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.494e-05/0.2174, allocations: 33.69 kB / 0.7402 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.951e-05/0.2175, allocations: 126.7 kB / 0.7403 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.2176, allocations: 136 kB / 0.7405 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.2177, allocations: 25.7 kB / 0.7405 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/0.2177, allocations: 92.14 kB / 0.7406 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.2177, allocations: 0 / 0.7406 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.2178, allocations: 21.7 kB / 0.7406 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.2179, allocations: 314.8 kB / 0.7409 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.42e-05/0.2179, allocations: 4 kB / 0.7409 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.814e-05/0.218, allocations: 11.98 kB / 0.7409 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.663e-05/0.218, allocations: 20.86 kB / 0.7409 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.218, allocations: 0 / 0.7409 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001346/0.2181, allocations: 53.59 kB / 0.741 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.2182, allocations: 4 kB / 0.741 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.2182, allocations: 4 kB / 0.741 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2182, allocations: 0 / 0.741 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.2182, allocations: 0 / 0.741 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2182, allocations: 7.984 kB / 0.741 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.2182, allocations: 3.938 kB / 0.741 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.2182, allocations: 0 / 0.741 GB, free: 4.395 MB / 0.5606 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.000128/0.2184, allocations: 197.1 kB / 0.7412 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.239e-05/0.2184, allocations: 108.9 kB / 0.7413 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.97e-05/0.2185, allocations: 108.8 kB / 0.7414 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.74e-05/0.2186, allocations: 180.2 kB / 0.7416 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.049e-05/0.2186, allocations: 188.2 kB / 0.7418 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.013e-05/0.2187, allocations: 176.3 kB / 0.7419 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.219, allocations: 364.8 kB / 0.7423 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-05/0.219, allocations: 104.9 kB / 0.7424 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.134e-05/0.2191, allocations: 109 kB / 0.7425 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.023e-05/0.2192, allocations: 184.2 kB / 0.7427 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-05/0.2192, allocations: 184.3 kB / 0.7428 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.287e-05/0.2193, allocations: 188.1 kB / 0.743 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.988e-05/0.2194, allocations: 180.2 kB / 0.7432 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.2196, allocations: 315.7 kB / 0.7435 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.2197, allocations: 108.9 kB / 0.7436 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.2198, allocations: 184.2 kB / 0.7438 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.721e-05/0.2199, allocations: 101 kB / 0.7439 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.693e-05/0.2199, allocations: 184.2 kB / 0.744 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.792e-05/0.22, allocations: 113 kB / 0.7441 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.294e-05/0.2201, allocations: 97.3 kB / 0.7442 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2201, allocations: 4 kB / 0.7442 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007671/0.2208, allocations: 295 kB / 0.7445 GB, free: 0.6094 MB / 0.5606 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.001087/0.2219, allocations: 0.5522 MB / 0.7451 GB, free: 48 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.2221, allocations: 37.7 kB / 0.7451 GB, free: 4 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2221, allocations: 64 / 0.7451 GB, free: 4 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.238e-05/0.2221, allocations: 8.047 kB / 0.7451 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.2225, allocations: 471.6 kB / 0.7456 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.2229, allocations: 258.3 kB / 0.7458 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.201e-05/0.223, allocations: 67.33 kB / 0.7459 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.751e-05/0.223, allocations: 11.44 kB / 0.7459 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.223, allocations: 0 / 0.7459 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of Templates: time 0.00881/0.2318, allocations: 4.94 MB / 0.7507 GB, free: 10.21 MB / 0.5762 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: 10.276891846675426] Failed to read output from testmodel.py, exit status != 0: 0.24108799500390887 0.633113309 0.414515145 Calling exit ...