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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 110.5 kB / 16.41 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 193 kB / 17.34 MB, free: 5.602 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7915/0.7915, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.22 kB / 0.5685 GB, free: 28.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1903, allocations: 77.94 MB / 0.6446 GB, free: 8.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002881/0.1932, allocations: 1.405 MB / 0.646 GB, free: 7.574 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005085/0.1984, allocations: 2.854 MB / 0.6488 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.151e-05/0.1984, allocations: 0 / 0.6488 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.809e-05/0.1985, allocations: 7.922 kB / 0.6488 GB, free: 4.695 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.404e-05/0.1986, allocations: 19.86 kB / 0.6488 GB, free: 4.676 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004873/0.2035, allocations: 1.561 MB / 0.6504 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.2037, allocations: 43.67 kB / 0.6504 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.188e-05/0.2037, allocations: 4 kB / 0.6504 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.505e-05/0.2038, allocations: 7.938 kB / 0.6504 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.858e-05/0.2038, allocations: 19.92 kB / 0.6504 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.2039, allocations: 4 kB / 0.6504 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.2063, allocations: 1.486 MB / 0.6519 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.2063, allocations: 15.94 kB / 0.6519 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.2063, allocations: 11.88 kB / 0.6519 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.2078, allocations: 1.083 MB / 0.653 GB, free: 460 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2078, allocations: 0 / 0.653 GB, free: 460 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2078, allocations: 0 / 0.653 GB, free: 460 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.2078, allocations: 0 / 0.653 GB, free: 460 kB / 494.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.0006055/0.2084, allocations: 0.5323 MB / 0.6535 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.2084, allocations: 12.62 kB / 0.6535 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.247e-05/0.2085, allocations: 80.17 kB / 0.6536 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.2087, allocations: 261.2 kB / 0.6538 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-05/0.2087, allocations: 150.9 kB / 0.654 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.286e-05/0.2088, allocations: 154.9 kB / 0.6541 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.956e-05/0.2089, allocations: 113.1 kB / 0.6542 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/0.2089, allocations: 79.27 kB / 0.6543 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.465e-05/0.209, allocations: 150.6 kB / 0.6544 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.288e-05/0.2091, allocations: 154.6 kB / 0.6546 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.167e-05/0.2091, allocations: 150.6 kB / 0.6547 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.2094, allocations: 469.9 kB / 0.6552 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.242e-05/0.2095, allocations: 165.1 kB / 0.6553 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.2096, allocations: 88.14 kB / 0.6554 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.2096, allocations: 75.28 kB / 0.6555 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.2097, allocations: 109.8 kB / 0.6556 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.2097, allocations: 0 / 0.6556 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.887e-05/0.2097, allocations: 41.59 kB / 0.6556 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.2098, allocations: 126.7 kB / 0.6558 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.21, allocations: 131.2 kB / 0.6559 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.21, allocations: 25.7 kB / 0.6559 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.21, allocations: 96.12 kB / 0.656 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-06/0.21, allocations: 0 / 0.656 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.2101, allocations: 13.72 kB / 0.656 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.2102, allocations: 318.8 kB / 0.6563 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.623e-05/0.2102, allocations: 4 kB / 0.6563 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.5e-05/0.2103, allocations: 7.938 kB / 0.6563 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.642e-05/0.2103, allocations: 16.89 kB / 0.6563 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2103, allocations: 0 / 0.6563 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001243/0.2104, allocations: 57.52 kB / 0.6564 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.2105, allocations: 8 kB / 0.6564 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.2105, allocations: 0 / 0.6564 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.2105, allocations: 4 kB / 0.6564 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.81e-07/0.2105, allocations: 0 / 0.6564 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.2105, allocations: 0 / 0.6564 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.896e-05/0.2105, allocations: 0 / 0.6564 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.2106, allocations: 0 / 0.6564 GB, free: 12.68 MB / 0.4981 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 0.0001055/0.2107, allocations: 189.2 kB / 0.6566 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/0.2107, allocations: 112.9 kB / 0.6567 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.126e-05/0.2108, allocations: 120.8 kB / 0.6568 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-05/0.2109, allocations: 176.3 kB / 0.657 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.103e-05/0.2109, allocations: 184.2 kB / 0.6572 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.43e-05/0.211, allocations: 184.2 kB / 0.6573 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.2113, allocations: 409.2 kB / 0.6577 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-05/0.2113, allocations: 116.9 kB / 0.6578 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.651e-05/0.2113, allocations: 101 kB / 0.6579 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-05/0.2114, allocations: 180.2 kB / 0.6581 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.324e-05/0.2115, allocations: 176.3 kB / 0.6583 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.588e-05/0.2116, allocations: 192.2 kB / 0.6585 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-05/0.2116, allocations: 180.2 kB / 0.6586 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.2118, allocations: 307.7 kB / 0.6589 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.053e-05/0.2118, allocations: 190 kB / 0.6591 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.978e-05/0.2119, allocations: 184.2 kB / 0.6593 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.397e-05/0.212, allocations: 105 kB / 0.6594 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.412e-05/0.2121, allocations: 180.3 kB / 0.6596 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.573e-05/0.2121, allocations: 112.9 kB / 0.6597 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.975e-05/0.2122, allocations: 97.45 kB / 0.6598 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2122, allocations: 0 / 0.6598 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000707/0.2129, allocations: 287 kB / 0.66 GB, free: 8.754 MB / 0.4981 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.001025/0.2139, allocations: 0.527 MB / 0.6605 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.495e-05/0.2141, allocations: 37.69 kB / 0.6606 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2141, allocations: 0 / 0.6606 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.502e-06/0.2141, allocations: 0 / 0.6606 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.2145, allocations: 479.1 kB / 0.661 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.2148, allocations: 236.1 kB / 0.6613 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.2151, allocations: 0.6846 MB / 0.6619 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.164e-05/0.2151, allocations: 0 / 0.6619 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.127e-05/0.2151, allocations: 15.44 kB / 0.6619 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.2151, allocations: 0 / 0.6619 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of Templates: time 0.008945/0.2241, allocations: 5.456 MB / 0.6673 GB, free: 1.316 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)