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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001696/0.001696, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002054/0.002054, allocations: 191.7 kB / 16.25 MB, free: 6.637 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.379/1.379, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.465/2.465, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 59.91 kB / 0.8689 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5456/0.547, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource): time 0.002129/0.5492, allocations: 1.421 MB / 1.018 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.5509, allocations: 1.332 MB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.93e-05/0.5509, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.271e-05/0.551, allocations: 3.984 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.373e-05/0.5511, allocations: 19.91 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007538/0.5518, allocations: 333.5 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002914/0.5521, allocations: 372.7 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.5522, allocations: 7.938 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.431e-05/0.5523, allocations: 123.9 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.5524, allocations: 191.8 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.1e-05/0.5525, allocations: 24 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006307/0.5531, allocations: 0.4914 MB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.808e-05/0.5532, allocations: 111.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.5533, allocations: 115.5 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005302/0.5539, allocations: 0.5457 MB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.5539, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5539, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.5539, allocations: 0 / 1.022 GB, free: 13.59 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.0006357/0.5545, allocations: 0.5379 MB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.5546, allocations: 8.031 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.27e-05/0.5546, allocations: 50.73 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.5547, allocations: 20.66 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.5548, allocations: 190 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.5549, allocations: 16.38 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.5549, allocations: 16.38 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005181/0.5554, allocations: 333.4 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.5554, allocations: 3.938 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.5555, allocations: 19.94 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.5555, allocations: 4 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003906/0.5594, allocations: 2.926 MB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.5599, allocations: 393.1 kB / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006753/0.5605, allocations: 495.2 kB / 1.027 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.5609, allocations: 240.7 kB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/0.5621, allocations: 0.9235 MB / 1.028 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.5621, allocations: 42.5 kB / 1.028 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=43): time 3.436e-06/0.5621, allocations: 7.984 kB / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43): time 0.001197/0.5633, allocations: 0.7596 MB / 1.029 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.5633, allocations: 55.41 kB / 1.029 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.78e-05/0.5635, allocations: 142.1 kB / 1.029 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.5635, allocations: 33.64 kB / 1.029 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.5635, allocations: 97.12 kB / 1.029 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.5637, allocations: 153.8 kB / 1.029 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.5638, allocations: 93.69 kB / 1.029 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.5639, allocations: 334.8 kB / 1.03 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003021/0.5642, allocations: 207.8 kB / 1.03 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.5645, allocations: 217.2 kB / 1.03 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006797/0.5652, allocations: 489 kB / 1.03 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5652, allocations: 4 kB / 1.03 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008107/0.566, allocations: 0.5516 MB / 1.031 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.566, allocations: 5.562 kB / 1.031 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.566, allocations: 4 kB / 1.031 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.998e-06/0.5661, allocations: 0 / 1.031 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.5663, allocations: 95.89 kB / 1.031 GB, free: 3.805 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.5663, allocations: 0 / 1.031 GB, free: 3.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.177e-05/0.5664, allocations: 31.67 kB / 1.031 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.5665, allocations: 20 kB / 1.031 GB, free: 3.754 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.0001391/0.5666, allocations: 158.3 kB / 1.031 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.5667, allocations: 19.75 kB / 1.031 GB, free: 3.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.5681, allocations: 0.9053 MB / 1.032 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.5681, allocations: 4 kB / 1.032 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5681, allocations: 0 / 1.032 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5681, allocations: 0 / 1.032 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/0.5686, allocations: 405.1 kB / 1.033 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5686, allocations: 0 / 1.033 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.5688, allocations: 103.8 kB / 1.033 GB, free: 2.137 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.5688, allocations: 4 kB / 1.033 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.5689, allocations: 19.98 kB / 1.033 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.5689, allocations: 0 / 1.033 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5689, allocations: 4 kB / 1.033 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008289/0.5697, allocations: 0.5967 MB / 1.033 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.5698, allocations: 104.7 kB / 1.033 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.631e-05/0.5698, allocations: 11.98 kB / 1.033 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.421e-05/0.5699, allocations: 12 kB / 1.033 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.5699, allocations: 31.97 kB / 1.033 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/0.57, allocations: 27.98 kB / 1.033 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.83e-05/0.5701, allocations: 116.7 kB / 1.034 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5701, allocations: 0 / 1.034 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000432/0.5705, allocations: 179.9 kB / 1.034 GB, free: 1 MB / 0.7794 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.001418/0.5719, allocations: 1.281 MB / 1.035 GB, free: 15.69 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009827/0.5729, allocations: 0.7461 MB / 1.036 GB, free: 14.94 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5729, allocations: 0 / 1.036 GB, free: 14.94 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.5733, allocations: 275.7 kB / 1.036 GB, free: 14.67 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.5736, allocations: 55.95 kB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.5746, allocations: 0.7737 MB / 1.037 GB, free: 13.81 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.5749, allocations: 0.7485 MB / 1.038 GB, free: 13.04 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004864/0.5753, allocations: 352.3 kB / 1.038 GB, free: 12.73 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.5755, allocations: 87.41 kB / 1.038 GB, free: 12.64 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.5755, allocations: 0 / 1.038 GB, free: 12.64 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.076/1.651, allocations: 7.96 MB / 1.046 GB, free: 4.988 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/1.651, allocations: 279.2 kB / 1.046 GB, free: 4.609 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/4.152, allocations: 0 / 1.046 GB, free: 4.609 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)