Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.001359/0.001359, allocations: 81.42 kB / 19.18 MB, free: 2.527 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.001575/0.001575, allocations: 168.2 kB / 22.46 MB, free: 5.359 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.424/1.424, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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.002519/0.002519, allocations: 237.3 kB / 259.4 MB, free: 484 kB / 238.1 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.067/1.067, allocations: 138.4 MB / 454.3 MB, free: 2.008 MB / 366.1 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.6469 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.159e-05, allocations: 6.219 kB / 0.6469 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002446/0.002467, allocations: 1.439 MB / 0.6483 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004479/0.006946, allocations: 2.669 MB / 0.6509 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.531e-05/0.006982, allocations: 0 / 0.6509 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.267e-05/0.007004, allocations: 3.938 kB / 0.6509 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.503e-05/0.007069, allocations: 23.78 kB / 0.6509 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.2401/0.2472, allocations: 1.647 MB / 0.6525 GB, free: 53.26 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.2473, allocations: 46.17 kB / 0.6526 GB, free: 53.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.873e-05/0.2473, allocations: 4.281 kB / 0.6526 GB, free: 53.26 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.76e-05/0.2474, allocations: 22.53 kB / 0.6526 GB, free: 53.26 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.436e-05/0.2474, allocations: 11.16 kB / 0.6526 GB, free: 53.26 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.2474, allocations: 4.281 kB / 0.6526 GB, free: 53.26 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/0.2493, allocations: 1.491 MB / 0.6541 GB, free: 53.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.2493, allocations: 0 / 0.6541 GB, free: 53.24 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.2493, allocations: 13.53 kB / 0.6541 GB, free: 53.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.2506, allocations: 1.275 MB / 0.6553 GB, free: 53.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2506, allocations: 0 / 0.6553 GB, free: 53.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2506, allocations: 0.6875 kB / 0.6553 GB, free: 53.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.2506, allocations: 0 / 0.6553 GB, free: 53.18 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.0004653/0.2511, allocations: 469 kB / 0.6558 GB, free: 52.78 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.2511, allocations: 9.875 kB / 0.6558 GB, free: 52.78 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.2511, allocations: 90.23 kB / 0.6559 GB, free: 52.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.417e-05/0.2512, allocations: 202.7 kB / 0.6561 GB, free: 52.49 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.2512, allocations: 150.9 kB / 0.6562 GB, free: 52.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.2512, allocations: 150.9 kB / 0.6564 GB, free: 52.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.661e-05/0.2513, allocations: 108.5 kB / 0.6565 GB, free: 52.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2513, allocations: 75.47 kB / 0.6565 GB, free: 52.01 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.2513, allocations: 155.5 kB / 0.6567 GB, free: 51.86 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.2513, allocations: 154.5 kB / 0.6568 GB, free: 51.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.959e-05/0.2513, allocations: 160.8 kB / 0.657 GB, free: 51.56 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.2515, allocations: 413.1 kB / 0.6574 GB, free: 51.15 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.874e-05/0.2515, allocations: 165.1 kB / 0.6575 GB, free: 50.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.278e-05/0.2516, allocations: 83.3 kB / 0.6576 GB, free: 50.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.2516, allocations: 81.97 kB / 0.6577 GB, free: 50.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.2516, allocations: 112.4 kB / 0.6578 GB, free: 50.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.2516, allocations: 0 / 0.6578 GB, free: 50.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.132e-05/0.2516, allocations: 32.59 kB / 0.6578 GB, free: 50.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.2517, allocations: 133.7 kB / 0.658 GB, free: 50.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.602e-05/0.2518, allocations: 132.6 kB / 0.6581 GB, free: 50.44 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.6e-06/0.2518, allocations: 25.7 kB / 0.6581 GB, free: 50.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.797e-05/0.2518, allocations: 93.33 kB / 0.6582 GB, free: 50.32 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.2518, allocations: 0 / 0.6582 GB, free: 50.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.2518, allocations: 19.12 kB / 0.6582 GB, free: 50.31 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.918e-05/0.2519, allocations: 321.4 kB / 0.6585 GB, free: 50 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.186e-05/0.2519, allocations: 6.156 kB / 0.6585 GB, free: 50 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.481e-05/0.2519, allocations: 3.219 kB / 0.6585 GB, free: 50 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.272e-05/0.2519, allocations: 14.77 kB / 0.6585 GB, free: 49.99 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2519, allocations: 0 / 0.6585 GB, free: 49.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001135/0.2521, allocations: 58.89 kB / 0.6586 GB, free: 49.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.2521, allocations: 8.125 kB / 0.6586 GB, free: 49.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.2521, allocations: 3.438 kB / 0.6586 GB, free: 49.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.2521, allocations: 0.5 kB / 0.6586 GB, free: 49.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.253e-06/0.2521, allocations: 4.531 kB / 0.6586 GB, free: 49.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.277e-06/0.2521, allocations: 4.594 kB / 0.6586 GB, free: 49.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.2521, allocations: 11.27 kB / 0.6586 GB, free: 49.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.2521, allocations: 0 / 0.6586 GB, free: 49.94 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 4.301e-05/0.2522, allocations: 184.4 kB / 0.6588 GB, free: 49.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.2522, allocations: 111.6 kB / 0.6589 GB, free: 49.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.325e-05/0.2522, allocations: 117.9 kB / 0.659 GB, free: 49.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.2522, allocations: 176.3 kB / 0.6592 GB, free: 49.36 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.582e-05/0.2523, allocations: 187.2 kB / 0.6594 GB, free: 49.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/0.2523, allocations: 183.5 kB / 0.6595 GB, free: 48.99 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.2524, allocations: 363.3 kB / 0.6599 GB, free: 48.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.2524, allocations: 104.4 kB / 0.66 GB, free: 48.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.235e-05/0.2524, allocations: 111.2 kB / 0.6601 GB, free: 48.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.849e-05/0.2524, allocations: 177.3 kB / 0.6603 GB, free: 48.22 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.2525, allocations: 182 kB / 0.6604 GB, free: 48.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-05/0.2525, allocations: 179.6 kB / 0.6606 GB, free: 47.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.787e-05/0.2525, allocations: 184.1 kB / 0.6608 GB, free: 47.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.758e-05/0.2526, allocations: 317.1 kB / 0.6611 GB, free: 47.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.024e-05/0.2526, allocations: 111.6 kB / 0.6612 GB, free: 47.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.2526, allocations: 182.9 kB / 0.6614 GB, free: 47.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.682e-05/0.2527, allocations: 107.4 kB / 0.6615 GB, free: 46.97 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.2527, allocations: 186.9 kB / 0.6617 GB, free: 46.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.2527, allocations: 106 kB / 0.6618 GB, free: 46.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.663e-05/0.2528, allocations: 98.33 kB / 0.6618 GB, free: 46.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2528, allocations: 0 / 0.6618 GB, free: 46.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006149/0.2534, allocations: 298.1 kB / 0.6621 GB, free: 46.54 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.0009397/0.2543, allocations: 0.5862 MB / 0.6627 GB, free: 46.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.009e-05/0.2544, allocations: 35.7 kB / 0.6627 GB, free: 46.28 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.2544, allocations: 3.125 kB / 0.6627 GB, free: 46.28 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.2544, allocations: 0 / 0.6627 GB, free: 46.28 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.2547, allocations: 476.9 kB / 0.6632 GB, free: 45.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002332/0.2549, allocations: 226.9 kB / 0.6634 GB, free: 45.63 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.345e-05/0.255, allocations: 71.52 kB / 0.6635 GB, free: 45.56 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.219e-05/0.255, allocations: 2.656 kB / 0.6635 GB, free: 45.56 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.471e-05/0.255, allocations: 11.59 kB / 0.6635 GB, free: 45.55 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.255, allocations: 0 / 0.6635 GB, free: 45.55 MB / 0.5606 GB Notification: Performance of Templates: time 0.009195/0.2642, allocations: 5.897 MB / 0.6693 GB, free: 45.13 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0056936256587505] Failed to read output from testmodel.py, exit status != 0: 0.2716979756951332 0.282157928 0.029033667000000003 Calling exit ...