Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001714/0.001714, 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.002024/0.002024, allocations: 217.4 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.002434/0.002434, allocations: 296.9 kB / 313.5 MB, free: 2.812 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.204/1.204, allocations: 180.6 MB / 0.5377 GB, free: 13.05 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.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.002784/0.002784, allocations: 92.52 kB / 0.7404 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1585, allocations: 95.37 MB / 0.8335 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004494/0.163, allocations: 3.095 MB / 0.8366 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003099/0.1661, allocations: 2.191 MB / 0.8387 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002553/0.1664, allocations: 8 kB / 0.8387 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.1678, allocations: 0.4951 MB / 0.8392 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003618/0.1682, allocations: 158.8 kB / 0.8393 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.1683, allocations: 51.95 kB / 0.8394 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005469/0.1689, allocations: 453.8 kB / 0.8398 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.1691, allocations: 103.8 kB / 0.8399 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.1694, allocations: 167.4 kB / 0.8401 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.1696, allocations: 183.1 kB / 0.8403 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.706e-05/0.1697, allocations: 36 kB / 0.8403 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.847e-05/0.1697, allocations: 32 kB / 0.8403 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.1698, allocations: 99.61 kB / 0.8404 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.17, allocations: 219 kB / 0.8406 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005897/0.1706, allocations: 0.5524 MB / 0.8412 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1706, allocations: 0 / 0.8412 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1706, allocations: 0 / 0.8412 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.1706, allocations: 0 / 0.8412 GB, free: 0.8125 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001033/0.1717, allocations: 0.6407 MB / 0.8418 GB, free: 140 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1717, allocations: 9.938 kB / 0.8418 GB, free: 132 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.598e-05/0.1717, allocations: 16.62 kB / 0.8418 GB, free: 116 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.329e-05/0.1718, allocations: 54.72 kB / 0.8419 GB, free: 52 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.008e-05/0.1719, allocations: 52.61 kB / 0.8419 GB, free: 0 / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005539/0.1724, allocations: 308.7 kB / 0.8422 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.1725, allocations: 12.81 kB / 0.8422 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.1725, allocations: 24.38 kB / 0.8423 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004234/0.1729, allocations: 211.1 kB / 0.8425 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1729, allocations: 0 / 0.8425 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.173, allocations: 11.94 kB / 0.8425 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.173, allocations: 4 kB / 0.8425 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004232/0.1734, allocations: 165.6 kB / 0.8426 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.1746, allocations: 0.8316 MB / 0.8434 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.1749, allocations: 154.5 kB / 0.8436 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.1751, allocations: 100.8 kB / 0.8437 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.1752, allocations: 4 kB / 0.8437 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.1752, allocations: 34.56 kB / 0.8437 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.883e-06/0.1752, allocations: 0 / 0.8437 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.0006309/0.1758, allocations: 263 kB / 0.844 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.1759, allocations: 51.41 kB / 0.844 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004897/0.1764, allocations: 425.7 kB / 0.8444 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.1764, allocations: 25.7 kB / 0.8444 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.1765, allocations: 204.5 kB / 0.8446 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.986e-05/0.1766, allocations: 67.42 kB / 0.8447 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.1767, allocations: 33.72 kB / 0.8447 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1768, allocations: 342.8 kB / 0.8451 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.177, allocations: 55.97 kB / 0.8451 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.1771, allocations: 70.66 kB / 0.8452 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.1774, allocations: 124.8 kB / 0.8453 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1774, allocations: 0 / 0.8453 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004032/0.1778, allocations: 216.2 kB / 0.8455 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1779, allocations: 7.938 kB / 0.8455 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.1779, allocations: 0 / 0.8455 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1779, allocations: 4 kB / 0.8455 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.1781, allocations: 55.95 kB / 0.8456 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1782, allocations: 0 / 0.8456 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.1783, allocations: 19.89 kB / 0.8456 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.1783, allocations: 4 kB / 0.8456 GB, free: 12.06 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 (20): * Single equations (assignments): 20 * 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 0.000164/0.1785, allocations: 165.8 kB / 0.8458 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.471e-05/0.1785, allocations: 39.7 kB / 0.8458 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.024e-05/0.1786, allocations: 43.52 kB / 0.8458 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1786, allocations: 8 kB / 0.8458 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1786, allocations: 0 / 0.8458 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.1786, allocations: 0 / 0.8458 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.179, allocations: 344.5 kB / 0.8462 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.179, allocations: 0 / 0.8462 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.1793, allocations: 63.83 kB / 0.8462 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.1793, allocations: 7.938 kB / 0.8462 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.1793, allocations: 4 kB / 0.8462 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1793, allocations: 0 / 0.8462 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1793, allocations: 0 / 0.8462 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006224/0.1799, allocations: 384.8 kB / 0.8466 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.839e-05/0.18, allocations: 43.73 kB / 0.8467 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.1801, allocations: 15.92 kB / 0.8467 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.1802, allocations: 7.984 kB / 0.8467 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.1803, allocations: 15.97 kB / 0.8467 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.1803, allocations: 4.062 kB / 0.8467 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003292/0.1806, allocations: 303.2 kB / 0.847 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1806, allocations: 0 / 0.847 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003017/0.1809, allocations: 75.84 kB / 0.8471 GB, free: 10.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0009264/0.1818, allocations: 0.9244 MB / 0.848 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000353/0.1822, allocations: 139.8 kB / 0.8481 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1822, allocations: 0 / 0.8481 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.1824, allocations: 71.91 kB / 0.8482 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005529/0.1829, allocations: 92.67 kB / 0.8483 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004643/0.1876, allocations: 3.505 MB / 0.8517 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.188, allocations: 0.7912 MB / 0.8524 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001301/0.1881, allocations: 34.97 kB / 0.8525 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.1883, allocations: 123.4 kB / 0.8526 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.1883, allocations: 0 / 0.8526 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03087/0.2192, allocations: 8.23 MB / 0.8606 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.46, allocations: 9.625 kB / 0.8606 GB, free: 12.74 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.647758790000807] Failed to read output from testmodel.py, exit status != 0: 11.62239110696828 11.64881407 11.473318379 Calling exit ...