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.001998/0.001998, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002416/0.002416, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.528/1.528, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.002614/0.002614, allocations: 289.1 kB / 309.8 MB, free: 3.414 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.116/1.116, allocations: 180.6 MB / 0.5338 GB, free: 12.4 MB / 398.1 MB " [Timeout remaining time 178] 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="cs",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="cs",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.003148/0.003148, allocations: 99.86 kB / 0.7347 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5523/0.5555, allocations: 95.34 MB / 0.8279 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002346/0.5578, allocations: 1.384 MB / 0.8292 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.5593, allocations: 1.151 MB / 0.8303 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.664e-05/0.5593, allocations: 0 / 0.8303 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.839e-05/0.5594, allocations: 4.938 kB / 0.8303 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.381e-05/0.5594, allocations: 14.25 kB / 0.8303 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006095/0.56, allocations: 222.2 kB / 0.8306 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.34e-05/0.5601, allocations: 33.33 kB / 0.8306 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.612e-05/0.5601, allocations: 3.375 kB / 0.8306 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.5602, allocations: 17.64 kB / 0.8306 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.634e-05/0.5603, allocations: 19.27 kB / 0.8306 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.5603, allocations: 0 / 0.8306 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000605/0.5609, allocations: 446.4 kB / 0.8311 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.5609, allocations: 7.031 kB / 0.8311 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.561, allocations: 14.31 kB / 0.8311 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.5613, allocations: 199.8 kB / 0.8313 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5613, allocations: 0 / 0.8313 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5613, allocations: 0 / 0.8313 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.5613, allocations: 0 / 0.8313 GB, free: 0.9297 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.0003775/0.5616, allocations: 400 kB / 0.8316 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.5617, allocations: 10.69 kB / 0.8317 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.71e-05/0.5617, allocations: 0.75 kB / 0.8317 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.841e-05/0.5617, allocations: 34.38 kB / 0.8317 GB, free: 496 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.241e-05/0.5617, allocations: 4.891 kB / 0.8317 GB, free: 492 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.759e-05/0.5618, allocations: 163 kB / 0.8319 GB, free: 292 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.5618, allocations: 6.656 kB / 0.8319 GB, free: 288 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.5618, allocations: 6.188 kB / 0.8319 GB, free: 284 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.556e-05/0.5619, allocations: 50.38 kB / 0.8319 GB, free: 236 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.5619, allocations: 0 / 0.8319 GB, free: 236 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.5619, allocations: 2.375 kB / 0.8319 GB, free: 236 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.562, allocations: 0.6094 kB / 0.8319 GB, free: 236 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.529e-05/0.562, allocations: 15.34 kB / 0.8319 GB, free: 232 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001327/0.5621, allocations: 154.4 kB / 0.8321 GB, free: 36 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.566e-05/0.5622, allocations: 42.2 kB / 0.8321 GB, free: 4 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.632e-05/0.5623, allocations: 18.16 kB / 0.8321 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009787/0.5633, allocations: 0.9896 MB / 0.8331 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.5633, allocations: 35.31 kB / 0.8331 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.5633, allocations: 0 / 0.8331 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4): time 0.0001783/0.5635, allocations: 56.28 kB / 0.8332 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.5635, allocations: 54.92 kB / 0.8332 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.837e-05/0.5636, allocations: 104.6 kB / 0.8333 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.5636, allocations: 29.7 kB / 0.8334 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.5636, allocations: 88.2 kB / 0.8335 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.5637, allocations: 17.2 kB / 0.8335 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.5637, allocations: 18.97 kB / 0.8335 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5638, allocations: 316.7 kB / 0.8338 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.003e-05/0.5639, allocations: 5.859 kB / 0.8338 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.673e-05/0.5639, allocations: 6.406 kB / 0.8338 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.525e-05/0.5639, allocations: 18.09 kB / 0.8338 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5639, allocations: 3.812 kB / 0.8338 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.949e-05/0.564, allocations: 53.12 kB / 0.8339 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.564, allocations: 7 kB / 0.8339 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.564, allocations: 0 / 0.8339 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.564, allocations: 4 kB / 0.8339 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.5641, allocations: 23.11 kB / 0.8339 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.5642, allocations: 0.6562 kB / 0.8339 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.184e-05/0.5642, allocations: 0 / 0.8339 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.5642, allocations: 2.625 kB / 0.8339 GB, free: 14.07 MB / 0.5919 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.647e-05/0.5643, allocations: 106.6 kB / 0.834 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.5643, allocations: 11.31 kB / 0.834 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.5644, allocations: 64.73 kB / 0.8341 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5644, allocations: 7.938 kB / 0.8341 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.5644, allocations: 7.328 kB / 0.8341 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.5644, allocations: 0 / 0.8341 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.5645, allocations: 166.9 kB / 0.8343 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5645, allocations: 3.938 kB / 0.8343 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.712e-05/0.5646, allocations: 16.48 kB / 0.8343 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5646, allocations: 1.219 kB / 0.8343 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.5646, allocations: 0 / 0.8343 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.5646, allocations: 1.156 kB / 0.8343 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5646, allocations: 0.8281 kB / 0.8343 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.5647, allocations: 81.72 kB / 0.8344 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.5648, allocations: 84.42 kB / 0.8344 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.5648, allocations: 1.031 kB / 0.8344 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.228e-05/0.5648, allocations: 0 / 0.8344 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.5649, allocations: 5.094 kB / 0.8344 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.5649, allocations: 0 / 0.8344 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.683e-05/0.5649, allocations: 90.44 kB / 0.8345 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5649, allocations: 0 / 0.8345 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002413/0.5651, allocations: 48.8 kB / 0.8346 GB, free: 13.41 MB / 0.5919 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.000578/0.5657, allocations: 0.6714 MB / 0.8352 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.5658, allocations: 20.89 kB / 0.8353 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5658, allocations: 0 / 0.8353 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-05/0.5659, allocations: 13.27 kB / 0.8353 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.5661, allocations: 11.47 kB / 0.8353 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005061/0.5666, allocations: 200.7 kB / 0.8355 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.5669, allocations: 0.68 MB / 0.8361 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.854e-05/0.5669, allocations: 7.188 kB / 0.8361 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.567, allocations: 13.67 kB / 0.8362 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.567, allocations: 0 / 0.8362 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.5858, allocations: 2.375 MB / 0.8385 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/8.785, allocations: 6.875 kB / 0.8385 GB, free: 11.48 MB / 0.5919 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 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: 12.979303982981946] Failed to read output from testmodel.py, exit status != 0: 8.915156045986805 8.939445934 8.373767736 Calling exit ...