Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.001238/0.001238, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001444/0.001444, allocations: 217.8 kB / 22.26 MB, free: 5.082 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.367/1.367, allocations: 230.6 MB / 256 MB, free: 8.035 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.002447/0.002447, allocations: 286 kB / 312.7 MB, free: 2.852 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.175/1.175, allocations: 180.6 MB / 0.5369 GB, free: 12.98 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.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.002818/0.002818, allocations: 103.2 kB / 0.7397 GB, free: 28.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1572, allocations: 95.38 MB / 0.8328 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002676/0.1599, allocations: 1.473 MB / 0.8342 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004633/0.1645, allocations: 2.995 MB / 0.8372 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.1646, allocations: 0 / 0.8372 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.316e-05/0.1646, allocations: 3.938 kB / 0.8372 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.828e-05/0.1647, allocations: 19.86 kB / 0.8372 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004326/0.169, allocations: 1.719 MB / 0.8389 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.1691, allocations: 51.61 kB / 0.8389 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.372e-05/0.1691, allocations: 0 / 0.8389 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.058e-05/0.1692, allocations: 15.94 kB / 0.8389 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.276e-05/0.1692, allocations: 23.91 kB / 0.839 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.926e-06/0.1692, allocations: 0 / 0.839 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00273/0.172, allocations: 1.751 MB / 0.8407 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.172, allocations: 15.92 kB / 0.8407 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.172, allocations: 19.88 kB / 0.8407 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.1739, allocations: 1.146 MB / 0.8418 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1739, allocations: 0 / 0.8418 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1739, allocations: 0 / 0.8418 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.1739, allocations: 0 / 0.8418 GB, free: 15.41 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007003/0.1746, allocations: 484 kB / 0.8423 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1747, allocations: 8.625 kB / 0.8423 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.101e-05/0.1748, allocations: 106 kB / 0.8424 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.863e-05/0.1748, allocations: 84.22 kB / 0.8425 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.175, allocations: 193.7 kB / 0.8427 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.19e-05/0.175, allocations: 150.9 kB / 0.8428 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.189e-05/0.1751, allocations: 150.9 kB / 0.8429 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.96e-05/0.1752, allocations: 108.9 kB / 0.8431 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/0.1752, allocations: 79.28 kB / 0.8431 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.974e-05/0.1752, allocations: 154.6 kB / 0.8433 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.464e-05/0.1753, allocations: 154.6 kB / 0.8434 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.985e-05/0.1754, allocations: 154.5 kB / 0.8436 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.1757, allocations: 433 kB / 0.844 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.868e-05/0.1757, allocations: 173.1 kB / 0.8441 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.936e-05/0.1758, allocations: 88.08 kB / 0.8442 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.1758, allocations: 83.22 kB / 0.8443 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/0.1759, allocations: 105.8 kB / 0.8444 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.1759, allocations: 0 / 0.8444 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.871e-05/0.1759, allocations: 33.7 kB / 0.8444 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.176, allocations: 142.6 kB / 0.8446 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.1762, allocations: 131.8 kB / 0.8447 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.1762, allocations: 25.7 kB / 0.8447 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.1762, allocations: 96.12 kB / 0.8448 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.1762, allocations: 0 / 0.8448 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.1763, allocations: 13.72 kB / 0.8448 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1764, allocations: 322.8 kB / 0.8451 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.27e-05/0.1764, allocations: 4 kB / 0.8451 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.716e-05/0.1764, allocations: 8 kB / 0.8452 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.826e-05/0.1765, allocations: 16.86 kB / 0.8452 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1765, allocations: 0 / 0.8452 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001263/0.1766, allocations: 61.52 kB / 0.8452 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1766, allocations: 4 kB / 0.8452 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.1766, allocations: 7.938 kB / 0.8452 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1766, allocations: 0 / 0.8452 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-07/0.1766, allocations: 0 / 0.8452 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.1766, allocations: 0 / 0.8452 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.254e-05/0.1767, allocations: 4.062 kB / 0.8452 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.1767, allocations: 4 kB / 0.8452 GB, free: 11.7 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001047/0.1768, allocations: 181.8 kB / 0.8454 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.961e-05/0.1768, allocations: 112.9 kB / 0.8455 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.266e-05/0.1769, allocations: 116.7 kB / 0.8456 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.438e-05/0.177, allocations: 176.3 kB / 0.8458 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.892e-05/0.177, allocations: 184.3 kB / 0.846 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-05/0.1771, allocations: 180.2 kB / 0.8462 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.1773, allocations: 392.2 kB / 0.8465 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.214e-05/0.1774, allocations: 104.9 kB / 0.8466 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.1774, allocations: 101 kB / 0.8467 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.909e-05/0.1775, allocations: 180.3 kB / 0.8469 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.899e-05/0.1776, allocations: 184.2 kB / 0.8471 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.008e-05/0.1776, allocations: 184.3 kB / 0.8472 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.807e-05/0.1777, allocations: 184.1 kB / 0.8474 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.1778, allocations: 315.7 kB / 0.8477 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.1779, allocations: 112.9 kB / 0.8478 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.243e-05/0.178, allocations: 188.2 kB / 0.848 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.201e-05/0.1781, allocations: 104.9 kB / 0.8481 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.873e-05/0.1781, allocations: 176.3 kB / 0.8483 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-05/0.1782, allocations: 101 kB / 0.8484 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.732e-05/0.1782, allocations: 105.3 kB / 0.8485 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1782, allocations: 7.938 kB / 0.8485 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000767/0.179, allocations: 295 kB / 0.8488 GB, free: 7.891 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 (0): * Single equations (assignments): 0 * 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.001498/0.1805, allocations: 1.194 MB / 0.8499 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.1806, allocations: 37.7 kB / 0.85 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1806, allocations: 0 / 0.85 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.107e-06/0.1806, allocations: 3.938 kB / 0.85 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.181, allocations: 463.8 kB / 0.8504 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.1825, allocations: 1.619 MB / 0.852 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1828, allocations: 0.6845 MB / 0.8527 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.372e-05/0.1828, allocations: 0 / 0.8527 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.1828, allocations: 15.42 kB / 0.8527 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.1828, allocations: 0 / 0.8527 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.384/1.567, allocations: 7.367 MB / 0.8599 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/13.75, allocations: 9.047 kB / 0.8599 GB, free: 12.55 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.758878091117367] Failed to read output from testmodel.py, exit status != 0: 13.852108317892998 13.877691764 13.699078559 Calling exit ...