Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,fileNamePrefix="Buildings_10_Buildings_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.000953/0.0009529, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006413/0.006413, allocations: 173.4 kB / 16.27 MB, free: 6.613 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.361/1.361, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.538/2.538, allocations: 437.8 MB / 0.7121 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003798, allocations: 8 kB / 0.873 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6496/0.65, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource): time 0.001408/0.6515, allocations: 1.09 MB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002111/0.6536, allocations: 1.383 MB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.18e-05/0.6537, allocations: 4 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.867e-05/0.6537, allocations: 0 / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.363e-05/0.6538, allocations: 19.89 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007098/0.6545, allocations: 279.3 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000341/0.6549, allocations: 408.6 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.6549, allocations: 7.984 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.655, allocations: 115.9 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.6552, allocations: 191.7 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.388e-05/0.6553, allocations: 23.94 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007169/0.656, allocations: 0.4993 MB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.6561, allocations: 123.7 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.6562, allocations: 141.2 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005665/0.6568, allocations: 0.5284 MB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6568, allocations: 3.938 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6568, allocations: 0 / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.6568, allocations: 0 / 1.028 GB, free: 11 MB / 0.7794 GB 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.0005734/0.6574, allocations: 486.9 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.6575, allocations: 8.031 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.018e-05/0.6576, allocations: 58.73 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.134e-05/0.6576, allocations: 16.75 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.6577, allocations: 197.8 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.6578, allocations: 16.38 kB / 1.029 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.6578, allocations: 16.36 kB / 1.029 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/0.6583, allocations: 333.4 kB / 1.029 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.6584, allocations: 4 kB / 1.029 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.6584, allocations: 4 kB / 1.029 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.6584, allocations: 4 kB / 1.029 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004/0.6624, allocations: 2.933 MB / 1.032 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.6629, allocations: 385.2 kB / 1.032 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007101/0.6636, allocations: 0.4953 MB / 1.033 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.664, allocations: 232.7 kB / 1.033 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00126/0.6652, allocations: 0.9235 MB / 1.034 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.6653, allocations: 42.5 kB / 1.034 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=43): time 1.523e-06/0.6653, allocations: 0 / 1.034 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43): time 0.001233/0.6665, allocations: 0.7673 MB / 1.035 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.6665, allocations: 55.41 kB / 1.035 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.6667, allocations: 146.1 kB / 1.035 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.6667, allocations: 33.7 kB / 1.035 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.6668, allocations: 97.12 kB / 1.035 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.6669, allocations: 149.8 kB / 1.035 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/0.667, allocations: 33.7 kB / 1.035 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.6671, allocations: 338.8 kB / 1.035 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.6674, allocations: 207.8 kB / 1.036 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003177/0.6677, allocations: 217.2 kB / 1.036 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006942/0.6684, allocations: 485.1 kB / 1.036 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6685, allocations: 4 kB / 1.036 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008298/0.6693, allocations: 0.5517 MB / 1.037 GB, free: 1.434 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.6693, allocations: 4 kB / 1.037 GB, free: 1.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.6693, allocations: 0 / 1.037 GB, free: 1.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.6693, allocations: 4 kB / 1.037 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/0.6696, allocations: 95.83 kB / 1.037 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.6697, allocations: 0 / 1.037 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.387e-05/0.6697, allocations: 27.75 kB / 1.037 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/0.6698, allocations: 23.98 kB / 1.037 GB, free: 1.281 MB / 0.7794 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 (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.0001524/0.6699, allocations: 166.3 kB / 1.037 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/0.67, allocations: 19.75 kB / 1.037 GB, free: 1.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.6715, allocations: 0.9014 MB / 1.038 GB, free: 216 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.6715, allocations: 4 kB / 1.038 GB, free: 212 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.6715, allocations: 0 / 1.038 GB, free: 212 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.6715, allocations: 8 kB / 1.038 GB, free: 204 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004398/0.672, allocations: 397.1 kB / 1.038 GB, free: 15.76 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.672, allocations: 0 / 1.038 GB, free: 15.76 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.6722, allocations: 103.8 kB / 1.038 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.6722, allocations: 0 / 1.038 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.6723, allocations: 19.98 kB / 1.039 GB, free: 15.64 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.6723, allocations: 4 kB / 1.039 GB, free: 15.64 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6723, allocations: 0 / 1.039 GB, free: 15.64 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000841/0.6731, allocations: 0.5968 MB / 1.039 GB, free: 15.02 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.6732, allocations: 108.6 kB / 1.039 GB, free: 14.89 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.6733, allocations: 7.984 kB / 1.039 GB, free: 14.89 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.425e-05/0.6733, allocations: 8 kB / 1.039 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.027e-05/0.6734, allocations: 31.97 kB / 1.039 GB, free: 14.85 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/0.6734, allocations: 31.92 kB / 1.039 GB, free: 14.82 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.93e-05/0.6735, allocations: 118.3 kB / 1.039 GB, free: 14.7 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6735, allocations: 0 / 1.039 GB, free: 14.7 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004929/0.674, allocations: 187.9 kB / 1.04 GB, free: 14.52 MB / 0.795 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.001525/0.6755, allocations: 1.276 MB / 1.041 GB, free: 13.21 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007625/0.6763, allocations: 0.4923 MB / 1.041 GB, free: 12.72 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.6763, allocations: 0 / 1.041 GB, free: 12.72 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003848/0.6767, allocations: 287.6 kB / 1.042 GB, free: 12.44 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.677, allocations: 46.02 kB / 1.042 GB, free: 12.39 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.6782, allocations: 0.789 MB / 1.042 GB, free: 11.57 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.6785, allocations: 0.7565 MB / 1.043 GB, free: 10.79 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005178/0.679, allocations: 345.9 kB / 1.043 GB, free: 10.48 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.6792, allocations: 95.39 kB / 1.044 GB, free: 10.39 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.6792, allocations: 0 / 1.044 GB, free: 10.39 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.6971, allocations: 7.593 MB / 1.051 GB, free: 3.102 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/0.6973, allocations: 282.3 kB / 1.051 GB, free: 2.719 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/2.671, allocations: 0 / 1.051 GB, free: 2.719 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe 2>&1)