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.001048/0.001048, 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.001054/0.001054, allocations: 192 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.9514/0.9514, allocations: 143 MB / 433.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 59.91 kB / 0.5143 GB, free: 11.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1492, allocations: 82.04 MB / 0.5945 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002348/0.1515, allocations: 1.354 MB / 0.5958 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.153, allocations: 1.068 MB / 0.5968 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.173e-05/0.1531, allocations: 4 kB / 0.5968 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.1531, allocations: 7.922 kB / 0.5968 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.235e-05/0.1531, allocations: 15.86 kB / 0.5969 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005501/0.1537, allocations: 207.2 kB / 0.5971 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.35e-05/0.1538, allocations: 27.86 kB / 0.5971 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.1538, allocations: 15.98 kB / 0.5971 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.947e-05/0.1539, allocations: 15.94 kB / 0.5971 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.956e-05/0.1539, allocations: 15.92 kB / 0.5971 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.154, allocations: 3.938 kB / 0.5971 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005313/0.1545, allocations: 423.4 kB / 0.5975 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.1545, allocations: 4 kB / 0.5975 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.1545, allocations: 19.91 kB / 0.5976 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.1548, allocations: 187.9 kB / 0.5977 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1548, allocations: 4 kB / 0.5977 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1548, allocations: 0 / 0.5977 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.1549, allocations: 4 kB / 0.5977 GB, free: 6.02 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.0004382/0.1553, allocations: 391.3 kB / 0.5981 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.1553, allocations: 12.02 kB / 0.5981 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.194e-05/0.1554, allocations: 34.75 kB / 0.5982 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.1554, allocations: 8.844 kB / 0.5982 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.1555, allocations: 168.4 kB / 0.5983 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1555, allocations: 384 / 0.5983 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.1556, allocations: 4.375 kB / 0.5983 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.895e-05/0.1557, allocations: 45.75 kB / 0.5984 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.1557, allocations: 4 kB / 0.5984 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.1557, allocations: 4 kB / 0.5984 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.1557, allocations: 0 / 0.5984 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.353e-05/0.1557, allocations: 11.98 kB / 0.5984 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.1559, allocations: 161.6 kB / 0.5986 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.491e-05/0.156, allocations: 38.56 kB / 0.5986 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.067e-05/0.156, allocations: 16.89 kB / 0.5986 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008469/0.1569, allocations: 0.9856 MB / 0.5996 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.1569, allocations: 46.44 kB / 0.5996 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1569, allocations: 0 / 0.5996 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001508/0.1571, allocations: 53.69 kB / 0.5997 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.1571, allocations: 51.41 kB / 0.5997 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.1e-05/0.1572, allocations: 105.8 kB / 0.5998 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.1572, allocations: 25.7 kB / 0.5998 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.1572, allocations: 84.14 kB / 0.5999 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.1573, allocations: 19.73 kB / 0.5999 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.1573, allocations: 17.72 kB / 0.6 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.1574, allocations: 314.8 kB / 0.6003 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/0.1574, allocations: 11.98 kB / 0.6003 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.667e-05/0.1575, allocations: 7.938 kB / 0.6003 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.185e-05/0.1575, allocations: 20.86 kB / 0.6003 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1575, allocations: 0 / 0.6003 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.468e-05/0.1576, allocations: 53.91 kB / 0.6003 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.1576, allocations: 4 kB / 0.6004 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1576, allocations: 0 / 0.6004 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.1576, allocations: 3.938 kB / 0.6004 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1577, allocations: 23.97 kB / 0.6004 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1578, allocations: 0 / 0.6004 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.439e-05/0.1578, allocations: 7.984 kB / 0.6004 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.1578, allocations: 4 kB / 0.6004 GB, free: 2.859 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.982e-05/0.1579, allocations: 109.8 kB / 0.6005 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.1579, allocations: 11.84 kB / 0.6005 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.158, allocations: 61.58 kB / 0.6006 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1581, allocations: 0 / 0.6006 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1581, allocations: 4 kB / 0.6006 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1581, allocations: 0 / 0.6006 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.633e-05/0.1582, allocations: 157.7 kB / 0.6007 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1582, allocations: 0 / 0.6007 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.473e-05/0.1583, allocations: 19.92 kB / 0.6007 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1583, allocations: 0 / 0.6007 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.1583, allocations: 4 kB / 0.6007 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1583, allocations: 0 / 0.6007 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1583, allocations: 0 / 0.6007 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.076e-05/0.1584, allocations: 81.06 kB / 0.6008 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.1584, allocations: 88.95 kB / 0.6009 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.1584, allocations: 0 / 0.6009 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.556e-05/0.1585, allocations: 4 kB / 0.6009 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.1585, allocations: 4 kB / 0.6009 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.1585, allocations: 3.984 kB / 0.6009 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.216e-05/0.1585, allocations: 79.28 kB / 0.601 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1585, allocations: 0 / 0.601 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002249/0.1588, allocations: 47.92 kB / 0.601 GB, free: 2.086 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.0004219/0.1592, allocations: 0.667 MB / 0.6017 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.725e-05/0.1593, allocations: 16 kB / 0.6017 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1593, allocations: 0 / 0.6017 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.338e-05/0.1593, allocations: 15.92 kB / 0.6017 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.1595, allocations: 15.05 kB / 0.6017 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.16, allocations: 197.7 kB / 0.6019 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.1602, allocations: 0.6807 MB / 0.6026 GB, free: 416 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.034e-05/0.1603, allocations: 8.578 kB / 0.6026 GB, free: 408 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.1603, allocations: 18.44 kB / 0.6026 GB, free: 392 kB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1603, allocations: 0 / 0.6026 GB, free: 392 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2679/0.4282, allocations: 2.175 MB / 0.6047 GB, free: 43.44 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.823/7.251, allocations: 16.05 kB / 0.6048 GB, free: 43.43 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 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)