Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.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.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent",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.001401/0.001401, 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.001662/0.001662, allocations: 197 kB / 16.54 MB, free: 6.672 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002158/0.002158, allocations: 282.9 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.9562/0.9562, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 98.98 kB / 0.5954 GB, free: 27.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1741, allocations: 86.98 MB / 0.6803 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent): time 0.003009/0.1771, allocations: 1.356 MB / 0.6817 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.1795, allocations: 1.341 MB / 0.683 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.208e-05/0.1796, allocations: 0 / 0.683 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.299e-05/0.1797, allocations: 4.562 kB / 0.683 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.1799, allocations: 21.3 kB / 0.683 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.1813, allocations: 395.6 kB / 0.6834 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.1814, allocations: 43.84 kB / 0.6834 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.154e-05/0.1814, allocations: 7.984 kB / 0.6834 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.794e-05/0.1815, allocations: 15.92 kB / 0.6834 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.389e-05/0.1816, allocations: 23.92 kB / 0.6835 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.1816, allocations: 0 / 0.6835 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008793/0.1825, allocations: 0.507 MB / 0.6839 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.432e-05/0.1825, allocations: 15.98 kB / 0.684 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.83e-05/0.1826, allocations: 19.86 kB / 0.684 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000633/0.1832, allocations: 395.2 kB / 0.6844 GB, free: 12.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1832, allocations: 0 / 0.6844 GB, free: 12.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1832, allocations: 0 / 0.6844 GB, free: 12.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1832, allocations: 0 / 0.6844 GB, free: 12.41 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005535/0.1838, allocations: 415.2 kB / 0.6848 GB, free: 11.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1839, allocations: 12.03 kB / 0.6848 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.411e-05/0.1839, allocations: 30.75 kB / 0.6848 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.1839, allocations: 4.844 kB / 0.6848 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.1841, allocations: 168.4 kB / 0.685 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.1841, allocations: 384 / 0.685 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.1841, allocations: 8.375 kB / 0.685 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.1842, allocations: 57.73 kB / 0.685 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1842, allocations: 0 / 0.685 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.1843, allocations: 0 / 0.685 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1843, allocations: 0 / 0.685 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.35e-05/0.1843, allocations: 43.97 kB / 0.6851 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.1845, allocations: 177.6 kB / 0.6852 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.1847, allocations: 58.59 kB / 0.6853 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.093e-05/0.1847, allocations: 28.88 kB / 0.6853 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.64e-05/0.1848, allocations: 8 kB / 0.6853 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.1848, allocations: 42.44 kB / 0.6854 GB, free: 11.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1848, allocations: 3.938 kB / 0.6854 GB, free: 11.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.000217/0.185, allocations: 89.67 kB / 0.6855 GB, free: 11.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.1851, allocations: 55.39 kB / 0.6855 GB, free: 11.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.886e-05/0.1852, allocations: 117.8 kB / 0.6856 GB, free: 10.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.1852, allocations: 29.7 kB / 0.6857 GB, free: 10.88 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.1852, allocations: 88.12 kB / 0.6857 GB, free: 10.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.1853, allocations: 19.73 kB / 0.6858 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.1853, allocations: 17.72 kB / 0.6858 GB, free: 10.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1854, allocations: 314.8 kB / 0.6861 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.325e-05/0.1855, allocations: 15.98 kB / 0.6861 GB, free: 10.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.49e-05/0.1855, allocations: 19.98 kB / 0.6861 GB, free: 10.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.203e-05/0.1856, allocations: 48.78 kB / 0.6862 GB, free: 10.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1856, allocations: 0 / 0.6862 GB, free: 10.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001211/0.1857, allocations: 81.84 kB / 0.6862 GB, free: 10.26 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1857, allocations: 8 kB / 0.6862 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1857, allocations: 0 / 0.6862 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1858, allocations: 0 / 0.6862 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.508e-05/0.1858, allocations: 12 kB / 0.6862 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1858, allocations: 0 / 0.6862 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.832e-05/0.1859, allocations: 0 / 0.6862 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1859, allocations: 7.984 kB / 0.6863 GB, free: 10.23 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 (4): * Single equations (assignments): 4 * 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 8.655e-05/0.186, allocations: 118.4 kB / 0.6864 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.186, allocations: 11.92 kB / 0.6864 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.1862, allocations: 103.8 kB / 0.6865 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1862, allocations: 0 / 0.6865 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1862, allocations: 0 / 0.6865 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1862, allocations: 0 / 0.6865 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.1864, allocations: 177.6 kB / 0.6866 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1864, allocations: 0 / 0.6866 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.1865, allocations: 23.92 kB / 0.6867 GB, free: 9.738 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1865, allocations: 4 kB / 0.6867 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.1865, allocations: 0 / 0.6867 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1865, allocations: 0 / 0.6867 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1865, allocations: 3.938 kB / 0.6867 GB, free: 9.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.1866, allocations: 105 kB / 0.6868 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.1867, allocations: 88.95 kB / 0.6869 GB, free: 9.504 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.1867, allocations: 0 / 0.6869 GB, free: 9.504 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.705e-05/0.1867, allocations: 0 / 0.6869 GB, free: 9.504 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.011e-05/0.1868, allocations: 15.98 kB / 0.6869 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.1868, allocations: 7.938 kB / 0.6869 GB, free: 9.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.683e-05/0.1868, allocations: 91.27 kB / 0.687 GB, free: 9.391 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1868, allocations: 0 / 0.687 GB, free: 9.391 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000369/0.1872, allocations: 119.9 kB / 0.6871 GB, free: 9.273 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 (5): * Single equations (assignments): 5 * 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.0009066/0.1881, allocations: 0.7919 MB / 0.6879 GB, free: 8.453 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001268/0.1883, allocations: 39.98 kB / 0.6879 GB, free: 8.414 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1883, allocations: 0 / 0.6879 GB, free: 8.414 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.447e-05/0.1883, allocations: 31.92 kB / 0.6879 GB, free: 8.383 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.1886, allocations: 15.98 kB / 0.6879 GB, free: 8.367 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005366/0.1891, allocations: 240.3 kB / 0.6882 GB, free: 8.094 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.1894, allocations: 0.6845 MB / 0.6888 GB, free: 7.383 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.404e-05/0.1894, allocations: 20.2 kB / 0.6889 GB, free: 7.367 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.1895, allocations: 15.44 kB / 0.6889 GB, free: 7.352 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1895, allocations: 0 / 0.6889 GB, free: 7.352 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04034/0.2298, allocations: 3.836 MB / 0.6926 GB, free: 3.734 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.511/7.741, allocations: 14.45 kB / 0.6926 GB, free: 3.727 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe 2>&1)