Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent,fileNamePrefix="Buildings_latest_Buildings_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.001225/0.001225, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001444/0.001444, allocations: 195.1 kB / 16.25 MB, free: 6.629 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.381/1.381, allocations: 222.9 MB / 239.9 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.664/2.664, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.86 kB / 0.8988 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2624, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent): time 0.00245/0.2648, allocations: 1.442 MB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001968/0.2668, allocations: 1.351 MB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.2669, allocations: 3.938 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.604e-05/0.2669, allocations: 0 / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.2671, allocations: 11.92 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009323/0.268, allocations: 347.5 kB / 1.056 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.774e-05/0.2681, allocations: 43.86 kB / 1.056 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.876e-05/0.2682, allocations: 7.922 kB / 1.056 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.335e-05/0.2682, allocations: 19.92 kB / 1.056 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.284e-05/0.2683, allocations: 27.91 kB / 1.056 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.2683, allocations: 4 kB / 1.056 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007673/0.2691, allocations: 0.5148 MB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.501e-05/0.2691, allocations: 15.92 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.2692, allocations: 19.92 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005539/0.2697, allocations: 387.2 kB / 1.057 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2697, allocations: 0 / 1.057 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2697, allocations: 4 kB / 1.057 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2697, allocations: 0 / 1.057 GB, free: 4.434 MB / 0.8106 GB 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.0004638/0.2702, allocations: 423.2 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2703, allocations: 12.62 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.938e-05/0.2703, allocations: 30.75 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.2703, allocations: 4.938 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.2704, allocations: 180.2 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.2705, allocations: 384 / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.2705, allocations: 384 / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.2706, allocations: 57.8 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.2706, allocations: 0 / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.2706, allocations: 4 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.2706, allocations: 0 / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.498e-05/0.2707, allocations: 47.91 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.2709, allocations: 173.7 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.601e-05/0.271, allocations: 58.53 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.044e-05/0.2711, allocations: 28.94 kB / 1.058 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.205e-05/0.2711, allocations: 8 kB / 1.058 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.2711, allocations: 38.48 kB / 1.058 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2711, allocations: 0 / 1.058 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002063/0.2714, allocations: 101.5 kB / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.2714, allocations: 51.41 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.387e-05/0.2715, allocations: 113.8 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.2716, allocations: 25.7 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.2716, allocations: 92.12 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.2716, allocations: 11.81 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.2717, allocations: 17.72 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.2718, allocations: 322.8 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.346e-05/0.2718, allocations: 15.98 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.171e-05/0.2718, allocations: 20 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.629e-05/0.2719, allocations: 44.83 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2719, allocations: 0 / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001179/0.2721, allocations: 77.56 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.2721, allocations: 4 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2721, allocations: 0 / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2721, allocations: 3.984 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.075e-05/0.2722, allocations: 8 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.2722, allocations: 4 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.2722, allocations: 11.84 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.2722, allocations: 3.938 kB / 1.058 GB, free: 2.246 MB / 0.8106 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 (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 7.291e-05/0.2723, allocations: 113.8 kB / 1.059 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.2723, allocations: 3.938 kB / 1.059 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.2725, allocations: 108 kB / 1.059 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.2725, allocations: 8 kB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2725, allocations: 3.938 kB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2726, allocations: 4 kB / 1.059 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.2727, allocations: 177.6 kB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2727, allocations: 0 / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/0.2727, allocations: 11.94 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2727, allocations: 0 / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.2728, allocations: 8 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2728, allocations: 0 / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2728, allocations: 0 / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.2729, allocations: 109 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.273, allocations: 92.94 kB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.273, allocations: 4 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.84e-05/0.273, allocations: 0 / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.338e-05/0.273, allocations: 336 / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.273, allocations: 8 kB / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.073e-05/0.2731, allocations: 91.7 kB / 1.059 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2731, allocations: 0 / 1.059 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003792/0.2735, allocations: 115.9 kB / 1.059 GB, free: 1.301 MB / 0.8106 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 (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.0008538/0.2743, allocations: 0.7881 MB / 1.06 GB, free: 496 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.2745, allocations: 51.91 kB / 1.06 GB, free: 444 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2745, allocations: 3.938 kB / 1.06 GB, free: 440 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.109e-05/0.2745, allocations: 27.98 kB / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.2748, allocations: 17.27 kB / 1.06 GB, free: 396 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/0.2753, allocations: 252.1 kB / 1.06 GB, free: 104 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.2756, allocations: 0.6846 MB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.715e-05/0.2756, allocations: 17.2 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.2757, allocations: 19.44 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.2757, allocations: 0 / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.668/3.944, allocations: 3.738 MB / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005009/3.944, allocations: 303.9 kB / 1.065 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.26/8.204, allocations: 6.25 kB / 1.065 GB, free: 11.48 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe 2>&1)