Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009478/0.000948, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 184.8 kB / 16.92 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6973/0.6973, allocations: 115.5 MB / 407.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003584, allocations: 8.5 kB / 495.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1915, allocations: 77.54 MB / 0.56 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00156/0.1931, allocations: 1.133 MB / 0.5611 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004514/0.1976, allocations: 2.897 MB / 0.5639 GB, free: 4.883 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.1977, allocations: 4 kB / 0.5639 GB, free: 4.879 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.1977, allocations: 7.922 kB / 0.5639 GB, free: 4.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.431e-05/0.1978, allocations: 7.922 kB / 0.564 GB, free: 4.863 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003435/0.2012, allocations: 1.375 MB / 0.5653 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.231e-05/0.2013, allocations: 31.8 kB / 0.5653 GB, free: 3.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.2014, allocations: 7.938 kB / 0.5653 GB, free: 3.473 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.304e-05/0.2014, allocations: 12 kB / 0.5653 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.855e-05/0.2014, allocations: 23.86 kB / 0.5654 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.2015, allocations: 0 / 0.5654 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002071/0.2035, allocations: 1.427 MB / 0.5668 GB, free: 2.008 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.2036, allocations: 8 kB / 0.5668 GB, free: 2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.2036, allocations: 41.58 kB / 0.5668 GB, free: 1.953 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.205, allocations: 1.1 MB / 0.5679 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.205, allocations: 0 / 0.5679 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.205, allocations: 4 kB / 0.5679 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.205, allocations: 0 / 0.5679 GB, free: 0.8477 MB / 430.1 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.0005576/0.2056, allocations: 0.5069 MB / 0.5684 GB, free: 300 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.2056, allocations: 8.031 kB / 0.5684 GB, free: 292 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.424e-05/0.2057, allocations: 88.11 kB / 0.5685 GB, free: 204 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.2058, allocations: 251.7 kB / 0.5687 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.265e-05/0.2059, allocations: 150.9 kB / 0.5689 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.141e-05/0.206, allocations: 154.9 kB / 0.569 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.017e-05/0.206, allocations: 113 kB / 0.5691 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.2061, allocations: 79.28 kB / 0.5692 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.261e-05/0.2061, allocations: 150.6 kB / 0.5693 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.676e-05/0.2062, allocations: 150.6 kB / 0.5695 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.274e-05/0.2062, allocations: 150.6 kB / 0.5696 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/0.2065, allocations: 465.9 kB / 0.5701 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.073e-05/0.2066, allocations: 169.1 kB / 0.5702 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.23e-05/0.2067, allocations: 80.14 kB / 0.5703 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.2067, allocations: 75.28 kB / 0.5704 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/0.2067, allocations: 113.8 kB / 0.5705 GB, free: 14.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.2068, allocations: 4 kB / 0.5705 GB, free: 14.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 8.068e-05/0.2068, allocations: 37.59 kB / 0.5705 GB, free: 13.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.2069, allocations: 126.7 kB / 0.5706 GB, free: 13.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.207, allocations: 136 kB / 0.5708 GB, free: 13.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.2071, allocations: 25.7 kB / 0.5708 GB, free: 13.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.2071, allocations: 88.14 kB / 0.5709 GB, free: 13.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.2071, allocations: 0 / 0.5709 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.2072, allocations: 13.72 kB / 0.5709 GB, free: 13.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.2073, allocations: 322.8 kB / 0.5712 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.2073, allocations: 4 kB / 0.5712 GB, free: 13.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.522e-05/0.2073, allocations: 4 kB / 0.5712 GB, free: 13.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.936e-05/0.2074, allocations: 12.86 kB / 0.5712 GB, free: 13.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2074, allocations: 0 / 0.5712 GB, free: 13.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000124/0.2075, allocations: 57.47 kB / 0.5713 GB, free: 13.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2075, allocations: 8 kB / 0.5713 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.2075, allocations: 0 / 0.5713 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2076, allocations: 7.938 kB / 0.5713 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.492e-06/0.2076, allocations: 4.062 kB / 0.5713 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2076, allocations: 0 / 0.5713 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.088e-05/0.2076, allocations: 0 / 0.5713 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.2076, allocations: 3.938 kB / 0.5713 GB, free: 13.11 MB / 446.1 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 9.75e-05/0.2077, allocations: 189.1 kB / 0.5715 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.2078, allocations: 112.9 kB / 0.5716 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.753e-05/0.2078, allocations: 112.8 kB / 0.5717 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.009e-05/0.2079, allocations: 184.3 kB / 0.5719 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.009e-05/0.208, allocations: 184.3 kB / 0.572 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.125e-05/0.208, allocations: 184.2 kB / 0.5722 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.2082, allocations: 409.2 kB / 0.5726 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-05/0.2083, allocations: 112.9 kB / 0.5727 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/0.2083, allocations: 105 kB / 0.5728 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.887e-05/0.2084, allocations: 184.2 kB / 0.573 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.34e-05/0.2085, allocations: 180.2 kB / 0.5732 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.411e-05/0.2085, allocations: 180.3 kB / 0.5733 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.018e-05/0.2086, allocations: 180.2 kB / 0.5735 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.2087, allocations: 311.8 kB / 0.5738 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.119e-05/0.2088, allocations: 194 kB / 0.574 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.598e-05/0.2089, allocations: 176.3 kB / 0.5742 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.189e-05/0.2089, allocations: 108.9 kB / 0.5743 GB, free: 9.863 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/0.209, allocations: 180.3 kB / 0.5744 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.2091, allocations: 109 kB / 0.5745 GB, free: 9.566 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.238e-05/0.2091, allocations: 102.1 kB / 0.5746 GB, free: 9.469 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.2091, allocations: 0 / 0.5746 GB, free: 9.469 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006884/0.2098, allocations: 283.7 kB / 0.5749 GB, free: 9.191 MB / 446.1 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.001008/0.2108, allocations: 0.5175 MB / 0.5754 GB, free: 8.664 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.2109, allocations: 37.7 kB / 0.5755 GB, free: 8.621 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.211, allocations: 4.062 kB / 0.5755 GB, free: 8.617 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.844e-06/0.211, allocations: 0 / 0.5755 GB, free: 8.617 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.2114, allocations: 0.5263 MB / 0.576 GB, free: 8.086 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.2117, allocations: 267.6 kB / 0.5762 GB, free: 7.801 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.212, allocations: 0.6809 MB / 0.5769 GB, free: 7.094 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.177e-05/0.212, allocations: 0 / 0.5769 GB, free: 7.094 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.087e-05/0.212, allocations: 7.438 kB / 0.5769 GB, free: 7.086 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.212, allocations: 3.938 kB / 0.5769 GB, free: 7.082 MB / 446.1 MB Notification: Performance of Templates: time 0.009105/0.2211, allocations: 5.478 MB / 0.5823 GB, free: 1.656 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)