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.001019/0.001019, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008444/0.008444, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.32/1.32, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001704/0.001704, allocations: 262.8 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.914/0.914, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004297, allocations: 15.25 kB / 0.5988 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1461, allocations: 88.55 MB / 0.6853 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource): time 0.001371/0.1475, allocations: 1.082 MB / 0.6863 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.1495, allocations: 1.36 MB / 0.6877 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.147e-05/0.1496, allocations: 0 / 0.6877 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/0.1496, allocations: 8.422 kB / 0.6877 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.605e-05/0.1497, allocations: 24.44 kB / 0.6877 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007724/0.1505, allocations: 274.5 kB / 0.688 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003607/0.1509, allocations: 409.3 kB / 0.6883 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.1509, allocations: 7.938 kB / 0.6883 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.1511, allocations: 121 kB / 0.6885 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.1513, allocations: 195.7 kB / 0.6887 GB, free: 11.42 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.546e-05/0.1514, allocations: 20 kB / 0.6887 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007878/0.1522, allocations: 0.4976 MB / 0.6892 GB, free: 10.9 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1523, allocations: 107.8 kB / 0.6893 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.1525, allocations: 141.2 kB / 0.6894 GB, free: 10.65 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000692/0.1532, allocations: 0.5301 MB / 0.6899 GB, free: 10.12 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.1532, allocations: 0.5312 kB / 0.6899 GB, free: 10.12 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1532, allocations: 2.406 kB / 0.6899 GB, free: 10.12 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1532, allocations: 0 / 0.6899 GB, free: 10.12 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.0005866/0.1538, allocations: 494.9 kB / 0.6904 GB, free: 9.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.985e-05/0.1539, allocations: 8.031 kB / 0.6904 GB, free: 9.582 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.836e-05/0.1539, allocations: 54.67 kB / 0.6904 GB, free: 9.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.154, allocations: 16.75 kB / 0.6905 GB, free: 9.504 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.1541, allocations: 200.5 kB / 0.6907 GB, free: 9.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.1542, allocations: 13.03 kB / 0.6907 GB, free: 9.258 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-05/0.1542, allocations: 20.31 kB / 0.6907 GB, free: 9.238 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005197/0.1547, allocations: 331 kB / 0.691 GB, free: 8.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1548, allocations: 0 / 0.691 GB, free: 8.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.1548, allocations: 8 kB / 0.691 GB, free: 8.902 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.1548, allocations: 15.08 kB / 0.691 GB, free: 8.891 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004093/0.1589, allocations: 2.926 MB / 0.6939 GB, free: 5.961 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005013/0.1594, allocations: 389.1 kB / 0.6943 GB, free: 5.531 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007324/0.1602, allocations: 0.4913 MB / 0.6947 GB, free: 5.031 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003507/0.1605, allocations: 236.7 kB / 0.695 GB, free: 4.797 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001306/0.1618, allocations: 0.9283 MB / 0.6959 GB, free: 3.707 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.1619, allocations: 42.5 kB / 0.6959 GB, free: 3.656 MB / 494.1 MB Notification: Performance of pre-optimization done (n=43): time 1.513e-06/0.1619, allocations: 0 / 0.6959 GB, free: 3.656 MB / 494.1 MB Notification: Performance of matching and sorting (n=43): time 0.001277/0.1632, allocations: 0.7558 MB / 0.6966 GB, free: 2.895 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.1632, allocations: 59.34 kB / 0.6967 GB, free: 2.824 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.1633, allocations: 144.2 kB / 0.6968 GB, free: 2.672 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.1634, allocations: 37.64 kB / 0.6969 GB, free: 2.629 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.1634, allocations: 97.12 kB / 0.697 GB, free: 2.527 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.1636, allocations: 145.9 kB / 0.6971 GB, free: 2.383 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.079e-05/0.1636, allocations: 41.7 kB / 0.6971 GB, free: 2.336 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1637, allocations: 326.8 kB / 0.6975 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.1641, allocations: 211.8 kB / 0.6977 GB, free: 1.801 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.1644, allocations: 221.1 kB / 0.6979 GB, free: 1.586 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007229/0.1652, allocations: 484.4 kB / 0.6983 GB, free: 1.109 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1652, allocations: 4 kB / 0.6983 GB, free: 1.105 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000857/0.166, allocations: 0.5484 MB / 0.6989 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1661, allocations: 7.984 kB / 0.6989 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1661, allocations: 0 / 0.6989 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.1661, allocations: 0 / 0.6989 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/0.1664, allocations: 99.89 kB / 0.699 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1664, allocations: 0 / 0.699 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.38e-05/0.1665, allocations: 31.69 kB / 0.699 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.1665, allocations: 24 kB / 0.699 GB, free: 400 kB / 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.0001559/0.1667, allocations: 162.4 kB / 0.6992 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.1667, allocations: 27.66 kB / 0.6992 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.1683, allocations: 0.8896 MB / 0.7001 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1683, allocations: 4 kB / 0.7001 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1683, allocations: 0 / 0.7001 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.1683, allocations: 3.984 kB / 0.7001 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004433/0.1688, allocations: 401.1 kB / 0.7005 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1688, allocations: 0 / 0.7005 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.1691, allocations: 103.8 kB / 0.7006 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1691, allocations: 4 kB / 0.7006 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.1691, allocations: 23.94 kB / 0.7006 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1691, allocations: 0 / 0.7006 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1691, allocations: 8 kB / 0.7006 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008631/0.17, allocations: 0.5928 MB / 0.7012 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/0.1701, allocations: 104.7 kB / 0.7013 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.1701, allocations: 12 kB / 0.7013 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.333e-05/0.1702, allocations: 4 kB / 0.7013 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.1702, allocations: 39.95 kB / 0.7013 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.1703, allocations: 20 kB / 0.7013 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.265e-05/0.1704, allocations: 117.4 kB / 0.7015 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1704, allocations: 4 kB / 0.7015 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004752/0.1709, allocations: 184 kB / 0.7016 GB, free: 13.64 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.001579/0.1724, allocations: 1.284 MB / 0.7029 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007641/0.1732, allocations: 0.4917 MB / 0.7034 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1732, allocations: 4 kB / 0.7034 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003961/0.1736, allocations: 279.6 kB / 0.7036 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.1739, allocations: 43.97 kB / 0.7037 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.1751, allocations: 0.787 MB / 0.7045 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.1754, allocations: 0.7605 MB / 0.7052 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005355/0.1759, allocations: 347 kB / 0.7055 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.1761, allocations: 87.41 kB / 0.7056 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.1761, allocations: 4 kB / 0.7056 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.194, allocations: 7.622 MB / 0.7131 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.1942, allocations: 298.7 kB / 0.7133 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/1.977, allocations: 0 / 0.7133 GB, free: 1.816 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)