Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IBPSA_latest_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.001238/0.001238, allocations: 108.6 kB / 16.41 MB, free: 6.496 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.001214/0.001214, allocations: 195.8 kB / 17.34 MB, free: 5.762 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.831/0.831, allocations: 126.1 MB / 417.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.001451, allocations: 63.7 kB / 0.5727 GB, free: 27.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1747, allocations: 78.7 MB / 0.6495 GB, free: 4.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002943/0.1777, allocations: 1.348 MB / 0.6508 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.1797, allocations: 1.089 MB / 0.6519 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.1798, allocations: 4 kB / 0.6519 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.1799, allocations: 3.984 kB / 0.6519 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.043e-05/0.1799, allocations: 11.92 kB / 0.6519 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008156/0.1807, allocations: 220.6 kB / 0.6521 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.044e-05/0.1808, allocations: 27.86 kB / 0.6522 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.1809, allocations: 8 kB / 0.6522 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.719e-05/0.181, allocations: 15.94 kB / 0.6522 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.999e-05/0.181, allocations: 15.86 kB / 0.6522 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.1811, allocations: 0 / 0.6522 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00065/0.1817, allocations: 431.5 kB / 0.6526 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.1817, allocations: 0 / 0.6526 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.1818, allocations: 15.94 kB / 0.6526 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004171/0.1822, allocations: 199.6 kB / 0.6528 GB, free: 1.234 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1822, allocations: 0 / 0.6528 GB, free: 1.234 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1822, allocations: 0 / 0.6528 GB, free: 1.234 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1822, allocations: 8 kB / 0.6528 GB, free: 1.227 MB / 494.1 MB 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.0004937/0.1827, allocations: 388.7 kB / 0.6532 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.1828, allocations: 12.03 kB / 0.6532 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.1e-05/0.1829, allocations: 34.75 kB / 0.6532 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.1829, allocations: 0.9375 kB / 0.6532 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.183, allocations: 180.2 kB / 0.6534 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1831, allocations: 8.109 kB / 0.6534 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.1831, allocations: 4 kB / 0.6534 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.1832, allocations: 33.7 kB / 0.6534 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.1832, allocations: 4 kB / 0.6534 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.1832, allocations: 0 / 0.6534 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1832, allocations: 7.984 kB / 0.6535 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.785e-05/0.1833, allocations: 8 kB / 0.6535 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.1835, allocations: 161.7 kB / 0.6536 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.768e-05/0.1836, allocations: 50.47 kB / 0.6537 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.254e-05/0.1836, allocations: 12.89 kB / 0.6537 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/0.1846, allocations: 0.9895 MB / 0.6546 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.1847, allocations: 42.56 kB / 0.6547 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.1847, allocations: 0 / 0.6547 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001973/0.1849, allocations: 49.69 kB / 0.6547 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.185, allocations: 59.34 kB / 0.6548 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.29e-05/0.185, allocations: 105.8 kB / 0.6549 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.1851, allocations: 25.7 kB / 0.6549 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.1851, allocations: 88.08 kB / 0.655 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.1852, allocations: 11.91 kB / 0.655 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.1852, allocations: 17.66 kB / 0.655 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1853, allocations: 322.8 kB / 0.6553 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.606e-05/0.1854, allocations: 8 kB / 0.6553 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.746e-05/0.1854, allocations: 4 kB / 0.6553 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.346e-05/0.1854, allocations: 20.84 kB / 0.6554 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1854, allocations: 7.938 kB / 0.6554 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.109e-05/0.1855, allocations: 49.59 kB / 0.6554 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1856, allocations: 9.406 kB / 0.6554 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1856, allocations: 0 / 0.6554 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1856, allocations: 0 / 0.6554 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1857, allocations: 19.98 kB / 0.6554 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1857, allocations: 0 / 0.6554 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.238e-05/0.1858, allocations: 0 / 0.6554 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1858, allocations: 4 kB / 0.6555 GB, free: 14.07 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.671e-05/0.1858, allocations: 117.1 kB / 0.6556 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.1859, allocations: 4 kB / 0.6556 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.186, allocations: 65.58 kB / 0.6556 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.186, allocations: 0 / 0.6556 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.186, allocations: 7.938 kB / 0.6556 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.186, allocations: 0 / 0.6556 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.1862, allocations: 169.5 kB / 0.6558 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1862, allocations: 0 / 0.6558 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.281e-05/0.1863, allocations: 15.98 kB / 0.6558 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1863, allocations: 0 / 0.6558 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1863, allocations: 0 / 0.6558 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1863, allocations: 0 / 0.6558 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1863, allocations: 0 / 0.6558 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.1864, allocations: 85.44 kB / 0.6559 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.1865, allocations: 85.09 kB / 0.656 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.1865, allocations: 3.984 kB / 0.656 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.219e-05/0.1865, allocations: 0 / 0.656 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.1866, allocations: 4 kB / 0.656 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.1866, allocations: 4 kB / 0.656 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.036e-05/0.1866, allocations: 83.22 kB / 0.6561 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1866, allocations: 0 / 0.6561 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002631/0.1869, allocations: 47.86 kB / 0.6561 GB, free: 13.29 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.0005334/0.1874, allocations: 0.6707 MB / 0.6568 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.1876, allocations: 27.92 kB / 0.6568 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1876, allocations: 3.938 kB / 0.6568 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.643e-05/0.1876, allocations: 8 kB / 0.6568 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.1879, allocations: 8.703 kB / 0.6568 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005022/0.1884, allocations: 197.7 kB / 0.657 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.1886, allocations: 0.6768 MB / 0.6577 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.852e-05/0.1887, allocations: 5 kB / 0.6577 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.1887, allocations: 15.44 kB / 0.6577 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.1887, allocations: 4 kB / 0.6577 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.2098, allocations: 2.184 MB / 0.6598 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.485/7.695, allocations: 14.06 kB / 0.6598 GB, free: 9.594 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)