Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 194.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002094/0.002094, allocations: 291.1 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9093/0.9093, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 98.61 kB / 0.5954 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1481, allocations: 86.98 MB / 0.6803 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002341/0.1505, allocations: 1.369 MB / 0.6817 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002554/0.153, allocations: 1.786 MB / 0.6834 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.1531, allocations: 4 kB / 0.6834 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.33e-05/0.1532, allocations: 9.016 kB / 0.6834 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.1533, allocations: 39.83 kB / 0.6835 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.1559, allocations: 1.136 MB / 0.6846 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.525e-05/0.156, allocations: 51.77 kB / 0.6846 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.156, allocations: 4.281 kB / 0.6846 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.421e-05/0.1561, allocations: 27.91 kB / 0.6847 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.487e-05/0.1562, allocations: 35.84 kB / 0.6847 GB, free: 12.08 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.1562, allocations: 0 / 0.6847 GB, free: 12.08 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.1573, allocations: 0.8462 MB / 0.6855 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.874e-05/0.1574, allocations: 71.75 kB / 0.6856 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.468e-05/0.1574, allocations: 59.44 kB / 0.6857 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.1585, allocations: 0.8806 MB / 0.6865 GB, free: 10.22 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.1585, allocations: 0 / 0.6865 GB, free: 10.22 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1585, allocations: 0 / 0.6865 GB, free: 10.22 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.1585, allocations: 0 / 0.6865 GB, free: 10.22 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006336/0.1592, allocations: 0.5839 MB / 0.6871 GB, free: 9.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1592, allocations: 12.03 kB / 0.6871 GB, free: 9.578 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.1592, allocations: 42.73 kB / 0.6871 GB, free: 9.527 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.1593, allocations: 20.66 kB / 0.6872 GB, free: 9.508 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.1595, allocations: 222.7 kB / 0.6874 GB, free: 9.254 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.1595, allocations: 4.375 kB / 0.6874 GB, free: 9.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.1595, allocations: 8.359 kB / 0.6874 GB, free: 9.242 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.1596, allocations: 101.6 kB / 0.6875 GB, free: 9.137 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.1596, allocations: 0 / 0.6875 GB, free: 9.137 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.1597, allocations: 4 kB / 0.6875 GB, free: 9.133 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1597, allocations: 0 / 0.6875 GB, free: 9.133 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.861e-05/0.1597, allocations: 79.91 kB / 0.6876 GB, free: 9.055 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002272/0.16, allocations: 281.9 kB / 0.6878 GB, free: 8.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.986e-05/0.1601, allocations: 114.6 kB / 0.6879 GB, free: 8.609 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.144e-05/0.1602, allocations: 112.9 kB / 0.688 GB, free: 8.496 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.1602, allocations: 7.938 kB / 0.688 GB, free: 8.488 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.1602, allocations: 34.56 kB / 0.6881 GB, free: 8.445 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 1.082e-06/0.1602, allocations: 0 / 0.6881 GB, free: 8.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003465/0.1606, allocations: 339.6 kB / 0.6884 GB, free: 8.109 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.1606, allocations: 51.41 kB / 0.6885 GB, free: 8.047 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.1608, allocations: 261 kB / 0.6887 GB, free: 7.785 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.1608, allocations: 25.7 kB / 0.6887 GB, free: 7.754 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.436e-05/0.1609, allocations: 124.7 kB / 0.6888 GB, free: 7.629 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.951e-05/0.161, allocations: 102.4 kB / 0.6889 GB, free: 7.527 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.161, allocations: 29.73 kB / 0.689 GB, free: 7.492 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.709e-05/0.1611, allocations: 346.8 kB / 0.6893 GB, free: 7.145 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.306e-05/0.1612, allocations: 79.84 kB / 0.6894 GB, free: 7.066 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.006e-05/0.1613, allocations: 75.97 kB / 0.6895 GB, free: 6.992 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.1614, allocations: 200.8 kB / 0.6896 GB, free: 6.793 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1614, allocations: 0 / 0.6896 GB, free: 6.793 MB / 494.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002199/0.1617, allocations: 229.4 kB / 0.6899 GB, free: 6.562 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1617, allocations: 5.875 kB / 0.6899 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.1617, allocations: 0 / 0.6899 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1617, allocations: 4.062 kB / 0.6899 GB, free: 6.555 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.1617, allocations: 4 kB / 0.6899 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.1617, allocations: 0 / 0.6899 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.76e-05/0.1618, allocations: 11.78 kB / 0.6899 GB, free: 6.539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1618, allocations: 8 kB / 0.6899 GB, free: 6.531 MB / 494.1 MB 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.0001068/0.1619, allocations: 158.4 kB / 0.69 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.1619, allocations: 23.66 kB / 0.6901 GB, free: 6.344 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.1622, allocations: 264.2 kB / 0.6903 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1622, allocations: 0 / 0.6903 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.1622, allocations: 0 / 0.6903 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.1622, allocations: 0 / 0.6903 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.1624, allocations: 281.8 kB / 0.6906 GB, free: 5.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1624, allocations: 0 / 0.6906 GB, free: 5.746 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-06/0.1624, allocations: 4 kB / 0.6906 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1624, allocations: 0 / 0.6906 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.1625, allocations: 0 / 0.6906 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1625, allocations: 0 / 0.6906 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1625, allocations: 0 / 0.6906 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.1627, allocations: 260.7 kB / 0.6908 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.1628, allocations: 108.7 kB / 0.6909 GB, free: 5.344 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.1628, allocations: 0 / 0.6909 GB, free: 5.344 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.617e-05/0.1628, allocations: 0 / 0.6909 GB, free: 5.344 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.1628, allocations: 0 / 0.6909 GB, free: 5.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.1628, allocations: 7.938 kB / 0.691 GB, free: 5.336 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.163, allocations: 188.4 kB / 0.6911 GB, free: 5.152 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.163, allocations: 4.031 kB / 0.6911 GB, free: 5.148 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00054/0.1636, allocations: 207.9 kB / 0.6913 GB, free: 4.945 MB / 494.1 MB 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 (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 Backend phase and start with SimCode phase: time 0.001037/0.1646, allocations: 1.034 MB / 0.6923 GB, free: 3.883 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.1649, allocations: 261.6 kB / 0.6926 GB, free: 3.621 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1649, allocations: 0 / 0.6926 GB, free: 3.621 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.165, allocations: 185.6 kB / 0.6928 GB, free: 3.434 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.1652, allocations: 21.48 kB / 0.6928 GB, free: 3.414 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.1674, allocations: 2.544 MB / 0.6953 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.1677, allocations: 0.7687 MB / 0.696 GB, free: 4 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.975e-05/0.1678, allocations: 8.047 kB / 0.696 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.1678, allocations: 55.36 kB / 0.6961 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1678, allocations: 0 / 0.6961 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9526/1.12, allocations: 7.671 MB / 0.7036 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/15.43, allocations: 16.31 kB / 0.7036 GB, free: 8.469 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)