Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.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,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",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.0012/0.0012, allocations: 108 kB / 15.61 MB, free: 152 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.001215/0.001215, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002252/0.002252, allocations: 290.5 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.9402/0.9402, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001787, allocations: 101.5 kB / 0.5954 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1636, allocations: 86.98 MB / 0.6803 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource): time 0.00314/0.1668, allocations: 1.344 MB / 0.6816 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002226/0.169, allocations: 1.315 MB / 0.6829 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.1691, allocations: 0 / 0.6829 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.185e-05/0.1692, allocations: 8.453 kB / 0.6829 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.1693, allocations: 25.12 kB / 0.683 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.1706, allocations: 371.7 kB / 0.6833 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003964/0.171, allocations: 376.6 kB / 0.6837 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.07e-05/0.1711, allocations: 4 kB / 0.6837 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.1714, allocations: 131.8 kB / 0.6838 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.1716, allocations: 175.8 kB / 0.684 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.178e-05/0.1717, allocations: 24 kB / 0.684 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.1729, allocations: 0.4914 MB / 0.6845 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.1731, allocations: 107.8 kB / 0.6846 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.1732, allocations: 107.5 kB / 0.6847 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.1743, allocations: 0.5301 MB / 0.6852 GB, free: 11.58 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.1743, allocations: 4 kB / 0.6852 GB, free: 11.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.1743, allocations: 0 / 0.6852 GB, free: 11.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.1743, allocations: 0 / 0.6852 GB, free: 11.57 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007952/0.1751, allocations: 0.5418 MB / 0.6857 GB, free: 10.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1752, allocations: 8.031 kB / 0.6857 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.698e-05/0.1753, allocations: 50.73 kB / 0.6858 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.351e-05/0.1753, allocations: 24.75 kB / 0.6858 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.1755, allocations: 205.8 kB / 0.686 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.1755, allocations: 12.38 kB / 0.686 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.1756, allocations: 16.38 kB / 0.686 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/0.1761, allocations: 329.4 kB / 0.6863 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.1761, allocations: 0 / 0.6863 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.1762, allocations: 8 kB / 0.6864 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.1762, allocations: 4 kB / 0.6864 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004528/0.1807, allocations: 2.929 MB / 0.6892 GB, free: 7.355 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/0.1813, allocations: 389.2 kB / 0.6896 GB, free: 6.926 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008645/0.1822, allocations: 0.4952 MB / 0.6901 GB, free: 6.422 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000423/0.1826, allocations: 236.7 kB / 0.6903 GB, free: 6.188 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001445/0.1841, allocations: 0.9235 MB / 0.6912 GB, free: 5.098 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1841, allocations: 46.44 kB / 0.6912 GB, free: 5.043 MB / 494.1 MB Notification: Performance of pre-optimization done (n=43): time 1.644e-06/0.1841, allocations: 0 / 0.6912 GB, free: 5.043 MB / 494.1 MB Notification: Performance of matching and sorting (n=43): time 0.001403/0.1855, allocations: 0.7557 MB / 0.692 GB, free: 4.281 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.1856, allocations: 63.34 kB / 0.692 GB, free: 4.207 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.1857, allocations: 151.9 kB / 0.6922 GB, free: 4.051 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.1857, allocations: 29.7 kB / 0.6922 GB, free: 4.016 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.055e-05/0.1858, allocations: 93.14 kB / 0.6923 GB, free: 3.918 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.1859, allocations: 153.8 kB / 0.6925 GB, free: 3.766 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.1861, allocations: 93.69 kB / 0.6925 GB, free: 3.668 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.1863, allocations: 338.8 kB / 0.6929 GB, free: 3.328 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.1866, allocations: 207.8 kB / 0.6931 GB, free: 3.125 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.187, allocations: 221.1 kB / 0.6933 GB, free: 2.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007654/0.1878, allocations: 488.4 kB / 0.6937 GB, free: 2.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1878, allocations: 0 / 0.6937 GB, free: 2.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009946/0.1888, allocations: 0.5485 MB / 0.6943 GB, free: 1.875 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1888, allocations: 4 kB / 0.6943 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1888, allocations: 3.984 kB / 0.6943 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1888, allocations: 4 kB / 0.6943 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.1891, allocations: 95.83 kB / 0.6944 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1891, allocations: 0 / 0.6944 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.414e-05/0.1892, allocations: 27.75 kB / 0.6944 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.1893, allocations: 23.98 kB / 0.6944 GB, free: 1.719 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 (43): * Single equations (assignments): 43 * 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.0001472/0.1894, allocations: 158.4 kB / 0.6946 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.702e-05/0.1895, allocations: 23.75 kB / 0.6946 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.1911, allocations: 0.897 MB / 0.6955 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1911, allocations: 7.984 kB / 0.6955 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1911, allocations: 0 / 0.6955 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1911, allocations: 0 / 0.6955 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/0.1916, allocations: 397.1 kB / 0.6959 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1916, allocations: 0 / 0.6959 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.1919, allocations: 99.83 kB / 0.696 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.1919, allocations: 4 kB / 0.696 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/0.1919, allocations: 19.98 kB / 0.696 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.192, allocations: 7.938 kB / 0.696 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.192, allocations: 0 / 0.696 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009246/0.1929, allocations: 0.5968 MB / 0.6966 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.1929, allocations: 104.6 kB / 0.6967 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.193, allocations: 8 kB / 0.6967 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.659e-05/0.1931, allocations: 8 kB / 0.6967 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/0.1931, allocations: 39.89 kB / 0.6967 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/0.1932, allocations: 27.98 kB / 0.6967 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.71e-05/0.1933, allocations: 107.3 kB / 0.6969 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1933, allocations: 7.938 kB / 0.6969 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004814/0.1938, allocations: 187.9 kB / 0.697 GB, free: 14.96 MB / 0.4981 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 (44): * Single equations (assignments): 44 * 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.001662/0.1955, allocations: 1.276 MB / 0.6983 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.1966, allocations: 0.7338 MB / 0.699 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1966, allocations: 4 kB / 0.699 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004374/0.197, allocations: 279.6 kB / 0.6993 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.1973, allocations: 51.95 kB / 0.6993 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.1986, allocations: 0.7186 MB / 0.7 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.199, allocations: 0.7524 MB / 0.7008 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005434/0.1995, allocations: 351.5 kB / 0.7011 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.1997, allocations: 89.47 kB / 0.7012 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.1997, allocations: 0 / 0.7012 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.2234, allocations: 8.048 MB / 0.709 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.723, allocations: 6.141 kB / 0.709 GB, free: 2.891 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe 2>&1)