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: "" <> 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.0008568/0.0008567, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005109/0.005109, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.197/1.197, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.9049/0.9049, allocations: 143.2 MB / 434.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.0002808, allocations: 12 kB / 0.5166 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1329, allocations: 83.41 MB / 0.598 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001194/0.1341, allocations: 1.083 MB / 0.5991 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.1356, allocations: 1.099 MB / 0.6002 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.631e-05/0.1356, allocations: 0 / 0.6002 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.1356, allocations: 3.938 kB / 0.6002 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.822e-05/0.1357, allocations: 3.938 kB / 0.6002 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004145/0.1361, allocations: 157.7 kB / 0.6003 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.521e-05/0.1361, allocations: 23.88 kB / 0.6003 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.1362, allocations: 7.984 kB / 0.6004 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.552e-05/0.1362, allocations: 11.94 kB / 0.6004 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.619e-05/0.1363, allocations: 15.92 kB / 0.6004 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.245e-06/0.1363, allocations: 0 / 0.6004 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005124/0.1368, allocations: 431.4 kB / 0.6008 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.1368, allocations: 7.969 kB / 0.6008 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.1369, allocations: 33.64 kB / 0.6008 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.1371, allocations: 195.9 kB / 0.601 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1371, allocations: 4 kB / 0.601 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.724e-06/0.1371, allocations: 0 / 0.601 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.816e-06/0.1372, allocations: 0 / 0.601 GB, free: 4.43 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.0003322/0.1375, allocations: 383.3 kB / 0.6014 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1375, allocations: 11.97 kB / 0.6014 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.858e-05/0.1376, allocations: 38.73 kB / 0.6014 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.903e-05/0.1376, allocations: 4.844 kB / 0.6014 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.511e-05/0.1377, allocations: 168.4 kB / 0.6016 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.311e-06/0.1377, allocations: 384 / 0.6016 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-06/0.1377, allocations: 4.375 kB / 0.6016 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.595e-05/0.1378, allocations: 53.73 kB / 0.6017 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-06/0.1378, allocations: 0 / 0.6017 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.1378, allocations: 0 / 0.6017 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1378, allocations: 0 / 0.6017 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.275e-05/0.1379, allocations: 15.98 kB / 0.6017 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.138, allocations: 157.7 kB / 0.6018 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.523e-05/0.1381, allocations: 38.56 kB / 0.6019 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.678e-05/0.1381, allocations: 16.89 kB / 0.6019 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007594/0.1389, allocations: 0.9895 MB / 0.6028 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.1389, allocations: 38.44 kB / 0.6029 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1389, allocations: 0 / 0.6029 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001374/0.1391, allocations: 61.59 kB / 0.6029 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.1391, allocations: 51.41 kB / 0.603 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.556e-05/0.1392, allocations: 105.8 kB / 0.6031 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.1392, allocations: 25.7 kB / 0.6031 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.29e-05/0.1392, allocations: 88.14 kB / 0.6032 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.1393, allocations: 19.73 kB / 0.6032 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.988e-05/0.1393, allocations: 9.719 kB / 0.6032 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.853e-05/0.1394, allocations: 318.8 kB / 0.6035 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.681e-05/0.1394, allocations: 4 kB / 0.6035 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.486e-05/0.1394, allocations: 7.984 kB / 0.6035 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.031e-05/0.1395, allocations: 20.8 kB / 0.6036 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1395, allocations: 0 / 0.6036 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.702e-05/0.1395, allocations: 53.62 kB / 0.6036 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1396, allocations: 8 kB / 0.6036 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.1396, allocations: 7.938 kB / 0.6036 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-06/0.1396, allocations: 0 / 0.6036 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.615e-05/0.1397, allocations: 16 kB / 0.6036 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1397, allocations: 0 / 0.6036 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.072e-05/0.1397, allocations: 0 / 0.6036 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1397, allocations: 3.984 kB / 0.6036 GB, free: 1.289 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 5.565e-05/0.1398, allocations: 113.8 kB / 0.6038 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/0.1398, allocations: 7.844 kB / 0.6038 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.1399, allocations: 65.92 kB / 0.6038 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1399, allocations: 0 / 0.6038 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1399, allocations: 4.047 kB / 0.6038 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1399, allocations: 7.922 kB / 0.6038 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.832e-05/0.14, allocations: 157.7 kB / 0.604 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.14, allocations: 4 kB / 0.604 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.846e-05/0.1401, allocations: 15.94 kB / 0.604 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1401, allocations: 4 kB / 0.604 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.1401, allocations: 0 / 0.604 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1401, allocations: 0 / 0.604 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1402, allocations: 3.984 kB / 0.604 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.301e-05/0.1402, allocations: 77.06 kB / 0.6041 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.1403, allocations: 88.95 kB / 0.6042 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.1403, allocations: 4 kB / 0.6042 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.1403, allocations: 0 / 0.6042 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.1403, allocations: 0 / 0.6042 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.1403, allocations: 4 kB / 0.6042 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.972e-05/0.1404, allocations: 83.27 kB / 0.6043 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1404, allocations: 4 kB / 0.6043 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002114/0.1406, allocations: 43.94 kB / 0.6043 GB, free: 0.5039 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.2154/0.356, allocations: 0.6674 MB / 0.605 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.3561, allocations: 14.91 kB / 0.605 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3561, allocations: 1.656 kB / 0.605 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.053e-05/0.3562, allocations: 10.8 kB / 0.605 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.3564, allocations: 6.219 kB / 0.605 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.3568, allocations: 226.2 kB / 0.6052 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.125e-05/0.3569, allocations: 0.6793 MB / 0.6059 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.393e-05/0.3569, allocations: 4.172 kB / 0.6059 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.357, allocations: 16.22 kB / 0.6059 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.357, allocations: 0 / 0.6059 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5472/0.9042, allocations: 2.007 MB / 0.6078 GB, free: 40.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.9044, allocations: 301.3 kB / 0.6081 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.142/3.046, allocations: 6.734 kB / 0.6081 GB, free: 39.65 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/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)