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.0008445/0.0008445, allocations: 80.48 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.0008578/0.0008578, 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.8669/0.8669, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.001456/0.001456, allocations: 230.4 kB / 260.2 MB, free: 13.04 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.6673/0.6673, allocations: 138.4 MB / 455.1 MB, free: 30 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.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.653e-06/1.653e-06, allocations: 0 / 0.6476 GB, free: 1.254 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.553e-05, allocations: 2.281 kB / 0.6476 GB, free: 1.25 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.2632/0.2632, allocations: 1.435 MB / 0.649 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003076/0.2663, allocations: 2.674 MB / 0.6516 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.2663, allocations: 1.406 kB / 0.6516 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.149e-05/0.2664, allocations: 2.062 kB / 0.6516 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.039e-05/0.2664, allocations: 15.89 kB / 0.6516 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002347/0.2688, allocations: 1.655 MB / 0.6533 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.831e-05/0.2688, allocations: 46.77 kB / 0.6533 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.2689, allocations: 3.484 kB / 0.6533 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.817e-05/0.2689, allocations: 19.5 kB / 0.6533 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 1.943e-05/0.2689, allocations: 9.656 kB / 0.6533 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.2689, allocations: 1.875 kB / 0.6533 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.2705, allocations: 1.493 MB / 0.6548 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.2705, allocations: 7.875 kB / 0.6548 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.216e-05/0.2705, allocations: 14.53 kB / 0.6548 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.2717, allocations: 1.273 MB / 0.6561 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2717, allocations: 0 / 0.6561 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2717, allocations: 0 / 0.6561 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.2717, allocations: 0 / 0.6561 GB, free: 53.99 MB / 0.5573 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.000403/0.2721, allocations: 475.2 kB / 0.6565 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2721, allocations: 11.45 kB / 0.6565 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.2722, allocations: 85.77 kB / 0.6566 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.971e-05/0.2722, allocations: 197.7 kB / 0.6568 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.2723, allocations: 153.1 kB / 0.6569 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.2723, allocations: 155.8 kB / 0.6571 GB, free: 52.99 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.615e-05/0.2723, allocations: 104.7 kB / 0.6572 GB, free: 52.88 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2723, allocations: 75.47 kB / 0.6573 GB, free: 52.81 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.2723, allocations: 155.6 kB / 0.6574 GB, free: 52.66 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.2724, allocations: 151.8 kB / 0.6576 GB, free: 52.51 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.602e-05/0.2724, allocations: 156.3 kB / 0.6577 GB, free: 52.36 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.2725, allocations: 421 kB / 0.6581 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.921e-05/0.2725, allocations: 168.2 kB / 0.6583 GB, free: 51.76 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.272e-05/0.2726, allocations: 80.14 kB / 0.6583 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.2726, allocations: 75.28 kB / 0.6584 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.2726, allocations: 113 kB / 0.6585 GB, free: 51.49 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 5.11e-07/0.2726, allocations: 0 / 0.6585 GB, free: 51.49 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 5.217e-05/0.2726, allocations: 37.44 kB / 0.6586 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.2727, allocations: 131.3 kB / 0.6587 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.269e-05/0.2727, allocations: 131.4 kB / 0.6588 GB, free: 51.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.601e-06/0.2728, allocations: 31.73 kB / 0.6588 GB, free: 51.17 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/0.2728, allocations: 94.7 kB / 0.6589 GB, free: 51.08 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/0.2728, allocations: 16 / 0.6589 GB, free: 51.08 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.2728, allocations: 19.95 kB / 0.6589 GB, free: 51.06 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.261e-05/0.2728, allocations: 315.5 kB / 0.6592 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/0.2729, allocations: 7.625 kB / 0.6593 GB, free: 50.74 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.372e-05/0.2729, allocations: 6.234 kB / 0.6593 GB, free: 50.74 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.117e-05/0.2729, allocations: 21.42 kB / 0.6593 GB, free: 50.73 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2729, allocations: 0 / 0.6593 GB, free: 50.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.528e-05/0.273, allocations: 52.02 kB / 0.6593 GB, free: 50.69 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.273, allocations: 6.688 kB / 0.6593 GB, free: 50.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.273, allocations: 4 kB / 0.6593 GB, free: 50.69 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.273, allocations: 3.938 kB / 0.6593 GB, free: 50.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.273, allocations: 0 / 0.6593 GB, free: 50.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.273, allocations: 6.188 kB / 0.6594 GB, free: 50.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/0.2731, allocations: 5.875 kB / 0.6594 GB, free: 50.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.2731, allocations: 1.344 kB / 0.6594 GB, free: 50.68 MB / 0.5573 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.094e-05/0.2731, allocations: 187.3 kB / 0.6595 GB, free: 50.49 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.2731, allocations: 110.6 kB / 0.6596 GB, free: 50.38 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.108e-05/0.2732, allocations: 120.9 kB / 0.6598 GB, free: 50.26 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.2732, allocations: 182.8 kB / 0.6599 GB, free: 50.08 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/0.2732, allocations: 181.1 kB / 0.6601 GB, free: 49.89 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.2732, allocations: 177.8 kB / 0.6603 GB, free: 49.71 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.557e-05/0.2733, allocations: 369.9 kB / 0.6606 GB, free: 49.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/0.2733, allocations: 107.4 kB / 0.6607 GB, free: 49.22 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.898e-06/0.2733, allocations: 104.5 kB / 0.6608 GB, free: 49.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.37e-05/0.2733, allocations: 181.2 kB / 0.661 GB, free: 48.93 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.2733, allocations: 178.7 kB / 0.6612 GB, free: 48.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.49e-05/0.2733, allocations: 182.9 kB / 0.6613 GB, free: 48.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-05/0.2734, allocations: 191.4 kB / 0.6615 GB, free: 48.38 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.197e-05/0.2734, allocations: 307.2 kB / 0.6618 GB, free: 48.06 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.2734, allocations: 108.4 kB / 0.6619 GB, free: 47.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.2734, allocations: 183 kB / 0.6621 GB, free: 47.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.202e-05/0.2735, allocations: 107 kB / 0.6622 GB, free: 47.66 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.2735, allocations: 186.9 kB / 0.6624 GB, free: 47.47 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.2735, allocations: 112.7 kB / 0.6625 GB, free: 47.36 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.299e-05/0.2735, allocations: 106.1 kB / 0.6626 GB, free: 47.27 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2735, allocations: 0 / 0.6626 GB, free: 47.27 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004537/0.274, allocations: 298.4 kB / 0.6629 GB, free: 47.2 MB / 0.5573 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.0007731/0.2747, allocations: 0.5802 MB / 0.6634 GB, free: 46.92 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.116e-05/0.2748, allocations: 40.12 kB / 0.6635 GB, free: 46.89 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.2748, allocations: 3.938 kB / 0.6635 GB, free: 46.88 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.2748, allocations: 3.938 kB / 0.6635 GB, free: 46.88 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.275, allocations: 464 kB / 0.6639 GB, free: 46.43 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002338/0.2753, allocations: 253.6 kB / 0.6642 GB, free: 46.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.492e-05/0.2753, allocations: 72.06 kB / 0.6642 GB, free: 46.12 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.262e-05/0.2753, allocations: 9.969 kB / 0.6642 GB, free: 46.12 MB / 0.5573 GB Notification: Performance of SimCode: time 4.81e-07/0.2753, allocations: 0 / 0.6642 GB, free: 46.12 MB / 0.5573 GB Notification: Performance of Templates: time 0.005277/0.2806, allocations: 5 MB / 0.6691 GB, free: 45.64 MB / 0.5573 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.213940626941621] Failed to read output from testmodel.py, exit status != 0: 0.2861073948442936 0.29369715299999993 0.020230633 Calling exit ...