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.001424/0.001424, allocations: 96.73 kB / 15.68 MB, free: 488 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.001816/0.001816, allocations: 170 kB / 16.56 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.374/1.374, allocations: 223.2 MB / 240.5 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8733/0.8733, allocations: 113.7 MB / 405.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003359, allocations: 14.62 kB / 493 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1406, allocations: 77.1 MB / 0.5568 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001198/0.1418, allocations: 1.051 MB / 0.5578 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.1433, allocations: 0.9793 MB / 0.5588 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.409e-05/0.1433, allocations: 4 kB / 0.5588 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.1433, allocations: 0 / 0.5588 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.266e-05/0.1434, allocations: 11.92 kB / 0.5588 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.1437, allocations: 147.5 kB / 0.5589 GB, free: 9.449 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.467e-05/0.1438, allocations: 19.97 kB / 0.5589 GB, free: 9.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.278e-05/0.1438, allocations: 0 / 0.5589 GB, free: 9.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.652e-05/0.1439, allocations: 19.92 kB / 0.559 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.133e-05/0.1439, allocations: 11.92 kB / 0.559 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.025e-06/0.144, allocations: 4 kB / 0.559 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004898/0.1445, allocations: 407.4 kB / 0.5594 GB, free: 8.996 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.826e-06/0.1445, allocations: 7.984 kB / 0.5594 GB, free: 8.988 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.1445, allocations: 29.64 kB / 0.5594 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.1447, allocations: 132 kB / 0.5595 GB, free: 8.824 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.1447, allocations: 0 / 0.5595 GB, free: 8.824 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1447, allocations: 0 / 0.5595 GB, free: 8.824 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.825e-06/0.1447, allocations: 0 / 0.5595 GB, free: 8.824 MB / 430.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.0003362/0.145, allocations: 383.2 kB / 0.5599 GB, free: 8.402 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.1451, allocations: 8.031 kB / 0.5599 GB, free: 8.395 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.363e-05/0.1451, allocations: 30.56 kB / 0.5599 GB, free: 8.355 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.465e-05/0.1451, allocations: 4 kB / 0.5599 GB, free: 8.352 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.607e-05/0.1452, allocations: 175 kB / 0.5601 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.1452, allocations: 4 kB / 0.5601 GB, free: 8.137 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-06/0.1453, allocations: 3.953 kB / 0.5601 GB, free: 8.133 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.67e-05/0.1453, allocations: 37.69 kB / 0.5601 GB, free: 8.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.1453, allocations: 7.922 kB / 0.5601 GB, free: 8.082 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-06/0.1454, allocations: 0 / 0.5601 GB, free: 8.082 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.1454, allocations: 0 / 0.5601 GB, free: 8.082 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.941e-05/0.1454, allocations: 12 kB / 0.5602 GB, free: 8.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.1456, allocations: 161.7 kB / 0.5603 GB, free: 7.863 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.071e-05/0.1456, allocations: 42.61 kB / 0.5603 GB, free: 7.812 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008475/0.1465, allocations: 0.9895 MB / 0.5613 GB, free: 6.602 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.1465, allocations: 38.5 kB / 0.5614 GB, free: 6.555 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1465, allocations: 3.938 kB / 0.5614 GB, free: 6.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.000141/0.1467, allocations: 49.7 kB / 0.5614 GB, free: 6.496 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1467, allocations: 55.39 kB / 0.5615 GB, free: 6.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.174e-05/0.1468, allocations: 105.8 kB / 0.5616 GB, free: 6.316 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.1468, allocations: 25.7 kB / 0.5616 GB, free: 6.285 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.1468, allocations: 96.12 kB / 0.5617 GB, free: 6.188 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.1469, allocations: 15.73 kB / 0.5617 GB, free: 6.172 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.1469, allocations: 0 / 0.5617 GB, free: 6.172 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.147, allocations: 314.8 kB / 0.562 GB, free: 5.855 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.147, allocations: 7.984 kB / 0.562 GB, free: 5.848 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.402e-05/0.147, allocations: 8 kB / 0.562 GB, free: 5.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.237e-05/0.1471, allocations: 8 kB / 0.562 GB, free: 5.832 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1471, allocations: 3.938 kB / 0.562 GB, free: 5.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.717e-05/0.1471, allocations: 53.59 kB / 0.5621 GB, free: 5.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.1472, allocations: 8 kB / 0.5621 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1472, allocations: 3.953 kB / 0.5621 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.1472, allocations: 0 / 0.5621 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1473, allocations: 12 kB / 0.5621 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1473, allocations: 3.984 kB / 0.5621 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.123e-05/0.1473, allocations: 0 / 0.5621 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1474, allocations: 4 kB / 0.5621 GB, free: 5.738 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.465e-05/0.1474, allocations: 110.5 kB / 0.5622 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.1474, allocations: 4 kB / 0.5622 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.1476, allocations: 61.53 kB / 0.5623 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.1476, allocations: 7.953 kB / 0.5623 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1476, allocations: 0 / 0.5623 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1476, allocations: 0 / 0.5623 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.1477, allocations: 161.7 kB / 0.5624 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1477, allocations: 384 / 0.5624 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.283e-05/0.1478, allocations: 16 kB / 0.5624 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1478, allocations: 0 / 0.5624 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.1478, allocations: 3.984 kB / 0.5624 GB, free: 5.312 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1478, allocations: 0 / 0.5624 GB, free: 5.312 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.1478, allocations: 11.89 kB / 0.5625 GB, free: 5.301 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.901e-05/0.148, allocations: 84.95 kB / 0.5625 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.458e-05/0.148, allocations: 81.11 kB / 0.5626 GB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.148, allocations: 0 / 0.5626 GB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.144e-05/0.148, allocations: 0 / 0.5626 GB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.1481, allocations: 7.953 kB / 0.5626 GB, free: 5.094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.1481, allocations: 4 kB / 0.5626 GB, free: 5.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.924e-05/0.1481, allocations: 91.56 kB / 0.5627 GB, free: 5 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1481, allocations: 0 / 0.5627 GB, free: 5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.1483, allocations: 39.94 kB / 0.5628 GB, free: 4.961 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004677/0.1488, allocations: 0.6631 MB / 0.5634 GB, free: 4.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.554e-05/0.1489, allocations: 19.92 kB / 0.5634 GB, free: 4.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.1489, allocations: 4 kB / 0.5634 GB, free: 4.246 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.905e-05/0.1489, allocations: 12 kB / 0.5634 GB, free: 4.234 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.1491, allocations: 9.344 kB / 0.5634 GB, free: 4.227 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003539/0.1494, allocations: 224.2 kB / 0.5637 GB, free: 3.969 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.1496, allocations: 0.6848 MB / 0.5643 GB, free: 3.258 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.834e-05/0.1497, allocations: 4 kB / 0.5643 GB, free: 3.254 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.1497, allocations: 15.44 kB / 0.5643 GB, free: 3.238 MB / 430.1 MB Notification: Performance of SimCode: time 2.415e-06/0.1497, allocations: 0 / 0.5643 GB, free: 3.238 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01088/0.1606, allocations: 1.949 MB / 0.5662 GB, free: 1.543 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000335/0.161, allocations: 264.5 kB / 0.5665 GB, free: 1.184 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/1.837, allocations: 0 / 0.5665 GB, free: 1.184 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 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) Environment - environmentSimulation: