Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 114.3 kB / 18.94 MB, free: 2.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 221.2 kB / 22.26 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.334/1.334, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002435/0.002435, allocations: 295.9 kB / 312.7 MB, free: 2.832 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.134/1.134, allocations: 180.6 MB / 0.5369 GB, free: 13.13 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002708/0.002708, allocations: 105.8 kB / 0.7397 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1475, allocations: 95.39 MB / 0.8328 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002474/0.15, allocations: 1.383 MB / 0.8342 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.1517, allocations: 1.163 MB / 0.8353 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.431e-05/0.1517, allocations: 3.938 kB / 0.8353 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.1518, allocations: 3.938 kB / 0.8353 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.341e-05/0.1518, allocations: 3.938 kB / 0.8353 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005919/0.1524, allocations: 227.5 kB / 0.8355 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.747e-05/0.1525, allocations: 35.86 kB / 0.8356 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.1525, allocations: 3.938 kB / 0.8356 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.755e-05/0.1526, allocations: 15.92 kB / 0.8356 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.57e-05/0.1526, allocations: 19.92 kB / 0.8356 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.827e-06/0.1527, allocations: 4 kB / 0.8356 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006138/0.1533, allocations: 439.4 kB / 0.836 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.1533, allocations: 4 kB / 0.836 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.1533, allocations: 15.86 kB / 0.836 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.1536, allocations: 207.4 kB / 0.8362 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1536, allocations: 0 / 0.8362 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1536, allocations: 0 / 0.8362 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.1536, allocations: 0 / 0.8362 GB, free: 5.117 MB / 0.5762 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.0004422/0.1541, allocations: 313.7 kB / 0.8365 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1541, allocations: 12.62 kB / 0.8365 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.184e-05/0.1541, allocations: 34.75 kB / 0.8366 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.1542, allocations: 4.891 kB / 0.8366 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.1543, allocations: 110.5 kB / 0.8367 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-06/0.1543, allocations: 384 / 0.8367 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-06/0.1543, allocations: 4.312 kB / 0.8367 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.1544, allocations: 49.8 kB / 0.8367 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1544, allocations: 0 / 0.8367 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-06/0.1544, allocations: 0 / 0.8367 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1544, allocations: 0 / 0.8367 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.235e-05/0.1544, allocations: 16 kB / 0.8368 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.1546, allocations: 136.7 kB / 0.8369 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.453e-05/0.1547, allocations: 42.45 kB / 0.8369 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/0.1547, allocations: 16.92 kB / 0.8369 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005188/0.1552, allocations: 87.92 kB / 0.837 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.1553, allocations: 38.5 kB / 0.8371 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1553, allocations: 4 kB / 0.8371 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001556/0.1554, allocations: 53.64 kB / 0.8371 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.1555, allocations: 63.39 kB / 0.8372 GB, free: 4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.63e-05/0.1555, allocations: 105.8 kB / 0.8373 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.1555, allocations: 25.7 kB / 0.8373 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.967e-05/0.1556, allocations: 88.12 kB / 0.8374 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.1556, allocations: 15.84 kB / 0.8374 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.1556, allocations: 13.72 kB / 0.8374 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1558, allocations: 314.8 kB / 0.8377 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.386e-05/0.1558, allocations: 15.92 kB / 0.8377 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.476e-05/0.1558, allocations: 8 kB / 0.8377 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.076e-05/0.1558, allocations: 16.86 kB / 0.8378 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1558, allocations: 4 kB / 0.8378 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.988e-05/0.1559, allocations: 49.62 kB / 0.8378 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1559, allocations: 8 kB / 0.8378 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1559, allocations: 0 / 0.8378 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.156, allocations: 4 kB / 0.8378 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1561, allocations: 19.92 kB / 0.8378 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1561, allocations: 0 / 0.8378 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.162e-05/0.1561, allocations: 0 / 0.8378 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.1561, allocations: 8 kB / 0.8378 GB, free: 3.273 MB / 0.5762 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.153e-05/0.1562, allocations: 110.5 kB / 0.838 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.1562, allocations: 7.891 kB / 0.838 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.1563, allocations: 66 kB / 0.838 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1563, allocations: 0 / 0.838 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1563, allocations: 0 / 0.838 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1563, allocations: 4.031 kB / 0.838 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.1564, allocations: 132.7 kB / 0.8382 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1564, allocations: 0 / 0.8382 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.818e-05/0.1565, allocations: 27.86 kB / 0.8382 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1565, allocations: 0 / 0.8382 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.1565, allocations: 3.938 kB / 0.8382 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1565, allocations: 0 / 0.8382 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1565, allocations: 0 / 0.8382 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.1566, allocations: 81.11 kB / 0.8383 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.113e-05/0.1566, allocations: 11.88 kB / 0.8383 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.1566, allocations: 0 / 0.8383 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.43e-05/0.1567, allocations: 8 kB / 0.8383 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.1567, allocations: 7.984 kB / 0.8383 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.1567, allocations: 0 / 0.8383 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.147e-05/0.1567, allocations: 79.28 kB / 0.8384 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1567, allocations: 0 / 0.8384 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002277/0.157, allocations: 47.86 kB / 0.8384 GB, free: 2.613 MB / 0.5762 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.0004951/0.1574, allocations: 0.6785 MB / 0.8391 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.1575, allocations: 23.98 kB / 0.8391 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1576, allocations: 0 / 0.8391 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.975e-05/0.1576, allocations: 7.938 kB / 0.8391 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.1578, allocations: 12.44 kB / 0.8391 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.1582, allocations: 198.3 kB / 0.8393 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.1585, allocations: 0.6768 MB / 0.84 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.949e-05/0.1585, allocations: 6.391 kB / 0.84 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.1585, allocations: 15.44 kB / 0.84 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of SimCode: time 4.1e-07/0.1585, allocations: 0 / 0.84 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/0.1854, allocations: 2.376 MB / 0.8423 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.859/10.04, allocations: 1.203 kB / 0.8423 GB, free: 14.72 MB / 0.5919 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.930550758999743] Failed to read output from testmodel.py, exit status != 0: 10.144441418000497 10.167395828 10.00926712 Calling exit ...