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.001111/0.001111, allocations: 107.7 kB / 16.37 MB, free: 6.477 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.001123/0.001123, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.288/1.288, 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.002082/0.002082, allocations: 277.7 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.9414/0.9414, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 94.36 kB / 0.5967 GB, free: 14.37 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1446, allocations: 86.97 MB / 0.6816 GB, free: 7.391 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand): time 0.001624/0.1462, allocations: 0.579 MB / 0.6822 GB, free: 6.812 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.1481, allocations: 1.595 MB / 0.6838 GB, free: 5.195 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.1481, allocations: 4 kB / 0.6838 GB, free: 5.191 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.582e-05/0.1481, allocations: 0 / 0.6838 GB, free: 5.191 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.993e-05/0.1482, allocations: 4 kB / 0.6838 GB, free: 5.188 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.1487, allocations: 194.2 kB / 0.684 GB, free: 5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.486e-05/0.1488, allocations: 19.98 kB / 0.684 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.166e-05/0.1488, allocations: 0 / 0.684 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.787e-05/0.1489, allocations: 11.98 kB / 0.684 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.55e-05/0.1489, allocations: 7.938 kB / 0.684 GB, free: 4.961 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.866e-06/0.1489, allocations: 0 / 0.684 GB, free: 4.961 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004302/0.1494, allocations: 291.5 kB / 0.6843 GB, free: 4.676 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.083e-05/0.1494, allocations: 4 kB / 0.6843 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.1494, allocations: 11.92 kB / 0.6843 GB, free: 4.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.1497, allocations: 163.6 kB / 0.6845 GB, free: 4.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1497, allocations: 0 / 0.6845 GB, free: 4.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1497, allocations: 0 / 0.6845 GB, free: 4.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1497, allocations: 0 / 0.6845 GB, free: 4.5 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.0003122/0.15, allocations: 367.4 kB / 0.6848 GB, free: 4.094 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.15, allocations: 12.03 kB / 0.6848 GB, free: 4.082 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008012/0.1508, allocations: 76.8 kB / 0.6849 GB, free: 4.008 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.151, allocations: 168.3 kB / 0.685 GB, free: 3.805 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.151, allocations: 384 / 0.685 GB, free: 3.805 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.151, allocations: 8.297 kB / 0.6851 GB, free: 3.797 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.1512, allocations: 93.91 kB / 0.6851 GB, free: 3.699 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.1512, allocations: 0 / 0.6851 GB, free: 3.699 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1512, allocations: 0 / 0.6851 GB, free: 3.699 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1512, allocations: 3.938 kB / 0.6851 GB, free: 3.695 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.1514, allocations: 83.88 kB / 0.6852 GB, free: 3.613 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.1516, allocations: 177.6 kB / 0.6854 GB, free: 3.391 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.1518, allocations: 86.56 kB / 0.6855 GB, free: 3.297 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.002e-05/0.1518, allocations: 44.89 kB / 0.6855 GB, free: 3.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.1519, allocations: 8 kB / 0.6855 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.1519, allocations: 34.5 kB / 0.6856 GB, free: 3.199 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1519, allocations: 0 / 0.6856 GB, free: 3.199 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003171/0.1522, allocations: 137.6 kB / 0.6857 GB, free: 3.059 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.1522, allocations: 55.41 kB / 0.6857 GB, free: 2.992 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.46e-05/0.1523, allocations: 101.8 kB / 0.6858 GB, free: 2.883 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.1523, allocations: 29.7 kB / 0.6859 GB, free: 2.848 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.043e-05/0.1524, allocations: 84.91 kB / 0.686 GB, free: 2.762 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.1524, allocations: 23.64 kB / 0.686 GB, free: 2.738 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.1525, allocations: 29.69 kB / 0.686 GB, free: 2.703 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.261e-05/0.1526, allocations: 318.8 kB / 0.6863 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.395e-05/0.1526, allocations: 31.95 kB / 0.6863 GB, free: 2.352 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.723e-05/0.1527, allocations: 32.59 kB / 0.6864 GB, free: 2.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.1528, allocations: 76.81 kB / 0.6864 GB, free: 2.242 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1528, allocations: 0 / 0.6864 GB, free: 2.242 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001994/0.153, allocations: 109.6 kB / 0.6865 GB, free: 2.129 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1531, allocations: 11.94 kB / 0.6866 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1531, allocations: 0 / 0.6866 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1531, allocations: 3.938 kB / 0.6866 GB, free: 2.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.1533, allocations: 27.91 kB / 0.6866 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1533, allocations: 0 / 0.6866 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.1534, allocations: 4 kB / 0.6866 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.1534, allocations: 3.984 kB / 0.6866 GB, free: 2.078 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.491e-05/0.1535, allocations: 109.8 kB / 0.6867 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.1535, allocations: 15.83 kB / 0.6867 GB, free: 1.945 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004062/0.154, allocations: 215.9 kB / 0.6869 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.154, allocations: 4 kB / 0.6869 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.154, allocations: 0 / 0.6869 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.154, allocations: 0 / 0.6869 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.1542, allocations: 213.5 kB / 0.6871 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1542, allocations: 0 / 0.6871 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.1543, allocations: 27.92 kB / 0.6872 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1543, allocations: 3.938 kB / 0.6872 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1544, allocations: 8 kB / 0.6872 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1544, allocations: 0 / 0.6872 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1544, allocations: 0 / 0.6872 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.1546, allocations: 196.9 kB / 0.6874 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/0.1547, allocations: 84.98 kB / 0.6874 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.1547, allocations: 4 kB / 0.6874 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.054e-05/0.1548, allocations: 4 kB / 0.6874 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.1548, allocations: 11.92 kB / 0.6875 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.1549, allocations: 8 kB / 0.6875 GB, free: 1.086 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.872e-05/0.1549, allocations: 91.33 kB / 0.6876 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1549, allocations: 0 / 0.6876 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.1552, allocations: 68 kB / 0.6876 GB, free: 0.9297 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.0003123/0.1555, allocations: 183.2 kB / 0.6878 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.1557, allocations: 115.7 kB / 0.6879 GB, free: 0.625 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1557, allocations: 0 / 0.6879 GB, free: 0.625 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.837e-05/0.1558, allocations: 75.97 kB / 0.688 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.156, allocations: 4 kB / 0.688 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.1564, allocations: 220.8 kB / 0.6882 GB, free: 312 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2236/0.38, allocations: 0.6874 MB / 0.6889 GB, free: 17.64 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.3802, allocations: 31.59 kB / 0.6889 GB, free: 17.64 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.777e-05/0.3803, allocations: 18.47 kB / 0.6889 GB, free: 17.63 MB / 494.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3803, allocations: 0 / 0.6889 GB, free: 17.63 MB / 494.1 MB Notification: Performance of Templates: time 0.006528/0.3868, allocations: 2.427 MB / 0.6913 GB, free: 17.57 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.CylindricalHeatSource_Integrand.pipe 2>&1)