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.001905/0.001905, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002395/0.002395, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.453/1.453, allocations: 177.1 MB / 203.1 MB, free: 5.578 MB / 186.7 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.002607/0.002607, allocations: 234 kB / 259.8 MB, free: 12.82 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 1.092/1.092, allocations: 138.4 MB / 454.7 MB, free: 1.438 MB / 362.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.502e-06/1.502e-06, allocations: 0 / 0.5544 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.743e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002866/0.002894, allocations: 1.426 MB / 0.5558 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005292/0.008186, allocations: 2.682 MB / 0.5584 GB, free: 12.6 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.485e-05/0.008241, allocations: 0 / 0.5584 GB, free: 12.6 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.993e-05/0.00827, allocations: 7.922 kB / 0.5584 GB, free: 12.59 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.81e-05/0.008339, allocations: 11.86 kB / 0.5585 GB, free: 12.58 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004888/0.01323, allocations: 1.654 MB / 0.5601 GB, free: 10.93 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.01333, allocations: 39.69 kB / 0.5601 GB, free: 10.89 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.586e-05/0.01336, allocations: 7.984 kB / 0.5601 GB, free: 10.88 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.4e-05/0.01342, allocations: 23.92 kB / 0.5601 GB, free: 10.86 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.19e-05/0.01345, allocations: 11.94 kB / 0.5601 GB, free: 10.85 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.01346, allocations: 0 / 0.5601 GB, free: 10.85 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003007/0.01647, allocations: 1.497 MB / 0.5616 GB, free: 9.348 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.01649, allocations: 7.984 kB / 0.5616 GB, free: 9.34 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.05e-05/0.01653, allocations: 11.94 kB / 0.5616 GB, free: 9.328 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002413/0.01894, allocations: 1.278 MB / 0.5629 GB, free: 8.047 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.01894, allocations: 0 / 0.5629 GB, free: 8.047 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01895, allocations: 0 / 0.5629 GB, free: 8.047 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.01895, allocations: 0 / 0.5629 GB, free: 8.047 MB / 490.7 MB 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.0008121/0.01976, allocations: 476 kB / 0.5633 GB, free: 7.551 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.0198, allocations: 8.031 kB / 0.5633 GB, free: 7.543 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.233e-05/0.01988, allocations: 80.22 kB / 0.5634 GB, free: 7.465 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.02007, allocations: 195.9 kB / 0.5636 GB, free: 7.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.743e-05/0.02015, allocations: 150.9 kB / 0.5637 GB, free: 7.102 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.612e-05/0.02024, allocations: 158.9 kB / 0.5639 GB, free: 6.945 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.758e-05/0.02033, allocations: 109.5 kB / 0.564 GB, free: 6.832 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001558/0.02048, allocations: 75.47 kB / 0.5641 GB, free: 6.758 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-05/0.02057, allocations: 154.7 kB / 0.5642 GB, free: 6.605 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.303e-05/0.02065, allocations: 154.6 kB / 0.5644 GB, free: 6.453 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.548e-05/0.02074, allocations: 154.6 kB / 0.5645 GB, free: 6.301 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.0211, allocations: 413.6 kB / 0.5649 GB, free: 5.867 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.02122, allocations: 169.1 kB / 0.5651 GB, free: 5.691 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.239e-05/0.02128, allocations: 80.14 kB / 0.5651 GB, free: 5.609 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.481e-05/0.02132, allocations: 79.28 kB / 0.5652 GB, free: 5.531 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.795e-05/0.02139, allocations: 109.8 kB / 0.5653 GB, free: 5.414 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.02139, allocations: 0 / 0.5653 GB, free: 5.414 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 9.211e-05/0.02148, allocations: 41.59 kB / 0.5654 GB, free: 5.367 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.101e-05/0.02157, allocations: 138.5 kB / 0.5655 GB, free: 5.219 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.02174, allocations: 129.8 kB / 0.5656 GB, free: 5.082 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.02176, allocations: 25.7 kB / 0.5656 GB, free: 5.051 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/0.02183, allocations: 88.14 kB / 0.5657 GB, free: 4.961 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/0.02183, allocations: 0 / 0.5657 GB, free: 4.961 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.02188, allocations: 25.7 kB / 0.5658 GB, free: 4.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.02206, allocations: 310.8 kB / 0.5661 GB, free: 4.617 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.025e-05/0.02209, allocations: 8 kB / 0.5661 GB, free: 4.609 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.874e-05/0.02211, allocations: 8 kB / 0.5661 GB, free: 4.602 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.552e-05/0.02216, allocations: 16.92 kB / 0.5661 GB, free: 4.582 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.02216, allocations: 3.984 kB / 0.5661 GB, free: 4.578 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001524/0.02231, allocations: 53.59 kB / 0.5661 GB, free: 4.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.02233, allocations: 8 kB / 0.5661 GB, free: 4.512 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.02235, allocations: 3.984 kB / 0.5662 GB, free: 4.508 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.02237, allocations: 7.938 kB / 0.5662 GB, free: 4.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.02237, allocations: 0 / 0.5662 GB, free: 4.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.02238, allocations: 3.984 kB / 0.5662 GB, free: 4.496 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.285e-05/0.0224, allocations: 0 / 0.5662 GB, free: 4.496 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.02241, allocations: 0 / 0.5662 GB, free: 4.496 MB / 490.7 MB 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.0001398/0.02255, allocations: 193.2 kB / 0.5663 GB, free: 4.297 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-05/0.02263, allocations: 108.9 kB / 0.5665 GB, free: 4.184 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.07e-05/0.0227, allocations: 112.7 kB / 0.5666 GB, free: 4.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000102/0.0228, allocations: 184.2 kB / 0.5667 GB, free: 3.883 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001084/0.02291, allocations: 180.2 kB / 0.5669 GB, free: 3.699 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.622e-05/0.02301, allocations: 180.2 kB / 0.5671 GB, free: 3.516 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.02329, allocations: 364.9 kB / 0.5674 GB, free: 3.121 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-05/0.02335, allocations: 108.9 kB / 0.5675 GB, free: 3.008 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.574e-05/0.02341, allocations: 101 kB / 0.5676 GB, free: 2.902 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001008/0.02351, allocations: 176.3 kB / 0.5678 GB, free: 2.723 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.94e-05/0.02361, allocations: 188.2 kB / 0.568 GB, free: 2.531 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001113/0.02372, allocations: 184.3 kB / 0.5681 GB, free: 2.344 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001116/0.02383, allocations: 188.1 kB / 0.5683 GB, free: 2.152 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.02403, allocations: 311.7 kB / 0.5686 GB, free: 1.824 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.256e-05/0.0241, allocations: 108.9 kB / 0.5687 GB, free: 1.711 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.02421, allocations: 176.3 kB / 0.5689 GB, free: 1.531 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.02431, allocations: 108.9 kB / 0.569 GB, free: 1.418 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.02442, allocations: 188.2 kB / 0.5692 GB, free: 1.227 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.317e-05/0.02449, allocations: 112.9 kB / 0.5693 GB, free: 1.109 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.688e-05/0.02457, allocations: 102.1 kB / 0.5694 GB, free: 1.012 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02457, allocations: 4 kB / 0.5694 GB, free: 1.008 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009107/0.02548, allocations: 302.9 kB / 0.5697 GB, free: 0.7109 MB / 490.7 MB 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.001514/0.027, allocations: 0.5863 MB / 0.5703 GB, free: 120 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.02711, allocations: 37.7 kB / 0.5703 GB, free: 76 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.02711, allocations: 64 / 0.5703 GB, free: 76 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.169e-06/0.02712, allocations: 8 kB / 0.5703 GB, free: 68 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.02764, allocations: 463.7 kB / 0.5707 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.02803, allocations: 230.7 kB / 0.571 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.448e-05/0.02811, allocations: 67.33 kB / 0.571 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.38e-05/0.02812, allocations: 0 / 0.571 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.02815, allocations: 16.5 kB / 0.571 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of SimCode: time 6.82e-07/0.02815, allocations: 0 / 0.571 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of Templates: time 0.01271/0.04086, allocations: 5.944 MB / 0.5768 GB, free: 9.363 MB / 0.4948 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: 5.8500890609575436]