Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.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_Integrand,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand",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.001115/0.001115, 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.001363/0.001364, allocations: 196.5 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002185/0.002185, allocations: 286.6 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9557/0.9557, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 106.7 kB / 0.5954 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.133, allocations: 86.98 MB / 0.6803 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand): time 0.002274/0.1353, allocations: 1.316 MB / 0.6816 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1364, allocations: 0.7513 MB / 0.6824 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.88e-05/0.1365, allocations: 0 / 0.6824 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.1365, allocations: 3.938 kB / 0.6824 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.71e-05/0.1365, allocations: 7.922 kB / 0.6824 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000478/0.137, allocations: 135.6 kB / 0.6825 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.342e-05/0.1371, allocations: 19.86 kB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.1371, allocations: 4 kB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.061e-05/0.1372, allocations: 11.94 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.31e-05/0.1372, allocations: 7.938 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.1372, allocations: 0 / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003401/0.1375, allocations: 175.7 kB / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.1376, allocations: 0 / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.1376, allocations: 15.92 kB / 0.6827 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.1378, allocations: 112.1 kB / 0.6828 GB, free: 14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1378, allocations: 0 / 0.6828 GB, free: 14 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1378, allocations: 0 / 0.6828 GB, free: 14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1378, allocations: 0 / 0.6828 GB, free: 14 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003216/0.1382, allocations: 359.3 kB / 0.6832 GB, free: 13.6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1382, allocations: 12.03 kB / 0.6832 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.173e-05/0.1382, allocations: 30.75 kB / 0.6832 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.284e-05/0.1383, allocations: 4.938 kB / 0.6832 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.1384, allocations: 164.4 kB / 0.6834 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.1384, allocations: 384 / 0.6834 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-06/0.1384, allocations: 384 / 0.6834 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.17e-05/0.1385, allocations: 41.75 kB / 0.6834 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1385, allocations: 0 / 0.6834 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.1385, allocations: 4 kB / 0.6834 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1385, allocations: 0 / 0.6834 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.872e-05/0.1385, allocations: 4 kB / 0.6834 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.1387, allocations: 153.7 kB / 0.6836 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.334e-05/0.1388, allocations: 30.61 kB / 0.6836 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.384e-05/0.1388, allocations: 8.922 kB / 0.6836 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005242/0.1393, allocations: 138.8 kB / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.1394, allocations: 34.5 kB / 0.6838 GB, free: 12.85 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1394, allocations: 4 kB / 0.6838 GB, free: 12.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001331/0.1395, allocations: 45.59 kB / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.1395, allocations: 55.53 kB / 0.6839 GB, free: 12.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.517e-05/0.1396, allocations: 101.9 kB / 0.684 GB, free: 12.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.1396, allocations: 25.7 kB / 0.684 GB, free: 12.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.1397, allocations: 84.12 kB / 0.6841 GB, free: 12.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.1397, allocations: 11.91 kB / 0.6841 GB, free: 12.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.1397, allocations: 9.719 kB / 0.6841 GB, free: 12.47 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.1398, allocations: 314.8 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.504e-05/0.1399, allocations: 0 / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.173e-05/0.1399, allocations: 15.94 kB / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.067e-05/0.1399, allocations: 12.84 kB / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1399, allocations: 0 / 0.6844 GB, free: 12.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.782e-05/0.14, allocations: 45.64 kB / 0.6845 GB, free: 12.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.14, allocations: 4 kB / 0.6845 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.14, allocations: 3.938 kB / 0.6845 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.14, allocations: 0 / 0.6845 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.309e-05/0.1401, allocations: 4 kB / 0.6845 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1401, allocations: 4.344 kB / 0.6845 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.295e-05/0.1401, allocations: 0 / 0.6845 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1401, allocations: 8 kB / 0.6845 GB, free: 12.05 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 (2): * Single equations (assignments): 2 * 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 6.334e-05/0.1402, allocations: 114.4 kB / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.1402, allocations: 3.938 kB / 0.6846 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.958e-05/0.1403, allocations: 48.81 kB / 0.6847 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1403, allocations: 0 / 0.6847 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1403, allocations: 0 / 0.6847 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.1403, allocations: 0 / 0.6847 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.1404, allocations: 157.7 kB / 0.6848 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1404, allocations: 0 / 0.6848 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.086e-05/0.1405, allocations: 7.938 kB / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1405, allocations: 0 / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.1405, allocations: 4 kB / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1405, allocations: 0 / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1405, allocations: 0 / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.954e-05/0.1406, allocations: 69.48 kB / 0.6849 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.628e-05/0.1406, allocations: 93.02 kB / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.1406, allocations: 0 / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-06/0.1407, allocations: 0 / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.537e-06/0.1407, allocations: 0 / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1407, allocations: 4 kB / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.511e-05/0.1407, allocations: 91.2 kB / 0.6851 GB, free: 11.37 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1407, allocations: 0 / 0.6851 GB, free: 11.37 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.141, allocations: 36 kB / 0.6851 GB, free: 11.33 MB / 494.1 MB 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 (2): * Single equations (assignments): 2 * 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.0005135/0.1415, allocations: 0.6748 MB / 0.6858 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.844e-05/0.1416, allocations: 11.98 kB / 0.6858 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.1416, allocations: 0 / 0.6858 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.337e-05/0.1416, allocations: 11.94 kB / 0.6858 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.1418, allocations: 8.156 kB / 0.6858 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.1421, allocations: 155.2 kB / 0.6859 GB, free: 10.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.1423, allocations: 0.6767 MB / 0.6866 GB, free: 9.699 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.199e-05/0.1424, allocations: 6.109 kB / 0.6866 GB, free: 9.695 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.1424, allocations: 11.42 kB / 0.6866 GB, free: 9.684 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1424, allocations: 0 / 0.6866 GB, free: 9.684 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.1594, allocations: 2.226 MB / 0.6888 GB, free: 7.672 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.575/7.735, allocations: 13.98 kB / 0.6888 GB, free: 7.66 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_fmu --startTime=0.01 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe 2>&1)