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.00147/0.001471, allocations: 99.39 kB / 16.4 MB, free: 6.438 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.001725/0.001725, allocations: 196 kB / 17.34 MB, free: 5.711 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7625/0.7625, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 67.22 kB / 0.568 GB, free: 28.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1394, allocations: 77.93 MB / 0.6441 GB, free: 9.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003134/0.1426, allocations: 1.344 MB / 0.6454 GB, free: 8.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.1444, allocations: 1.081 MB / 0.6465 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.91e-05/0.1445, allocations: 4 kB / 0.6465 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.1445, allocations: 3.938 kB / 0.6465 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.374e-05/0.1446, allocations: 7.938 kB / 0.6465 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006557/0.1452, allocations: 211.2 kB / 0.6467 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.378e-05/0.1453, allocations: 35.86 kB / 0.6468 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.205e-05/0.1454, allocations: 0 / 0.6468 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.62e-05/0.1455, allocations: 15.92 kB / 0.6468 GB, free: 6.777 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.099e-05/0.1455, allocations: 19.91 kB / 0.6468 GB, free: 6.758 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.1456, allocations: 8 kB / 0.6468 GB, free: 6.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006277/0.1462, allocations: 423.5 kB / 0.6472 GB, free: 6.336 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.1462, allocations: 0 / 0.6472 GB, free: 6.336 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.1463, allocations: 19.86 kB / 0.6472 GB, free: 6.316 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.1466, allocations: 195.7 kB / 0.6474 GB, free: 6.125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.1466, allocations: 0 / 0.6474 GB, free: 6.125 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1466, allocations: 3.938 kB / 0.6474 GB, free: 6.121 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.1466, allocations: 0 / 0.6474 GB, free: 6.121 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.0004634/0.1471, allocations: 394.8 kB / 0.6478 GB, free: 5.688 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.1471, allocations: 12.62 kB / 0.6478 GB, free: 5.676 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.615e-05/0.1472, allocations: 34.73 kB / 0.6478 GB, free: 5.633 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.1472, allocations: 4.938 kB / 0.6478 GB, free: 5.629 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.1474, allocations: 172.3 kB / 0.648 GB, free: 5.422 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.1474, allocations: 8.359 kB / 0.648 GB, free: 5.414 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.1474, allocations: 384 / 0.648 GB, free: 5.414 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.1475, allocations: 45.81 kB / 0.648 GB, free: 5.363 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1475, allocations: 0 / 0.648 GB, free: 5.363 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1475, allocations: 0 / 0.648 GB, free: 5.363 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1476, allocations: 3.938 kB / 0.6481 GB, free: 5.359 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.659e-05/0.1476, allocations: 15.98 kB / 0.6481 GB, free: 5.344 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.1478, allocations: 161.7 kB / 0.6482 GB, free: 5.137 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.1479, allocations: 38.56 kB / 0.6483 GB, free: 5.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/0.148, allocations: 12.89 kB / 0.6483 GB, free: 5.074 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009896/0.149, allocations: 0.9895 MB / 0.6492 GB, free: 3.863 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.149, allocations: 34.5 kB / 0.6493 GB, free: 3.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.149, allocations: 0 / 0.6493 GB, free: 3.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001884/0.1492, allocations: 57.62 kB / 0.6493 GB, free: 3.758 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.1492, allocations: 59.34 kB / 0.6494 GB, free: 3.688 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/0.1493, allocations: 105.8 kB / 0.6495 GB, free: 3.574 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.1494, allocations: 25.7 kB / 0.6495 GB, free: 3.543 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.1494, allocations: 88.14 kB / 0.6496 GB, free: 3.453 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.1494, allocations: 11.89 kB / 0.6496 GB, free: 3.441 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.1495, allocations: 17.72 kB / 0.6496 GB, free: 3.418 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1496, allocations: 314.8 kB / 0.6499 GB, free: 3.102 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.414e-05/0.1496, allocations: 11.98 kB / 0.6499 GB, free: 3.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.542e-05/0.1496, allocations: 11.94 kB / 0.6499 GB, free: 3.078 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.897e-05/0.1497, allocations: 24.8 kB / 0.65 GB, free: 3.051 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1497, allocations: 0 / 0.65 GB, free: 3.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.075e-05/0.1498, allocations: 57.58 kB / 0.65 GB, free: 2.988 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1498, allocations: 4 kB / 0.65 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1498, allocations: 0 / 0.65 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1498, allocations: 0 / 0.65 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.15, allocations: 15.98 kB / 0.65 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.15, allocations: 0 / 0.65 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.552e-05/0.15, allocations: 8 kB / 0.65 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.15, allocations: 4.328 kB / 0.6501 GB, free: 2.957 MB / 494.1 MB 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 8.12e-05/0.1501, allocations: 105.8 kB / 0.6502 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.1501, allocations: 11.89 kB / 0.6502 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.1503, allocations: 65.52 kB / 0.6502 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1503, allocations: 3.984 kB / 0.6502 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1503, allocations: 0 / 0.6502 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1503, allocations: 0 / 0.6502 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.1504, allocations: 165.6 kB / 0.6504 GB, free: 2.539 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1504, allocations: 4 kB / 0.6504 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.515e-05/0.1505, allocations: 19.92 kB / 0.6504 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1505, allocations: 0 / 0.6504 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1505, allocations: 4 kB / 0.6504 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1505, allocations: 4 kB / 0.6504 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1506, allocations: 0 / 0.6504 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.1507, allocations: 73.06 kB / 0.6505 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.1507, allocations: 85 kB / 0.6506 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.1507, allocations: 4 kB / 0.6506 GB, free: 2.312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.265e-05/0.1508, allocations: 8 kB / 0.6506 GB, free: 2.305 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.1508, allocations: 0 / 0.6506 GB, free: 2.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.1508, allocations: 0 / 0.6506 GB, free: 2.305 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.771e-05/0.1508, allocations: 87.27 kB / 0.6507 GB, free: 2.219 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1508, allocations: 0 / 0.6507 GB, free: 2.219 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.1511, allocations: 39.88 kB / 0.6507 GB, free: 2.18 MB / 494.1 MB 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.000486/0.1516, allocations: 0.6784 MB / 0.6514 GB, free: 1.473 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.62e-05/0.1517, allocations: 16 kB / 0.6514 GB, free: 1.457 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1517, allocations: 0 / 0.6514 GB, free: 1.457 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.12e-05/0.1517, allocations: 11.98 kB / 0.6514 GB, free: 1.445 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.152, allocations: 12.88 kB / 0.6514 GB, free: 1.434 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004384/0.1524, allocations: 201.6 kB / 0.6516 GB, free: 1.195 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.1527, allocations: 0.6807 MB / 0.6523 GB, free: 500 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.277e-05/0.1527, allocations: 5.484 kB / 0.6523 GB, free: 496 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.1527, allocations: 15.44 kB / 0.6523 GB, free: 480 kB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1527, allocations: 0 / 0.6523 GB, free: 480 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.1695, allocations: 2.197 MB / 0.6544 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.523/7.693, allocations: 12.69 kB / 0.6544 GB, free: 14.48 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)