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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008665/0.0008665, allocations: 88.17 kB / 15.7 MB, free: 460 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.00111/0.00111, allocations: 172 kB / 16.58 MB, free: 6.797 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.382/1.382, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7394/0.7394, allocations: 115.5 MB / 407.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003505, allocations: 14 kB / 495.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1898, allocations: 77.53 MB / 0.5594 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001669/0.1915, allocations: 1.135 MB / 0.5605 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00402/0.1956, allocations: 2.653 MB / 0.5631 GB, free: 5.562 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.286e-05/0.1956, allocations: 0 / 0.5631 GB, free: 5.562 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/0.1956, allocations: 7.922 kB / 0.5631 GB, free: 5.555 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.219e-05/0.1957, allocations: 15.86 kB / 0.5631 GB, free: 5.539 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003005/0.1987, allocations: 1.258 MB / 0.5643 GB, free: 4.301 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.545e-05/0.1988, allocations: 35.75 kB / 0.5644 GB, free: 4.266 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.055e-05/0.1989, allocations: 7.984 kB / 0.5644 GB, free: 4.258 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.578e-05/0.1989, allocations: 11.94 kB / 0.5644 GB, free: 4.246 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.913e-05/0.1989, allocations: 15.94 kB / 0.5644 GB, free: 4.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.497e-06/0.1989, allocations: 4 kB / 0.5644 GB, free: 4.227 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.2006, allocations: 1.248 MB / 0.5656 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.2006, allocations: 7.938 kB / 0.5656 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.2007, allocations: 33.69 kB / 0.5657 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008764/0.2015, allocations: 0.7138 MB / 0.5664 GB, free: 2.215 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.2016, allocations: 4 kB / 0.5664 GB, free: 2.211 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.2016, allocations: 3.938 kB / 0.5664 GB, free: 2.207 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.2016, allocations: 0 / 0.5664 GB, free: 2.207 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.0005558/0.2021, allocations: 0.5184 MB / 0.5669 GB, free: 1.641 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.2022, allocations: 12.03 kB / 0.5669 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.2023, allocations: 79.19 kB / 0.567 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.2024, allocations: 242.3 kB / 0.5672 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.814e-05/0.2025, allocations: 158.5 kB / 0.5673 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.827e-05/0.2026, allocations: 154.5 kB / 0.5675 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.274e-05/0.2026, allocations: 105 kB / 0.5676 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.2027, allocations: 75.28 kB / 0.5677 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/0.2027, allocations: 150.6 kB / 0.5678 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.581e-05/0.2028, allocations: 150.6 kB / 0.568 GB, free: 496 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.825e-05/0.2028, allocations: 158.5 kB / 0.5681 GB, free: 336 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.2031, allocations: 465.8 kB / 0.5685 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.325e-05/0.2032, allocations: 177.1 kB / 0.5687 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.639e-05/0.2033, allocations: 80.14 kB / 0.5688 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.2033, allocations: 75.28 kB / 0.5689 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.2033, allocations: 109.8 kB / 0.569 GB, free: 15.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2034, allocations: 4 kB / 0.569 GB, free: 15.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.485e-05/0.2034, allocations: 29.7 kB / 0.569 GB, free: 15.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.2035, allocations: 126.7 kB / 0.5691 GB, free: 15.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.2036, allocations: 144 kB / 0.5693 GB, free: 15.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.2037, allocations: 29.64 kB / 0.5693 GB, free: 15.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.2037, allocations: 92.14 kB / 0.5694 GB, free: 14.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.2037, allocations: 0 / 0.5694 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.2037, allocations: 0 / 0.5694 GB, free: 14.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.2038, allocations: 322.8 kB / 0.5697 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.277e-05/0.2039, allocations: 4 kB / 0.5697 GB, free: 14.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.384e-05/0.2039, allocations: 4 kB / 0.5697 GB, free: 14.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.815e-05/0.2039, allocations: 8 kB / 0.5697 GB, free: 14.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.2039, allocations: 4 kB / 0.5697 GB, free: 14.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001206/0.2041, allocations: 53.5 kB / 0.5698 GB, free: 14.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2041, allocations: 4 kB / 0.5698 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/0.2041, allocations: 7.984 kB / 0.5698 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.2041, allocations: 3.938 kB / 0.5698 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.2041, allocations: 0 / 0.5698 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2041, allocations: 8.062 kB / 0.5698 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.928e-05/0.2042, allocations: 0 / 0.5698 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.2042, allocations: 0 / 0.5698 GB, free: 14.49 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.344e-05/0.2043, allocations: 185.1 kB / 0.57 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.2043, allocations: 112.8 kB / 0.5701 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.337e-05/0.2044, allocations: 120.6 kB / 0.5702 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.207e-05/0.2045, allocations: 180.3 kB / 0.5703 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.353e-05/0.2045, allocations: 180.2 kB / 0.5705 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.494e-05/0.2046, allocations: 180.3 kB / 0.5707 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.2048, allocations: 413.2 kB / 0.5711 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.726e-05/0.2049, allocations: 113 kB / 0.5712 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.519e-05/0.2049, allocations: 101 kB / 0.5713 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.74e-05/0.205, allocations: 188.2 kB / 0.5715 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/0.205, allocations: 180.2 kB / 0.5716 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.198e-05/0.2051, allocations: 184.2 kB / 0.5718 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.241e-05/0.2052, allocations: 180.2 kB / 0.572 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.2053, allocations: 308 kB / 0.5723 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.393e-05/0.2054, allocations: 190 kB / 0.5725 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.228e-05/0.2055, allocations: 188.2 kB / 0.5726 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.458e-05/0.2056, allocations: 108.9 kB / 0.5727 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.2056, allocations: 176.3 kB / 0.5729 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.819e-05/0.2057, allocations: 108.9 kB / 0.573 GB, free: 10.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.074e-05/0.2057, allocations: 101.3 kB / 0.5731 GB, free: 10.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2057, allocations: 0 / 0.5731 GB, free: 10.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006226/0.2064, allocations: 283.8 kB / 0.5734 GB, free: 10.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008881/0.2073, allocations: 0.4973 MB / 0.5739 GB, free: 10.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.796e-05/0.2074, allocations: 41.64 kB / 0.5739 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2074, allocations: 0 / 0.5739 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.2074, allocations: 0 / 0.5739 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.2078, allocations: 0.5341 MB / 0.5744 GB, free: 9.477 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.2081, allocations: 259.8 kB / 0.5747 GB, free: 9.199 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.2084, allocations: 0.6848 MB / 0.5754 GB, free: 8.488 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.509e-05/0.2084, allocations: 3.938 kB / 0.5754 GB, free: 8.484 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.05e-05/0.2084, allocations: 7.438 kB / 0.5754 GB, free: 8.477 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.2084, allocations: 0 / 0.5754 GB, free: 8.477 MB / 446.1 MB Notification: Performance of Templates: time 0.00891/0.2173, allocations: 5.62 MB / 0.5809 GB, free: 2.91 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)