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.0008782/0.0008782, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008826/0.0008826, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8722/0.8722, allocations: 177.1 MB / 203.5 MB, free: 5.402 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.001509/0.001509, allocations: 237.9 kB / 260.2 MB, free: 12.89 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.6803/0.6803, allocations: 138.4 MB / 455.1 MB, free: 29.9 MB / 410.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.673e-06/1.673e-06, allocations: 0 / 0.6476 GB, free: 1.258 MB / 0.5574 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.378e-05, allocations: 2.281 kB / 0.6476 GB, free: 1.254 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.2519/0.2519, allocations: 1.437 MB / 0.649 GB, free: 56.34 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.003894/0.2558, allocations: 2.677 MB / 0.6516 GB, free: 55.3 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.851e-05/0.2558, allocations: 0 / 0.6516 GB, free: 55.3 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 3.2e-05/0.2559, allocations: 1.453 kB / 0.6516 GB, free: 55.3 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 7.004e-05/0.2559, allocations: 18.59 kB / 0.6517 GB, free: 55.29 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.002728/0.2587, allocations: 1.645 MB / 0.6533 GB, free: 54.77 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 7.335e-05/0.2587, allocations: 49.91 kB / 0.6533 GB, free: 54.74 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 3.62e-05/0.2588, allocations: 1.812 kB / 0.6533 GB, free: 54.74 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 4.064e-05/0.2588, allocations: 21.73 kB / 0.6533 GB, free: 54.74 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 2.146e-05/0.2588, allocations: 12.91 kB / 0.6533 GB, free: 54.73 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.2589, allocations: 1.25 kB / 0.6533 GB, free: 54.73 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.2604, allocations: 1.49 MB / 0.6548 GB, free: 54.34 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.2604, allocations: 2.172 kB / 0.6548 GB, free: 54.34 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.2604, allocations: 21.27 kB / 0.6548 GB, free: 54.32 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.2616, allocations: 1.264 MB / 0.6561 GB, free: 53.97 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2616, allocations: 0.7969 kB / 0.6561 GB, free: 53.97 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2616, allocations: 1.906 kB / 0.6561 GB, free: 53.97 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2616, allocations: 3.938 kB / 0.6561 GB, free: 53.96 MB / 0.5574 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.0003717/0.262, allocations: 474.1 kB / 0.6565 GB, free: 53.55 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.262, allocations: 12.44 kB / 0.6565 GB, free: 53.55 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.262, allocations: 87.17 kB / 0.6566 GB, free: 53.47 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.929e-05/0.2621, allocations: 195.4 kB / 0.6568 GB, free: 53.27 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.2621, allocations: 151.7 kB / 0.6569 GB, free: 53.12 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.2621, allocations: 153.4 kB / 0.6571 GB, free: 52.97 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.363e-05/0.2622, allocations: 103.4 kB / 0.6572 GB, free: 52.86 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.2622, allocations: 81.22 kB / 0.6573 GB, free: 52.79 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.2622, allocations: 157 kB / 0.6574 GB, free: 52.63 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.2622, allocations: 151.2 kB / 0.6576 GB, free: 52.48 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.562e-05/0.2622, allocations: 154.5 kB / 0.6577 GB, free: 52.33 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001296/0.2624, allocations: 418.9 kB / 0.6581 GB, free: 51.91 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 4.61e-05/0.2624, allocations: 171.2 kB / 0.6583 GB, free: 51.73 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.402e-05/0.2624, allocations: 81.02 kB / 0.6583 GB, free: 51.65 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-06/0.2624, allocations: 75.28 kB / 0.6584 GB, free: 51.58 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.2624, allocations: 114.8 kB / 0.6585 GB, free: 51.46 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.2624, allocations: 0 / 0.6585 GB, free: 51.46 MB / 0.5574 GB Notification: Performance of matching and sorting (n=0): time 5.054e-05/0.2625, allocations: 33.81 kB / 0.6586 GB, free: 51.43 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.2625, allocations: 132.2 kB / 0.6587 GB, free: 51.29 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.878e-05/0.2626, allocations: 131.7 kB / 0.6588 GB, free: 51.18 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 4.569e-06/0.2626, allocations: 27.48 kB / 0.6588 GB, free: 51.14 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 2.684e-05/0.2627, allocations: 91.3 kB / 0.6589 GB, free: 51.06 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.2627, allocations: 16 / 0.6589 GB, free: 51.06 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.2627, allocations: 21.42 kB / 0.6589 GB, free: 51.04 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.12e-05/0.2627, allocations: 319.8 kB / 0.6592 GB, free: 50.72 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.2627, allocations: 3.594 kB / 0.6593 GB, free: 50.72 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/0.2627, allocations: 5.859 kB / 0.6593 GB, free: 50.72 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.125e-05/0.2628, allocations: 20.02 kB / 0.6593 GB, free: 50.71 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2628, allocations: 0 / 0.6593 GB, free: 50.71 MB / 0.5574 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.878e-05/0.2629, allocations: 50.77 kB / 0.6593 GB, free: 50.67 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.2629, allocations: 10.41 kB / 0.6593 GB, free: 50.67 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.2629, allocations: 3.031 kB / 0.6593 GB, free: 50.67 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.2629, allocations: 5.062 kB / 0.6593 GB, free: 50.66 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.224e-06/0.2629, allocations: 3.719 kB / 0.6593 GB, free: 50.66 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.2629, allocations: 0 / 0.6593 GB, free: 50.66 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/0.2629, allocations: 3.953 kB / 0.6593 GB, free: 50.66 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.2629, allocations: 2.531 kB / 0.6594 GB, free: 50.66 MB / 0.5574 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 5.596e-05/0.263, allocations: 192.5 kB / 0.6595 GB, free: 50.47 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.263, allocations: 113.7 kB / 0.6596 GB, free: 50.36 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.043e-05/0.263, allocations: 113.1 kB / 0.6598 GB, free: 50.25 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/0.2631, allocations: 183.2 kB / 0.6599 GB, free: 50.06 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.84e-05/0.2631, allocations: 183.3 kB / 0.6601 GB, free: 49.88 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.2631, allocations: 182.1 kB / 0.6603 GB, free: 49.7 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.047e-05/0.2632, allocations: 369.4 kB / 0.6606 GB, free: 49.31 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.208e-06/0.2632, allocations: 105.6 kB / 0.6607 GB, free: 49.2 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.085e-05/0.2632, allocations: 104.3 kB / 0.6608 GB, free: 49.1 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/0.2632, allocations: 181.1 kB / 0.661 GB, free: 48.91 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.2632, allocations: 183.1 kB / 0.6612 GB, free: 48.73 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.609e-05/0.2632, allocations: 183.1 kB / 0.6613 GB, free: 48.55 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-05/0.2633, allocations: 186.9 kB / 0.6615 GB, free: 48.36 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5e-05/0.2633, allocations: 306.8 kB / 0.6618 GB, free: 48.04 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 1.877e-05/0.2633, allocations: 113.4 kB / 0.6619 GB, free: 47.93 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.2634, allocations: 183.1 kB / 0.6621 GB, free: 47.75 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.325e-05/0.2634, allocations: 109 kB / 0.6622 GB, free: 47.64 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.171e-05/0.2634, allocations: 189.2 kB / 0.6624 GB, free: 47.45 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.2634, allocations: 102.8 kB / 0.6625 GB, free: 47.34 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 4.003e-05/0.2635, allocations: 102.8 kB / 0.6626 GB, free: 47.26 MB / 0.5574 GB Notification: Performance of sort global known variables: time 5e-08/0.2635, allocations: 0 / 0.6626 GB, free: 47.26 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0004102/0.2639, allocations: 295.9 kB / 0.6629 GB, free: 47.18 MB / 0.5574 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.0007459/0.2646, allocations: 0.5916 MB / 0.6634 GB, free: 46.9 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 7.734e-05/0.2647, allocations: 39.64 kB / 0.6635 GB, free: 46.86 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2647, allocations: 0 / 0.6635 GB, free: 46.86 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 2.545e-06/0.2647, allocations: 5.594 kB / 0.6635 GB, free: 46.86 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.2649, allocations: 468 kB / 0.6639 GB, free: 46.41 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002274/0.2651, allocations: 242.6 kB / 0.6642 GB, free: 46.18 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.993e-05/0.2652, allocations: 72.38 kB / 0.6642 GB, free: 46.11 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.314e-05/0.2652, allocations: 15.59 kB / 0.6642 GB, free: 46.1 MB / 0.5574 GB Notification: Performance of SimCode: time 3.8e-07/0.2652, allocations: 0 / 0.6642 GB, free: 46.1 MB / 0.5574 GB Notification: Performance of Templates: time 0.005163/0.2704, allocations: 4.993 MB / 0.6691 GB, free: 45.63 MB / 0.5574 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: 6.026519250124693] Failed to read output from testmodel.py, exit status != 0: 0.2756128078326583 0.28271349399999995 0.019445627 Calling exit ...