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_OneUTube.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_OneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.007142/0.007142, allocations: 97.27 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 194.5 kB / 16.68 MB, free: 5.973 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002466/0.002466, allocations: 271 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.027/1.027, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002856/0.002856, allocations: 103.8 kB / 0.681 GB, free: 15.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1706, allocations: 86.97 MB / 0.766 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002484/0.1731, allocations: 1.373 MB / 0.7673 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002886/0.176, allocations: 1.783 MB / 0.7691 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.341e-05/0.1761, allocations: 0 / 0.7691 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.67e-05/0.1762, allocations: 7.922 kB / 0.7691 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.1763, allocations: 31.84 kB / 0.7691 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002684/0.179, allocations: 1.14 MB / 0.7702 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.1792, allocations: 59.7 kB / 0.7703 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.1792, allocations: 4 kB / 0.7703 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.452e-05/0.1793, allocations: 23.84 kB / 0.7703 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.987e-05/0.1793, allocations: 27.91 kB / 0.7703 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.1794, allocations: 0 / 0.7703 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.1807, allocations: 0.8891 MB / 0.7712 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.815e-05/0.1807, allocations: 27.92 kB / 0.7712 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.1808, allocations: 23.8 kB / 0.7712 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.1819, allocations: 0.8017 MB / 0.772 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1819, allocations: 4 kB / 0.772 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1819, allocations: 4 kB / 0.772 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1819, allocations: 0 / 0.772 GB, free: 2.66 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006224/0.1826, allocations: 485.8 kB / 0.7725 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1826, allocations: 16.02 kB / 0.7725 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.342e-05/0.1827, allocations: 34.75 kB / 0.7725 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.1827, allocations: 8.891 kB / 0.7725 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.1829, allocations: 188.7 kB / 0.7727 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1829, allocations: 4.125 kB / 0.7727 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.1829, allocations: 0 / 0.7727 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.183, allocations: 57.69 kB / 0.7728 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.1831, allocations: 0 / 0.7728 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-06/0.1831, allocations: 0 / 0.7728 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1831, allocations: 4 kB / 0.7728 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.289e-05/0.1831, allocations: 23.97 kB / 0.7728 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/0.1833, allocations: 193.6 kB / 0.773 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.339e-05/0.1834, allocations: 54.38 kB / 0.773 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/0.1835, allocations: 32.89 kB / 0.7731 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.1835, allocations: 7.984 kB / 0.7731 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.1835, allocations: 30.56 kB / 0.7731 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1835, allocations: 0 / 0.7731 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0002138/0.1837, allocations: 117.8 kB / 0.7732 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.1838, allocations: 51.41 kB / 0.7733 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.1839, allocations: 157 kB / 0.7734 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.184, allocations: 29.7 kB / 0.7735 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.184, allocations: 104.2 kB / 0.7736 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.1841, allocations: 23.75 kB / 0.7736 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.1841, allocations: 21.7 kB / 0.7736 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1842, allocations: 326.8 kB / 0.7739 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.34e-05/0.1843, allocations: 20 kB / 0.7739 GB, free: 492 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.955e-05/0.1843, allocations: 23.98 kB / 0.774 GB, free: 468 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.693e-05/0.1844, allocations: 64.83 kB / 0.774 GB, free: 400 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1844, allocations: 0 / 0.774 GB, free: 400 kB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001222/0.1845, allocations: 93.95 kB / 0.7741 GB, free: 300 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1846, allocations: 8 kB / 0.7741 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.1846, allocations: 3.984 kB / 0.7741 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1846, allocations: 4 kB / 0.7741 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.1846, allocations: 3.938 kB / 0.7741 GB, free: 280 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.1846, allocations: 0 / 0.7741 GB, free: 280 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.249e-05/0.1846, allocations: 3.938 kB / 0.7741 GB, free: 276 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.1847, allocations: 0 / 0.7741 GB, free: 276 kB / 0.5606 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.242e-05/0.1848, allocations: 130.4 kB / 0.7743 GB, free: 136 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.1848, allocations: 7.953 kB / 0.7743 GB, free: 128 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.1849, allocations: 112.9 kB / 0.7744 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1849, allocations: 0 / 0.7744 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.185, allocations: 7.984 kB / 0.7744 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.185, allocations: 0 / 0.7744 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3051/0.4901, allocations: 190.1 kB / 0.7746 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.4901, allocations: 1.375 kB / 0.7746 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.883e-06/0.4901, allocations: 1.562 kB / 0.7746 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.4901, allocations: 0 / 0.7746 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.4901, allocations: 1.391 kB / 0.7746 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.4901, allocations: 0.5312 kB / 0.7746 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4901, allocations: 4.406 kB / 0.7746 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.4903, allocations: 121.3 kB / 0.7747 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.4904, allocations: 83.88 kB / 0.7748 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.4904, allocations: 0.5156 kB / 0.7748 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.041e-05/0.4904, allocations: 2.5 kB / 0.7748 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.4905, allocations: 6.094 kB / 0.7748 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.4905, allocations: 2.125 kB / 0.7748 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.786e-05/0.4906, allocations: 117.5 kB / 0.7749 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4906, allocations: 4.469 kB / 0.7749 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000757/0.4913, allocations: 205.5 kB / 0.7751 GB, free: 14.28 MB / 0.5606 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 (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.001108/0.4924, allocations: 0.8968 MB / 0.776 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.4926, allocations: 92.28 kB / 0.776 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4926, allocations: 0 / 0.776 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.422e-05/0.4927, allocations: 69.14 kB / 0.7761 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.4929, allocations: 11.05 kB / 0.7761 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.4944, allocations: 1.613 MB / 0.7777 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.4945, allocations: 0.7042 MB / 0.7784 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.07e-05/0.4945, allocations: 2.375 kB / 0.7784 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.4946, allocations: 22.89 kB / 0.7784 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.4946, allocations: 0.9062 kB / 0.7784 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.5265, allocations: 5.99 MB / 0.7843 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.414/8.941, allocations: 13.47 kB / 0.7843 GB, free: 11.2 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)