Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.001279/0.001279, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001481/0.001481, allocations: 219.8 kB / 23.04 MB, free: 5.074 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.354/1.354, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.002444/0.002444, allocations: 286.6 kB / 313.5 MB, free: 2.789 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.157/1.157, allocations: 180.6 MB / 0.5377 GB, free: 12.96 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.002684/0.002684, allocations: 106.6 kB / 0.7404 GB, free: 28.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.158, allocations: 95.38 MB / 0.8336 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002475/0.1604, allocations: 1.466 MB / 0.835 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004324/0.1648, allocations: 2.995 MB / 0.8379 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.493e-05/0.1648, allocations: 0 / 0.8379 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.79e-05/0.1648, allocations: 3.938 kB / 0.8379 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.969e-05/0.1649, allocations: 19.84 kB / 0.838 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003671/0.1686, allocations: 1.719 MB / 0.8396 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.262e-05/0.1686, allocations: 43.73 kB / 0.8397 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.1687, allocations: 8 kB / 0.8397 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.682e-05/0.1687, allocations: 15.94 kB / 0.8397 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.11e-05/0.1687, allocations: 19.86 kB / 0.8397 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.796e-06/0.1688, allocations: 0 / 0.8397 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002479/0.1712, allocations: 1.767 MB / 0.8414 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.1712, allocations: 7.938 kB / 0.8415 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.719e-05/0.1713, allocations: 19.81 kB / 0.8415 GB, free: 488 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.1728, allocations: 1.146 MB / 0.8426 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1728, allocations: 4 kB / 0.8426 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1728, allocations: 0 / 0.8426 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.1728, allocations: 4 kB / 0.8426 GB, free: 15.32 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.0006006/0.1734, allocations: 476 kB / 0.8431 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1734, allocations: 8.625 kB / 0.8431 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.185e-05/0.1735, allocations: 75.47 kB / 0.8431 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.07e-05/0.1735, allocations: 110 kB / 0.8432 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.529e-05/0.1736, allocations: 80.22 kB / 0.8433 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.1737, allocations: 201.7 kB / 0.8435 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.794e-05/0.1738, allocations: 150.9 kB / 0.8437 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.304e-05/0.1738, allocations: 158.7 kB / 0.8438 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.839e-05/0.1739, allocations: 101 kB / 0.8439 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.1739, allocations: 79.27 kB / 0.844 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.886e-05/0.174, allocations: 154.6 kB / 0.8441 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.437e-05/0.174, allocations: 150.6 kB / 0.8443 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.677e-05/0.1741, allocations: 154.5 kB / 0.8444 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.1744, allocations: 433 kB / 0.8448 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.937e-05/0.1745, allocations: 177.1 kB / 0.845 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.845e-05/0.1745, allocations: 84.08 kB / 0.8451 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.1745, allocations: 75.28 kB / 0.8451 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.1746, allocations: 109.8 kB / 0.8453 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.1746, allocations: 0 / 0.8453 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.276e-05/0.1747, allocations: 37.7 kB / 0.8453 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.1747, allocations: 134.6 kB / 0.8454 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.1749, allocations: 135.5 kB / 0.8455 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.1749, allocations: 29.7 kB / 0.8456 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.296e-05/0.1749, allocations: 92.12 kB / 0.8457 GB, free: 12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.1749, allocations: 0 / 0.8457 GB, free: 12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.175, allocations: 17.72 kB / 0.8457 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.1751, allocations: 318.8 kB / 0.846 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.376e-05/0.1751, allocations: 4 kB / 0.846 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.053e-05/0.1751, allocations: 12 kB / 0.846 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.552e-05/0.1752, allocations: 12.8 kB / 0.846 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1752, allocations: 0 / 0.846 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001173/0.1753, allocations: 57.58 kB / 0.8461 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.1753, allocations: 4 kB / 0.8461 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.1753, allocations: 8.062 kB / 0.8461 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1753, allocations: 0 / 0.8461 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.1753, allocations: 0 / 0.8461 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.1753, allocations: 0 / 0.8461 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.193e-05/0.1754, allocations: 11.94 kB / 0.8461 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.1754, allocations: 64 / 0.8461 GB, free: 11.54 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 9.587e-05/0.1755, allocations: 189.7 kB / 0.8463 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.767e-05/0.1755, allocations: 116.9 kB / 0.8464 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.38e-05/0.1756, allocations: 108.8 kB / 0.8465 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.47e-05/0.1756, allocations: 176.3 kB / 0.8467 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.169e-05/0.1757, allocations: 184.2 kB / 0.8468 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.898e-05/0.1758, allocations: 180.3 kB / 0.847 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.176, allocations: 392.2 kB / 0.8474 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.794e-05/0.176, allocations: 101 kB / 0.8475 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.1761, allocations: 109 kB / 0.8476 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.75e-05/0.1762, allocations: 180.2 kB / 0.8477 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.576e-05/0.1762, allocations: 180.3 kB / 0.8479 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.039e-05/0.1763, allocations: 184.2 kB / 0.8481 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.608e-05/0.1764, allocations: 180.3 kB / 0.8483 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.1765, allocations: 315.7 kB / 0.8486 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.287e-05/0.1766, allocations: 112.9 kB / 0.8487 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.596e-05/0.1766, allocations: 184.2 kB / 0.8488 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/0.1767, allocations: 101 kB / 0.8489 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.817e-05/0.1768, allocations: 188.1 kB / 0.8491 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.291e-05/0.1768, allocations: 105 kB / 0.8492 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.153e-05/0.1769, allocations: 101.1 kB / 0.8493 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5e-08/0.1769, allocations: 0 / 0.8493 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007561/0.1777, allocations: 295 kB / 0.8496 GB, free: 7.734 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.001308/0.179, allocations: 1.198 MB / 0.8508 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.316e-05/0.1791, allocations: 37.7 kB / 0.8508 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1791, allocations: 0 / 0.8508 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.1791, allocations: 0 / 0.8508 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.1794, allocations: 463.7 kB / 0.8513 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.1809, allocations: 1.623 MB / 0.8528 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.1811, allocations: 0.6845 MB / 0.8535 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.202e-05/0.1811, allocations: 0 / 0.8535 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.1812, allocations: 19.42 kB / 0.8535 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.1812, allocations: 0 / 0.8535 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.21, allocations: 7.4 MB / 0.8607 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.19, allocations: 15.97 kB / 0.8608 GB, free: 12.37 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.186317354033235] Failed to read output from testmodel.py, exit status != 0: 11.354920186044183 11.375405809 11.199383901 Calling exit ...