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.001328/0.001328, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.001429/0.001429, allocations: 175.3 kB / 22.46 MB, free: 5.355 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.432/1.432, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.002609/0.002609, allocations: 241.7 kB / 259.4 MB, free: 472 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.074/1.074, allocations: 138.4 MB / 454.3 MB, free: 2.016 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.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.442e-06/1.442e-06, allocations: 3.938 kB / 0.6469 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.411e-05, allocations: 2.281 kB / 0.6469 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002743/0.002767, allocations: 1.439 MB / 0.6483 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00474/0.007507, allocations: 2.673 MB / 0.6509 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.966e-05/0.007546, allocations: 0 / 0.6509 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.358e-05/0.00757, allocations: 3.938 kB / 0.6509 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.628e-05/0.007636, allocations: 19.78 kB / 0.6509 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.2433/0.2509, allocations: 1.651 MB / 0.6525 GB, free: 53.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.251, allocations: 43.06 kB / 0.6526 GB, free: 53.22 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.649e-05/0.251, allocations: 3.656 kB / 0.6526 GB, free: 53.22 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.231e-05/0.2511, allocations: 18.38 kB / 0.6526 GB, free: 53.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.419e-05/0.2511, allocations: 16.38 kB / 0.6526 GB, free: 53.22 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.2511, allocations: 0 / 0.6526 GB, free: 53.22 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.2532, allocations: 1.49 MB / 0.6541 GB, free: 53.2 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.2532, allocations: 6.094 kB / 0.6541 GB, free: 53.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.2532, allocations: 17.12 kB / 0.6541 GB, free: 53.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.2546, allocations: 1.271 MB / 0.6553 GB, free: 53.14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2546, allocations: 0 / 0.6553 GB, free: 53.14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2546, allocations: 0 / 0.6553 GB, free: 53.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.2546, allocations: 0.6875 kB / 0.6553 GB, free: 53.14 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.0004732/0.2551, allocations: 471.3 kB / 0.6558 GB, free: 52.74 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.2551, allocations: 11.25 kB / 0.6558 GB, free: 52.74 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.2552, allocations: 83.64 kB / 0.6559 GB, free: 52.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.552e-05/0.2553, allocations: 199.1 kB / 0.6561 GB, free: 52.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.2553, allocations: 152 kB / 0.6562 GB, free: 52.31 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.2553, allocations: 150.9 kB / 0.6564 GB, free: 52.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.748e-05/0.2553, allocations: 108.2 kB / 0.6565 GB, free: 52.05 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.2553, allocations: 77.81 kB / 0.6565 GB, free: 51.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.2554, allocations: 155 kB / 0.6567 GB, free: 51.83 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.2554, allocations: 154.5 kB / 0.6568 GB, free: 51.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.2554, allocations: 158 kB / 0.657 GB, free: 51.53 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.2556, allocations: 409.6 kB / 0.6574 GB, free: 51.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.368e-05/0.2556, allocations: 171.3 kB / 0.6575 GB, free: 50.95 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.311e-05/0.2556, allocations: 81.61 kB / 0.6576 GB, free: 50.87 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.2556, allocations: 75.28 kB / 0.6577 GB, free: 50.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.2556, allocations: 112.7 kB / 0.6578 GB, free: 50.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.2556, allocations: 0.7188 kB / 0.6578 GB, free: 50.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.138e-05/0.2557, allocations: 32.91 kB / 0.6578 GB, free: 50.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.2557, allocations: 142.7 kB / 0.658 GB, free: 50.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.674e-05/0.2558, allocations: 132.5 kB / 0.6581 GB, free: 50.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.801e-06/0.2558, allocations: 25.7 kB / 0.6581 GB, free: 50.37 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.2559, allocations: 95.36 kB / 0.6582 GB, free: 50.29 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.2559, allocations: 0 / 0.6582 GB, free: 50.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.2559, allocations: 12.97 kB / 0.6582 GB, free: 50.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.4e-05/0.2559, allocations: 321.1 kB / 0.6585 GB, free: 49.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/0.2559, allocations: 7.156 kB / 0.6585 GB, free: 49.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.473e-05/0.256, allocations: 3.25 kB / 0.6585 GB, free: 49.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.273e-05/0.256, allocations: 18.45 kB / 0.6585 GB, free: 49.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.256, allocations: 0 / 0.6585 GB, free: 49.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001037/0.2561, allocations: 54.39 kB / 0.6586 GB, free: 49.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.2561, allocations: 8.312 kB / 0.6586 GB, free: 49.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.2561, allocations: 3.938 kB / 0.6586 GB, free: 49.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.2561, allocations: 3.094 kB / 0.6586 GB, free: 49.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.2561, allocations: 7.438 kB / 0.6586 GB, free: 49.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.2561, allocations: 3.344 kB / 0.6586 GB, free: 49.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.2562, allocations: 11.27 kB / 0.6586 GB, free: 49.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.2562, allocations: 0 / 0.6586 GB, free: 49.91 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.441e-05/0.2562, allocations: 187.8 kB / 0.6588 GB, free: 49.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.2562, allocations: 106.4 kB / 0.6589 GB, free: 49.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.2563, allocations: 115.2 kB / 0.659 GB, free: 49.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.2563, allocations: 183.1 kB / 0.6592 GB, free: 49.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.066e-05/0.2563, allocations: 188.6 kB / 0.6594 GB, free: 49.14 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.87e-05/0.2563, allocations: 179.5 kB / 0.6595 GB, free: 48.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.2564, allocations: 365.2 kB / 0.6599 GB, free: 48.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.2564, allocations: 104.2 kB / 0.66 GB, free: 48.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.07e-05/0.2565, allocations: 108.1 kB / 0.6601 GB, free: 48.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.871e-05/0.2565, allocations: 176.3 kB / 0.6603 GB, free: 48.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.2565, allocations: 183.6 kB / 0.6604 GB, free: 48.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.956e-05/0.2565, allocations: 185 kB / 0.6606 GB, free: 47.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-05/0.2565, allocations: 179.6 kB / 0.6608 GB, free: 47.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.132e-05/0.2566, allocations: 309.8 kB / 0.6611 GB, free: 47.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.981e-05/0.2566, allocations: 118.5 kB / 0.6612 GB, free: 47.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.2566, allocations: 183.5 kB / 0.6614 GB, free: 47.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.586e-05/0.2567, allocations: 109 kB / 0.6615 GB, free: 46.94 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.2567, allocations: 187.3 kB / 0.6617 GB, free: 46.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.2567, allocations: 107.4 kB / 0.6618 GB, free: 46.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.2568, allocations: 95.58 kB / 0.6618 GB, free: 46.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2568, allocations: 0 / 0.6618 GB, free: 46.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006079/0.2574, allocations: 298.9 kB / 0.6621 GB, free: 46.51 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.0009392/0.2583, allocations: 0.59 MB / 0.6627 GB, free: 46.28 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.147e-05/0.2584, allocations: 36.05 kB / 0.6627 GB, free: 46.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2584, allocations: 0 / 0.6627 GB, free: 46.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.2584, allocations: 3.094 kB / 0.6627 GB, free: 46.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.2587, allocations: 473.3 kB / 0.6632 GB, free: 45.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002247/0.2589, allocations: 227.7 kB / 0.6634 GB, free: 45.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.331e-05/0.2589, allocations: 67.78 kB / 0.6635 GB, free: 45.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.135e-05/0.2589, allocations: 2.656 kB / 0.6635 GB, free: 45.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.086e-05/0.259, allocations: 11.59 kB / 0.6635 GB, free: 45.52 MB / 0.5606 GB Notification: Performance of SimCode: time 4.6e-07/0.259, allocations: 0 / 0.6635 GB, free: 45.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.00895/0.2679, allocations: 5.917 MB / 0.6693 GB, free: 45.11 MB / 0.5606 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: 5.953801967203617] Failed to read output from testmodel.py, exit status != 0: 0.27572039887309074 0.285212998 0.028126686 Calling exit ...