Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 108 kB / 15.6 MB, free: 132 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.001194/0.001194, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.961/0.961, allocations: 143 MB / 433.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.88 kB / 0.5142 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1928, allocations: 82.03 MB / 0.5943 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003879/0.1967, allocations: 1.342 MB / 0.5957 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001964/0.1987, allocations: 1.076 MB / 0.5967 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.379e-05/0.1988, allocations: 4 kB / 0.5967 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.536e-05/0.1988, allocations: 7.922 kB / 0.5967 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.822e-05/0.1989, allocations: 7.922 kB / 0.5967 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006658/0.1996, allocations: 224.6 kB / 0.5969 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.593e-05/0.1996, allocations: 31.86 kB / 0.597 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.1997, allocations: 0 / 0.597 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.954e-05/0.1998, allocations: 11.94 kB / 0.597 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.891e-05/0.1998, allocations: 11.98 kB / 0.597 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1998, allocations: 7.938 kB / 0.597 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005782/0.2004, allocations: 431.4 kB / 0.5974 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.2004, allocations: 3.984 kB / 0.5974 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.2005, allocations: 15.92 kB / 0.5974 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.2008, allocations: 195.8 kB / 0.5976 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2008, allocations: 0 / 0.5976 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2008, allocations: 0 / 0.5976 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2008, allocations: 0 / 0.5976 GB, free: 6.133 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004607/0.2013, allocations: 395.3 kB / 0.598 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.2013, allocations: 8.031 kB / 0.598 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.2014, allocations: 16.84 kB / 0.598 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.2015, allocations: 164.4 kB / 0.5982 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.2015, allocations: 384 / 0.5982 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.2015, allocations: 4.375 kB / 0.5982 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.2016, allocations: 42 kB / 0.5982 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2017, allocations: 0 / 0.5982 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.2017, allocations: 4 kB / 0.5982 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.2017, allocations: 0 / 0.5982 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.871e-05/0.2017, allocations: 19.91 kB / 0.5982 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.2019, allocations: 165.6 kB / 0.5984 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.627e-05/0.202, allocations: 38.56 kB / 0.5984 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.731e-05/0.202, allocations: 16.89 kB / 0.5984 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009447/0.203, allocations: 0.9856 MB / 0.5994 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.203, allocations: 38.5 kB / 0.5994 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.203, allocations: 0 / 0.5994 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.00018/0.2032, allocations: 57.62 kB / 0.5995 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.2033, allocations: 51.41 kB / 0.5996 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.437e-05/0.2034, allocations: 113.8 kB / 0.5997 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.2034, allocations: 25.7 kB / 0.5997 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.2034, allocations: 84.14 kB / 0.5998 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.2035, allocations: 19.73 kB / 0.5998 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.2035, allocations: 17.72 kB / 0.5998 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.2036, allocations: 310.8 kB / 0.6001 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.332e-05/0.2036, allocations: 11.98 kB / 0.6001 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.531e-05/0.2037, allocations: 4 kB / 0.6001 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.77e-05/0.2037, allocations: 28.8 kB / 0.6001 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2037, allocations: 0 / 0.6001 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.013e-05/0.2038, allocations: 49.69 kB / 0.6002 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.2038, allocations: 7.938 kB / 0.6002 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.2038, allocations: 0 / 0.6002 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2038, allocations: 0 / 0.6002 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.204, allocations: 15.98 kB / 0.6002 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.204, allocations: 0 / 0.6002 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.369e-05/0.204, allocations: 7.938 kB / 0.6002 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.204, allocations: 4 kB / 0.6002 GB, free: 3.016 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 7.559e-05/0.2041, allocations: 109.8 kB / 0.6003 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.2041, allocations: 15.78 kB / 0.6003 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.2043, allocations: 65.52 kB / 0.6004 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2043, allocations: 0 / 0.6004 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2043, allocations: 0 / 0.6004 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2043, allocations: 0 / 0.6004 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.2044, allocations: 157.7 kB / 0.6006 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2044, allocations: 0 / 0.6006 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.22e-05/0.2045, allocations: 15.98 kB / 0.6006 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.2045, allocations: 8.312 kB / 0.6006 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.2045, allocations: 0 / 0.6006 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2045, allocations: 0 / 0.6006 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.2045, allocations: 8 kB / 0.6006 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.2046, allocations: 81.05 kB / 0.6007 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.2047, allocations: 84.95 kB / 0.6007 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.2047, allocations: 0 / 0.6007 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.338e-05/0.2047, allocations: 4 kB / 0.6007 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.2047, allocations: 8 kB / 0.6008 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.2048, allocations: 3.984 kB / 0.6008 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.495e-05/0.2048, allocations: 79.28 kB / 0.6008 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2048, allocations: 4 kB / 0.6008 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002278/0.205, allocations: 47.92 kB / 0.6009 GB, free: 2.227 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 (4): * Single equations (assignments): 4 * 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.0002324/0.2053, allocations: 147.2 kB / 0.601 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.2054, allocations: 23.94 kB / 0.601 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2054, allocations: 0 / 0.601 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.577e-05/0.2054, allocations: 15.98 kB / 0.6011 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.2057, allocations: 8.703 kB / 0.6011 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.206, allocations: 148.1 kB / 0.6012 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.2062, allocations: 0.6846 MB / 0.6019 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.146e-05/0.2063, allocations: 6.922 kB / 0.6019 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.029e-05/0.2063, allocations: 7.438 kB / 0.6019 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.2063, allocations: 3.938 kB / 0.6019 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of Templates: time 0.003442/0.2097, allocations: 1.157 MB / 0.603 GB, free: 28 kB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)