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.001616/0.001616, allocations: 108 kB / 15.61 MB, free: 152 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.001874/0.001874, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.46/1.46, allocations: 222.9 MB / 240.2 MB, free: 4.41 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 1.286/1.286, allocations: 143 MB / 433.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 59.91 kB / 0.5143 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1704, allocations: 82.04 MB / 0.5945 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002763/0.1732, allocations: 1.354 MB / 0.5958 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.175, allocations: 1.068 MB / 0.5968 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.1751, allocations: 7.938 kB / 0.5968 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.1751, allocations: 7.938 kB / 0.5968 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.003e-05/0.1752, allocations: 7.922 kB / 0.5968 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007989/0.176, allocations: 211.2 kB / 0.5971 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.159e-05/0.1761, allocations: 31.86 kB / 0.5971 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.1761, allocations: 0 / 0.5971 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.219e-05/0.1762, allocations: 27.92 kB / 0.5971 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.328e-05/0.1763, allocations: 11.92 kB / 0.5971 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.1763, allocations: 4 kB / 0.5971 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006108/0.1769, allocations: 427.4 kB / 0.5975 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.1769, allocations: 3.938 kB / 0.5975 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.177, allocations: 11.92 kB / 0.5975 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.1773, allocations: 199.9 kB / 0.5977 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1773, allocations: 0 / 0.5977 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1773, allocations: 0 / 0.5977 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.1773, allocations: 0 / 0.5977 GB, free: 6.055 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.0005558/0.1779, allocations: 395.3 kB / 0.5981 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1779, allocations: 8.031 kB / 0.5981 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.178, allocations: 34.75 kB / 0.5982 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.178, allocations: 8.844 kB / 0.5982 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.1782, allocations: 172.4 kB / 0.5983 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.1782, allocations: 8.312 kB / 0.5983 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.1782, allocations: 384 / 0.5983 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.1783, allocations: 41.81 kB / 0.5984 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.1783, allocations: 0 / 0.5984 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1783, allocations: 8 kB / 0.5984 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.1784, allocations: 0 / 0.5984 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.122e-05/0.1784, allocations: 8 kB / 0.5984 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.1786, allocations: 165.6 kB / 0.5985 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.1788, allocations: 42.52 kB / 0.5986 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.251e-05/0.1788, allocations: 12.92 kB / 0.5986 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001084/0.1799, allocations: 0.9895 MB / 0.5996 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.18, allocations: 34.5 kB / 0.5996 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.18, allocations: 0 / 0.5996 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001919/0.1802, allocations: 65.67 kB / 0.5997 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.1802, allocations: 51.41 kB / 0.5997 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.678e-05/0.1803, allocations: 105.8 kB / 0.5998 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.1803, allocations: 29.64 kB / 0.5998 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.1804, allocations: 88.14 kB / 0.5999 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.1804, allocations: 11.75 kB / 0.5999 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.1804, allocations: 21.7 kB / 0.6 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1805, allocations: 310.8 kB / 0.6003 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.07e-05/0.1806, allocations: 8 kB / 0.6003 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.005e-05/0.1806, allocations: 11.98 kB / 0.6003 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.611e-05/0.1806, allocations: 20.86 kB / 0.6003 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1806, allocations: 0 / 0.6003 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.154e-05/0.1807, allocations: 53.62 kB / 0.6003 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1808, allocations: 7.938 kB / 0.6004 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1808, allocations: 0 / 0.6004 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1808, allocations: 0 / 0.6004 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.1809, allocations: 15.94 kB / 0.6004 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.1809, allocations: 4 kB / 0.6004 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.499e-05/0.181, allocations: 7.938 kB / 0.6004 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.181, allocations: 0 / 0.6004 GB, free: 2.895 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.281e-05/0.181, allocations: 113.8 kB / 0.6005 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.1811, allocations: 11.84 kB / 0.6005 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.1812, allocations: 60.41 kB / 0.6006 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1812, allocations: 0 / 0.6006 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1812, allocations: 0 / 0.6006 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1812, allocations: 0 / 0.6006 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.1814, allocations: 165.7 kB / 0.6007 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1814, allocations: 0 / 0.6007 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.017e-05/0.1814, allocations: 19.88 kB / 0.6007 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1815, allocations: 0 / 0.6007 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.1815, allocations: 0 / 0.6007 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1815, allocations: 8 kB / 0.6007 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1815, allocations: 0 / 0.6007 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.1816, allocations: 77.11 kB / 0.6008 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.1816, allocations: 88.95 kB / 0.6009 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.1817, allocations: 0 / 0.6009 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.251e-05/0.1817, allocations: 4 kB / 0.6009 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.1817, allocations: 0 / 0.6009 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.1817, allocations: 0 / 0.6009 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.796e-05/0.1818, allocations: 91.27 kB / 0.601 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1818, allocations: 0 / 0.601 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002322/0.182, allocations: 35.94 kB / 0.601 GB, free: 2.125 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.0005227/0.1825, allocations: 0.6713 MB / 0.6017 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.833e-05/0.1827, allocations: 24.02 kB / 0.6017 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.1827, allocations: 0 / 0.6017 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.329e-05/0.1827, allocations: 11.94 kB / 0.6017 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.1829, allocations: 11.92 kB / 0.6017 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.1834, allocations: 205.8 kB / 0.6019 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.1836, allocations: 0.6806 MB / 0.6026 GB, free: 440 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.587e-05/0.1837, allocations: 4.25 kB / 0.6026 GB, free: 436 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.1837, allocations: 22.23 kB / 0.6026 GB, free: 416 kB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.1837, allocations: 4 kB / 0.6026 GB, free: 412 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2739/0.4577, allocations: 2.17 MB / 0.6047 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.299/7.756, allocations: 9.969 kB / 0.6047 GB, free: 43.42 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)