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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008793/0.0008792, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001047/0.001047, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.071/1.071, allocations: 143.4 MB / 434.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003691, allocations: 12 kB / 0.5162 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2055, allocations: 83.41 MB / 0.5976 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001481/0.2071, allocations: 1.068 MB / 0.5987 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.2086, allocations: 0.9949 MB / 0.5996 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.493e-05/0.2086, allocations: 0 / 0.5996 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.2087, allocations: 0 / 0.5996 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.054e-05/0.2087, allocations: 3.938 kB / 0.5996 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.2092, allocations: 163.5 kB / 0.5998 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.476e-05/0.2093, allocations: 27.86 kB / 0.5998 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.084e-05/0.2094, allocations: 0 / 0.5998 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.036e-05/0.2094, allocations: 11.94 kB / 0.5998 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.147e-05/0.2095, allocations: 15.92 kB / 0.5998 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.2095, allocations: 4 kB / 0.5998 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005939/0.2101, allocations: 407.5 kB / 0.6002 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.258e-06/0.2101, allocations: 4 kB / 0.6002 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.2102, allocations: 37.64 kB / 0.6003 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.2104, allocations: 136 kB / 0.6004 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.2104, allocations: 4 kB / 0.6004 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2104, allocations: 3.938 kB / 0.6004 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.2104, allocations: 0 / 0.6004 GB, free: 4.754 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.0004804/0.2109, allocations: 379.2 kB / 0.6008 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.211, allocations: 12.03 kB / 0.6008 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.591e-05/0.211, allocations: 34.56 kB / 0.6008 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.2111, allocations: 11.86 kB / 0.6008 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.2112, allocations: 163.1 kB / 0.601 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.2112, allocations: 0 / 0.601 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.2112, allocations: 3.984 kB / 0.601 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.2114, allocations: 41.69 kB / 0.601 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.2114, allocations: 3.938 kB / 0.601 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.2114, allocations: 0 / 0.601 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2114, allocations: 0 / 0.601 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.689e-05/0.2115, allocations: 11.98 kB / 0.601 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/0.2117, allocations: 169.6 kB / 0.6012 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.419e-05/0.2118, allocations: 38.61 kB / 0.6012 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.864e-05/0.2118, allocations: 12.89 kB / 0.6013 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/0.2128, allocations: 0.9895 MB / 0.6022 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.2129, allocations: 42.48 kB / 0.6023 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.2129, allocations: 0 / 0.6023 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001619/0.2131, allocations: 53.69 kB / 0.6023 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.2131, allocations: 51.41 kB / 0.6024 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.256e-05/0.2132, allocations: 105.9 kB / 0.6025 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.2132, allocations: 25.7 kB / 0.6025 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.2133, allocations: 92.06 kB / 0.6026 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.2133, allocations: 15.75 kB / 0.6026 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.2133, allocations: 4 kB / 0.6026 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2135, allocations: 314.8 kB / 0.6029 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.004e-05/0.2135, allocations: 7.984 kB / 0.6029 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.157e-05/0.2135, allocations: 8 kB / 0.6029 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.626e-05/0.2136, allocations: 7.938 kB / 0.6029 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2136, allocations: 8 kB / 0.6029 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.943e-05/0.2136, allocations: 49.59 kB / 0.603 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2137, allocations: 8 kB / 0.603 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2137, allocations: 0 / 0.603 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2137, allocations: 0 / 0.603 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.2138, allocations: 15.98 kB / 0.603 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.2138, allocations: 0 / 0.603 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.153e-05/0.2139, allocations: 0 / 0.603 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.2139, allocations: 4 kB / 0.603 GB, free: 1.656 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.213e-05/0.2139, allocations: 117.8 kB / 0.6031 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-06/0.214, allocations: 0 / 0.6031 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.2141, allocations: 65.8 kB / 0.6032 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.2141, allocations: 8.031 kB / 0.6032 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2141, allocations: 0 / 0.6032 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2141, allocations: 3.984 kB / 0.6032 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.2143, allocations: 165.5 kB / 0.6033 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2143, allocations: 0 / 0.6033 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.158e-05/0.2143, allocations: 12 kB / 0.6034 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2143, allocations: 0 / 0.6034 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.2144, allocations: 7.984 kB / 0.6034 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2144, allocations: 0 / 0.6034 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2144, allocations: 0 / 0.6034 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.2145, allocations: 81.05 kB / 0.6034 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.2145, allocations: 81.11 kB / 0.6035 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.2146, allocations: 0 / 0.6035 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.201e-05/0.2146, allocations: 0 / 0.6035 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.832e-05/0.2146, allocations: 4 kB / 0.6035 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.2146, allocations: 8 kB / 0.6035 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.749e-05/0.2147, allocations: 91.55 kB / 0.6036 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2147, allocations: 3.938 kB / 0.6036 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000242/0.2149, allocations: 39.94 kB / 0.6037 GB, free: 0.8711 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 (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.0005084/0.2154, allocations: 0.676 MB / 0.6043 GB, free: 172 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.881e-05/0.2155, allocations: 20 kB / 0.6043 GB, free: 152 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2155, allocations: 0 / 0.6043 GB, free: 152 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.243e-05/0.2156, allocations: 11.98 kB / 0.6043 GB, free: 140 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.2158, allocations: 4 kB / 0.6044 GB, free: 136 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.358/0.5738, allocations: 216 kB / 0.6046 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.574, allocations: 0.6782 MB / 0.6052 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.182e-05/0.5741, allocations: 4.391 kB / 0.6052 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.078e-05/0.5741, allocations: 12.41 kB / 0.6052 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of SimCode: time 1.522e-06/0.5741, allocations: 0 / 0.6052 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.5877, allocations: 1.981 MB / 0.6072 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.588, allocations: 289.2 kB / 0.6074 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.991/2.579, allocations: 0 / 0.6074 GB, free: 39.68 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) Environment - environmentSimulation: