Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 117.9 kB / 16.37 MB, free: 6.012 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.001254/0.001254, allocations: 190.4 kB / 17.31 MB, free: 5.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.224/1.224, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002012/0.002013, allocations: 276.2 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8861/0.8861, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 88.23 kB / 0.5967 GB, free: 14.4 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1444, allocations: 86.98 MB / 0.6817 GB, free: 7.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001587/0.146, allocations: 0.5674 MB / 0.6822 GB, free: 6.848 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.1478, allocations: 1.603 MB / 0.6838 GB, free: 5.223 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.761e-05/0.1478, allocations: 0 / 0.6838 GB, free: 5.223 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.203e-05/0.1479, allocations: 0 / 0.6838 GB, free: 5.223 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.771e-05/0.1479, allocations: 0 / 0.6838 GB, free: 5.223 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.1485, allocations: 195.4 kB / 0.684 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.679e-05/0.1485, allocations: 27.91 kB / 0.684 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.17e-05/0.1486, allocations: 0 / 0.684 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.515e-05/0.1486, allocations: 8 kB / 0.684 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.787e-05/0.1486, allocations: 19.91 kB / 0.684 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.1486, allocations: 0 / 0.684 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004147/0.1491, allocations: 275.5 kB / 0.6843 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.271e-05/0.1491, allocations: 7.984 kB / 0.6843 GB, free: 4.699 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.1491, allocations: 11.94 kB / 0.6843 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.1494, allocations: 163.7 kB / 0.6845 GB, free: 4.527 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.1494, allocations: 0 / 0.6845 GB, free: 4.527 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1494, allocations: 0 / 0.6845 GB, free: 4.527 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.1494, allocations: 0 / 0.6845 GB, free: 4.527 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003353/0.1497, allocations: 363.4 kB / 0.6848 GB, free: 4.125 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.1498, allocations: 12.03 kB / 0.6848 GB, free: 4.113 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007429/0.1505, allocations: 76.8 kB / 0.6849 GB, free: 4.039 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.1506, allocations: 172.2 kB / 0.685 GB, free: 3.832 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1507, allocations: 8.375 kB / 0.6851 GB, free: 3.824 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.1507, allocations: 384 / 0.6851 GB, free: 3.824 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1508, allocations: 85.92 kB / 0.6851 GB, free: 3.734 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.1508, allocations: 0 / 0.6851 GB, free: 3.734 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1509, allocations: 0 / 0.6851 GB, free: 3.734 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1509, allocations: 3.984 kB / 0.6851 GB, free: 3.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.1511, allocations: 79.88 kB / 0.6852 GB, free: 3.652 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001992/0.1513, allocations: 181.6 kB / 0.6854 GB, free: 3.426 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.1515, allocations: 90.52 kB / 0.6855 GB, free: 3.328 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.497e-05/0.1515, allocations: 44.95 kB / 0.6855 GB, free: 3.281 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.1515, allocations: 0 / 0.6855 GB, free: 3.281 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.1516, allocations: 38.5 kB / 0.6856 GB, free: 3.234 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.1516, allocations: 0 / 0.6856 GB, free: 3.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003021/0.1519, allocations: 141.6 kB / 0.6857 GB, free: 3.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.1519, allocations: 55.34 kB / 0.6857 GB, free: 3.023 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.061e-05/0.152, allocations: 101.8 kB / 0.6858 GB, free: 2.914 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.152, allocations: 33.7 kB / 0.6859 GB, free: 2.875 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.961e-05/0.1521, allocations: 80.91 kB / 0.686 GB, free: 2.793 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.1521, allocations: 31.62 kB / 0.686 GB, free: 2.762 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.1521, allocations: 21.64 kB / 0.686 GB, free: 2.734 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.976e-05/0.1522, allocations: 322.8 kB / 0.6863 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.555e-05/0.1523, allocations: 27.97 kB / 0.6863 GB, free: 2.383 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-05/0.1524, allocations: 27.97 kB / 0.6864 GB, free: 2.355 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.1525, allocations: 76.81 kB / 0.6864 GB, free: 2.277 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1525, allocations: 4 kB / 0.6864 GB, free: 2.273 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001958/0.1527, allocations: 113.5 kB / 0.6865 GB, free: 2.156 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1527, allocations: 11.94 kB / 0.6866 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1527, allocations: 0 / 0.6866 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.1528, allocations: 3.938 kB / 0.6866 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.1529, allocations: 15.97 kB / 0.6866 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1529, allocations: 4.688 kB / 0.6866 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1531, allocations: 0 / 0.6866 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.1531, allocations: 7.984 kB / 0.6866 GB, free: 2.113 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 (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 prepare postOptimizeDAE: time 7.586e-05/0.1532, allocations: 117.8 kB / 0.6867 GB, free: 1.988 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.1532, allocations: 11.84 kB / 0.6867 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003724/0.1536, allocations: 213 kB / 0.6869 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1536, allocations: 4 kB / 0.6869 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1536, allocations: 4 kB / 0.6869 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1536, allocations: 0 / 0.6869 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.1537, allocations: 213.5 kB / 0.6871 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1538, allocations: 0 / 0.6871 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.1539, allocations: 31.98 kB / 0.6872 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.1539, allocations: 7.922 kB / 0.6872 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1539, allocations: 4 kB / 0.6872 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1539, allocations: 4 kB / 0.6872 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.154, allocations: 0 / 0.6872 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.1542, allocations: 191.7 kB / 0.6874 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.1542, allocations: 85.05 kB / 0.6874 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.1543, allocations: 0 / 0.6874 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-05/0.1544, allocations: 12 kB / 0.6875 GB, free: 1.129 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.1544, allocations: 7.984 kB / 0.6875 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.1544, allocations: 4 kB / 0.6875 GB, free: 1.117 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.351e-05/0.1544, allocations: 87.27 kB / 0.6875 GB, free: 1.031 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1544, allocations: 0 / 0.6875 GB, free: 1.031 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.1547, allocations: 67.98 kB / 0.6876 GB, free: 0.9648 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 (16): * Single equations (assignments): 16 * 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.0003037/0.155, allocations: 191.2 kB / 0.6878 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.1552, allocations: 111.7 kB / 0.6879 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1552, allocations: 0 / 0.6879 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.1553, allocations: 75.91 kB / 0.688 GB, free: 0.582 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.1555, allocations: 4 kB / 0.688 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.1559, allocations: 216.8 kB / 0.6882 GB, free: 348 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2184/0.3743, allocations: 0.6904 MB / 0.6889 GB, free: 17.65 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.3745, allocations: 25.73 kB / 0.6889 GB, free: 17.65 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.049e-05/0.3745, allocations: 18.48 kB / 0.6889 GB, free: 17.64 MB / 494.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3745, allocations: 0.5 kB / 0.6889 GB, free: 17.64 MB / 494.1 MB Notification: Performance of Templates: time 0.005102/0.3797, allocations: 2.435 MB / 0.6913 GB, free: 17.59 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1)